@php $status = 'warning'; $status_name = 'inactive'; switch ($data->status) { case 0: $status = 'warning'; $status_name = __('message.inactive'); break; case 1: $status = 'success'; $status_name = __('message.active'); break; } @endphp {{$status_name}}
{{ auth()->user()->hasRole('admin') ? maskSensitiveInfo('email',optional($data)->email) : maskSensitiveInfo('email',optional($data)->email) }}
{{ auth()->user()->hasRole('admin') ? maskSensitiveInfo('contact_number',optional($data)->contact_number) : maskSensitiveInfo('contact_number',optional($data)->contact_number) }}
{{ auth()->user()->hasRole('admin') ? optional($data->city)->name : maskSensitiveInfo('city',optional($data->city)->name) }}
,{{ auth()->user()->hasRole('admin') ? optional($data->country)->name : maskSensitiveInfo('country',optional($data->country)->name) }}
{{ __('message.app_version') . ' : ' . (auth()->user()->hasRole('admin') ? ($data->app_version ? : '0') : '0')}}
{{ __('message.app_source') . ' : ' . (auth()->user()->hasRole('admin') ? ($data->app_source ? : 'N/A') : 'N/A')}}
{{ __('message.last_active') . ' : ' . (auth()->user()->hasRole('admin') ? (dateAgoFormate($data->last_actived_at) ? : 'N/A') : 'N/A')}}
| {{ __('message.type') }} | {{ __('message.is_auto_verified') }} | {{ __('message.verified_date') }} | {{ __('message.action') }} |
|---|---|---|---|
| {{__('message.email')}} | {{ ($user->is_autoverified_email == 1 ? 'yes' :'no') }} | {{ dateAgoFormate($user->email_verified_at) }} | @if($user->email_verified_at !=null) @else {{'-'}} @endif |
| {{__('message.mobile')}} | {{ ($user->is_autoverified_mobile == 1 ? 'yes' :'no') }} | {{ dateAgoFormate($user->otp_verify_at) }} | @if($user->otp_verify_at !=null) @else {{'-'}} @endif |
{{ __('message.wallet_total_balance') }}
| {{ __('message.order_id') }} | {{ __('message.transaction_type') }} | {{ __('message.amount') }} | {{ __('message.date') }} | |||||
|---|---|---|---|---|---|---|---|---|
| {{ optional($value)->order_id }} | @php $key = str_replace('_', ' ', ucwords($value->transaction_type ?? '-', '_')); @endphp{{$key}} | {{ getPriceFormat($value->amount) ?? '-' }} | {{ dateAgoFormate($value->created_at) ?? '-' }} | |||||
| {{ __('message.no_record_found') }} | ||||||||
| {{ __('message.order_id') }} | {{ __('message.pickup_address') }} | {{ __('message.delivery_address') }} | {{ __('message.delivery_man') }} | {{ __('message.pickup_date') }} | {{ __('message.delivery_date') }} | {{ __('message.invoice') }} | {{ __('message.created_at') }} | {{ __('message.status') }} | {{ __('message.is_return') }} | {{ __('message.assign') }} | {{ __('message.action') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ optional($orders)->id }} | - | - | {{ optional($orders->delivery_man)->name ?? '-' }} | {{ dateAgoFormate($orders->pickup_datetime) ?? '-' }} | {{ dateAgoFormate($orders->delivery_datetime) ?? '-' }} | @if(optional($orders)->status == 'completed') @else N/A @endif | {{ dateAgoFormate($orders->created_at) ?? '-' }} | {{ __('message.'.$order_status) }} | @php $parentOrderIds = $orders->pluck('parent_order_id')->toArray(); @endphp @if (in_array($orders->id, $parentOrderIds)) @else {{'-'}} @endif | @if($orders->deleted_at) {{ __('message.order_deleted') }} @elseif($orders->status === 'cancelled') {{ __('message.order_cancelled') }} @elseif($orders->status === 'draft') {{ __('message.order_draft') }} @elseif($orders->status === 'completed') {{ __('message.order_completed') }} @elseif($orders->delivery_man_id === null) {{ __('message.assign') }} @else {{ __('message.transfer') }} @endif | |
| {{ __('message.no_record_found') }} | |||||||||||
| {{ __('message.id') }} | {{ __('message.traking_no') }} | {{ __('message.prof_value') }} | {{ __('message.detail') }} | {{ __('message.status') }} | {{ __('message.action') }} |
|---|---|---|---|---|---|
| {{ $value->id ?? '-'}} | {{ $value->traking_no ?? '-' }} | @php $shortText = strlen($value->prof_value) > 30 ? substr($value->prof_value, 0, 30) . '...' : $value->prof_value; @endphp{{ $shortText ?? '-' }} | @php $shortdetails = strlen($value->detail) > 30 ? substr($value->detail, 0, 30) . '...' : $value->detail; @endphp{{ $shortdetails ?? '-' }} | {{ $status_name }} |