@extends('staff.layouts.master') @section('content')

All Courier List Add Courier

@csrf
 
 
 
 
@csrf
 
 
@forelse($courierList as $key=>$courier) @if($courier->receiver_branch_id == Auth::user()->branch_id && $courier->status== 'Delivered') @else @endif @empty @endforelse
SL Invoice Id Courier Code Sender Name Sender Phone Recipient Branch Recipient Name Recipient Phone Receive Status Action
{{ $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->status== 'Delivered') @else

Received at
[ {{ $courier->created_at->toDateString() }} ]

@endif
@if($courier->status == 'Delivered') {{ $courier->status }} @else {{ $courier->status }} @endif
No Information
{{ $courierList->appends(['search'=>request()->search,'start_date'=>request()->start_date,'end_date'=>request()->end_date])->links() }}
@endsection