@php $getUserRoleData = userRoleData(); $Accounts = explode(",",$getUserRoleData->Accounts); @endphp
@if(in_array("View",$Accounts )) @if(in_array("Edit",$Accounts ) || in_array("Delete",$Accounts )) @endif @if(count((array) $result['accountsData'])>0) @foreach ($result['accountsData'] as $rsVal) mark_as_suspicious == "0") style="background-color:red; color:white" @endif> @if(in_array("Edit",$Accounts ) || in_array("Delete",$Accounts )) @endif @endforeach @else @endif
{{ trans('Accounts Number') }} {{ trans('Customer Name') }} {{ trans('Phone') }} {{ trans('Status') }} {{ trans('Assigned to') }} {{ trans('Created Date') }}{{ trans('Action') }}
mark_as_suspicious == "0") style=" color:white" @endif> #{{ $rsVal->name }} @if(count((array) $rsVal['customers'])){{ $rsVal['customers']->customers_firstname }} {{ $rsVal['customers']->customers_lastname }}@endif @if(count((array) $rsVal['customers'])){{ $rsVal['customers']->customers_telephone}}@endif {{ $rsVal['account_status']->name}} @if(count((array) $rsVal['assigned_to_user'])){{ $rsVal['assigned_to_user']->first_name}} {{ $rsVal['assigned_to_user']->last_name}}@endif {{ date('d-m-Y H:i:s', strtotime($rsVal->created_at))}} @if(in_array("Edit",$Accounts )) @endif @if(in_array("View",$Accounts )) @endif @if(in_array("Delete",$Accounts )) @endif
No record found
{{ $result['accountsData']->appends($_GET)->links() }}
@else

Please contact with SuperAdmin

@endif