@extends('layouts.master') @section('content')
Inquiry {{-- Add Airline --}} {{-- Forms --}} {{-- Form Layouts --}}

Inquiry List Add Inquiry

{{--

--}} {{--
--}}
{{--
--}}
{{-- --}} @foreach ($inquiry as $key => $inq) @php $inquiry_type = App\inquirytypes::where('type_id', $inq->inquiry_type)->first(); $customer = App\Customer::where('id_customers', $inq->customer_id)->first(); $user = App\User::where('id', $inq->saleperson)->first(); @endphp {{-- {{dd($user)}} --}} {{-- @php $get_city = App\cities::where('id', $cus->city_id)->first(); @endphp --}} {{-- --}} @endforeach {{-- --}}
ID # Customer Name Inquiry Type Inquiry For Status Created By Created At Customer Cell Sale Person Sales Reference Remarks Cancel Reason Confirmed Customer Email Customer Cell 2 Updated AtAction
{{ $key + 1 }} {{ $inq->customer_name }}{{ $inquiry_type->type_name }} {{ $inq->customer_phone2 }} @if ($inq->status == 1) Active @else De-Active @endif {{ $inq->created_by }} 01-01-1970 {{ $customer->customer_cell }}@if($user!=null) {{$user->name}} @endif {{ $inq->sales_reference }} {{ $inq->remarks }} {{ $inq->customer_address }} {{ $inq->customer_address }} {{ $customer->customer_email }} {{ $customer->customer_phone1 }} @if ($get_city != null) {{ $get_city->name }} @else @endif 01-01-1970
ID # Customer Name Inquiry Type Inquiry For Status Created By Created At Customer Cell Sale Person Sales Reference Remarks Cancel Reason Confirmed Customer Email Customer Cell 2 Updated AtAction
{{--
--}}
{{--
--}} @endsection @push('scripts') @endpush