@extends('master') @section('title') Booking @endsection @section('content')
@if (Session::has('success'))
@elseif (Session::has('danger'))
@endif
Booking List
Add Booking
@if (Auth::user()->role == 'Agent' || Auth::user()->role == 'Admin') @endif @if (auth()->user()->role == 'Admin') @endif @foreach ($booking as $data) @if (auth()->user()->role == 'Agent' || auth()->user()->role == 'Admin') @else @endif @if (auth()->user()->role == 'Admin') @endif @endforeach
Track No Origin Destination Weight(KG) Charge Shiper Consignee Amount CollectedStatusAction
{{ $data->booking_no }} {{ $data->origins->name ?? '' }} {{ $data->destinations->name ?? '' }} {{ $data->weight ?? '' }} {{ $data->charge }} {{ $data->shipper }} {{ $data->consignee }} {{ $data->bill_amount }} {{ $data->collect_amount }}{{ $data->status }}
@endsection