@php $getUserRoleData = userRoleData(); $Leads = explode(",",$getUserRoleData->Leads); $send_customer_reciept = explode(",",$getUserRoleData->send_customer_reciept); @endphp
@if(in_array("View",$Leads )) @if(in_array("Edit",$Leads ) || in_array("Delete",$Leads )) @endif @if(count((array) $result['leads'])>0) @foreach ($result['leads'] as $rsVal) mark_as_suspicious == "0") style="background-color:red; color:white" @endif> @if(in_array("Edit",$Leads ) || in_array("Delete",$Leads )) @endif @endforeach @else @endif
#{{ trans('ID') }} {{ trans('Customer Name') }} {{ trans('Telephone') }} {{ trans('Product') }} {{ trans('Quantity') }} {{ trans('Status') }} {{ trans('Assigned to') }} {{ trans('Tracking Number') }}{{ trans('Action') }}
{{ $rsVal->id }} @if(count((array) $rsVal['customers'])>0) mark_as_suspicious == "0") style=" color:white" @endif> {{ $rsVal['customers']->customers_firstname }} {{ $rsVal['customers']->customers_lastname }} @endif @if(count((array) $rsVal['customers'])>0) {{ $rsVal['customers']->customers_telephone}}@endif @if(count((array) $rsVal['products'])>0){{ $rsVal['products']->name}}@endif {{ $rsVal->quantity}} {{ $rsVal->status}} @if(count((array) $rsVal['assigned_to_user'])>0){{ $rsVal['assigned_to_user']->first_name}} {{ $rsVal['assigned_to_user']->last_name}}@endif @if(!empty($rsVal->tracking_number)){{ $rsVal->tracking_number}}@endif @if(in_array("Edit",$Leads )) @if($rsVal->status != "Converted") @endif @endif @if(in_array("View",$Leads )) @endif @if(in_array("Delete",$Leads )) @endif @if(!empty($rsVal->image_name) && in_array("ShippingCreate",$Leads)) @endif @if(in_array("View",$send_customer_reciept ) && !empty($rsVal['customers']->customers_email_address)) @endif
No record found
{{ $result['leads']->appends($_GET)->links() }}
@else

Please contact with SuperAdmin

@endif