| SL |
Invoice Id |
Courier Code |
Sender Name |
Sender Phone |
Recipient Branch |
Recipient Name |
Recipient Phone |
Receive |
Status |
Action |
@forelse($courierList as $key=>$courier)
| {{ $key+1 }} |
{{ $courier->invoice_id }} |
{{ App\Model\CourierProductInfo::where('courier_info_id',$courier->id)->first()->courier_code }}
|
{{ $courier->sender_name }} |
{{ $courier->sender_phone }} |
{{ $courier->branch->name }} |
{{ $courier->receiver_name }} |
{{ $courier->receiver_phone }} |
@if($courier->receiver_branch_id == Auth::user()->branch_id && $courier->status== 'Delivered')
|
@else
@if($courier->status== 'Delivered')
@else
Received at [ {{ $courier->created_at->toDateString() }} ]
@endif
|
@endif
@if($courier->status == 'Delivered')
{{ $courier->status }}
@else
{{ $courier->status }}
@endif
|
|
@empty
| No Information |
@endforelse
{{ $courierList->appends(['search'=>request()->search,'start_date'=>request()->start_date,'end_date'=>request()->end_date])->links() }}