@php $logs = $subscription->logs()->with('delivery_man')->latest()->paginate(config('default_pagination'))->withQueryString(); @endphp
{{translate('messages.#')}} | {{translate('messages.time')}} | {{translate('messages.status')}} | {{translate('messages.Delivery Man')}} | |
---|---|---|---|---|
{{$key+$logs->firstItem()}} | @if (isset($log->{$log->order_status})){{date('Y-m-d '.config('timeformat'), strtotime($log->{$log->order_status}))}} | @else{{date('Y-m-d '.config('timeformat'), strtotime($log->updated_at))}} | @endif{{$log->order_status}} | @if ($log->delivery_man) {{ $log->delivery_man->f_name.' '.$log->delivery_man->l_name }} @else {{ translate('messages.Delivery Man Not Found') }} @endif |