{{$i+1}} |
{{$booking->passenger}} |
{{$booking->msisdn}} |
{{$booking->gender}} |
{{-- {{$booking->age}} | --}}
{{-- {{$booking->ID_no}} | --}}
{{$booking->trip_date}} {{$booking->departure}} |
{{$booking->seat}} |
{{$booking->agent}}
|
@if($booking->status == 2)
Booking
@elseif($booking->status == 3)
PAID CASH
@elseif($booking->status == 4)
PAID ONLINE
@elseif($booking->status == 5)
On-Hold
@elseif($booking->status == 1)
Available
@else
N/A
@endif
|
{{$booking->origin}}-{{$booking->destination}} |
{{$booking->fare}} |
{{$booking->reference}} |
{{$booking->label}} |
{{$booking->updated_at}} |
@if(\Illuminate\Support\Facades\Auth::user()->role == 1 || \Illuminate\Support\Facades\Auth::user()->role == 2)
{{ \App\Models\Company::where(['id' => $booking->company])->first()->name }} |
@endif
@if($booking->status == 2)
@if($booking->is_deleted == 0)
{!! Form::open(array(
'style' => 'display: inline-block;',
'method' => 'GET',
'onsubmit' => "return confirm('".trans("Are sure you want to Cancel Booking")."');",
'route' => ['Cancel Booking', $booking->booking_id])) !!}
{!! Form::submit('Cancel', array('class' => 'btn btn-sm btn-danger')) !!}
{!! Form::close() !!}
@else
{!! Form::open(array(
'style' => 'display: inline-block;',
'method' => 'GET',
'onsubmit' => "return confirm('".trans("Are sure you want to Enable")."');",
'route' => ['Enable Booking', $booking->booking_id])) !!}
{!! Form::submit('Enable', array('class' => 'btn btn-sm btn-success')) !!}
{!! Form::close() !!}
@endif
@endif
{{-- {!! Form::open(array(--}}
{{-- 'style' => 'display: inline-block;',--}}
{{-- 'method' => 'POST',--}}
{{-- 'route' => ['Ticket SMS', $booking->id])) !!}--}}
{{-- {!! Form::submit('SMS', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-info')) !!}--}}
{{-- {!! Form::close() !!}--}}
sms
|
@endforeach