{{--
--}}
{{--
--}}
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 At | {{--Action | --}}|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $key + 1 }} | {{ $inq->customer_name }} | @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{{ $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 }} | {{-- {{dd($user)}} --}}@if($user!=null) {{$user->name}} @endif | {{ $inq->sales_reference }} | {{ $inq->remarks }} | {{ $inq->customer_address }} | {{ $inq->customer_address }} | {{ $customer->customer_email }} | {{ $customer->customer_phone1 }} | {{-- @php $get_city = App\cities::where('id', $cus->city_id)->first(); @endphp --}} {{--@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 At | {{--Action | --}}