Route: {{ $from }} - {{ $to }}
Bus: {{ $bus }}
Driver: {{ $driver }}
{{-- Bus: {{ $bus }}
Driver: {{ $driver }}
--}}
{{--
--}}
--}}
{{-- Route: {{ $from }} - {{ $to }}
--}} {{-- Bus: {{ $bus }}
--}} {{-- Driver: {{ $driver }}--}} {{--
--}}
{{-- --}} {{-- Bus: {{ $bus }}
--}} {{-- Driver: {{ $driver }}--}} {{--
SN | Passenger Name | Gender | Mobile | Seat | Agent | Price (TZS) | Reference | Date Issued | Time Issued |
---|---|---|---|---|---|---|---|---|---|
{{$index + $bookings->firstItem()}} | {{$booking->fullname}} | @php if($booking->gender == "Male"){ echo "M"; }else if($booking->gender == "Female"){ echo "F"; } @endphp | {{$booking->msisdn}} | {{ !empty(\App\Models\BusSeat::where(['id' => $booking->seat_id])->first()->naming) ? \App\Models\BusSeat::where(['id' => $booking->seat_id])->first()->naming:'N/A' }} | @if($booking->agent_id == 0) TiketiGala @else {{ \App\Models\Agent::where(['id' => $booking->agent_id])->first()->name }} @endif | {{ $booking->fare }} | {{$booking->reference}} | @php $xx = date('d-m-Y', strtotime($booking->booking_date)); echo $xx; @endphp | @php $yy = date('H:i:s', strtotime($booking->created_at)); echo $yy; @endphp |