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

Search Courier

@csrf
@if(isset($courierList))
@forelse($courierList as $courier) @empty @endforelse
Invoice Id Courier Code Sender Name Sender Phone Recipient Branch Recipient Name Recipient Phone Status Action
{{ $courier->invoice_id }} {{ $courier->code }} {{ $courier->sender_name }} {{ $courier->sender_phone }} {{ $courier->receiver_branch->name }} {{ $courier->receiver_name }} {{ $courier->receiver_phone }} {{ $courier->payment_status }} @if($courier->receiver_branch_id == Auth::user()->branch_id) @if($courier->status == 'Received' && $courier->payment_status=='Paid') @elseif($courier->status=='Received' && $courier->payment_status=='Unpaid') @else {{ $courier->status }} @endif @else {{ $courier->status }} @endif
No Information
@endif
@endsection