Booking
--}} {{-- --}} {{--| From | --}} {{--To | --}} {{--Model | --}} {{--Vehicle No. | --}} {{--Duration | --}} {{--Price | --}} {{--Expense | --}} {{--
|---|---|---|---|---|---|---|
| {{$detail['from_city']??''}} | --}} {{--{{$detail['to_city']??''}} | --}} {{--{{ucfirst($detail['model']??'')}} | --}} {{--{{$vehicle['registration_no']??''}} | --}} {{--{{date('d-m-Y',strtotime($detail['date']??'')) .' '.$detail['time']??''}} - {{date('d-m-Y',strtotime($detail['to_date']??'')) .' '.$detail['to_time']??''}} | --}} {{--{{number_format($row['price_sar'])}} | --}} {{--{{number_format($expense)}} | --}} {{-- @php($tr_total = $row['price_sar']+$tr_total)--}} {{-- @php($total_expense += $expense)--}} {{--
| No record found | --}} {{--||||||
| Total (in {{config('constants.currency_symbol')}}) | --}} {{--{{number_format($tr_total)}} | --}} {{--{{ number_format($total_expense) }} | --}} {{--||||
| # | --}} {{--Service | --}} {{--Type | --}} {{--Time | --}} {{--Status | --}} {{--
|---|---|---|---|---|
| {{$track_counter++}} | --}} {{----}}
{{-- {{ucfirst($service['detail']['from_city']??'')}} - {{ucfirst($service['detail']['to_city']??'') }}--}}
{{-- --}}
{{-- {{\App\Models\Vehicle::find($service['detail']['vehicle_id']??0)?->registration_no??''}}--}} {{-- --}} {{-- | --}}
{{-- CheckIn | --}} {{--{{ isset($service['checkin_at']) ? \Carbon\Carbon::parse($service['checkin_at'])->format('d-m-Y h:i a') : '' }} | --}} {{----}} {{-- --}} {{-- | --}} {{--
| --}} {{-- | Checkout | --}} {{--{{ isset($service['checkout_at']) ? \Carbon\Carbon::parse($service['checkout_at'])->format('d-m-Y h:i a') : '' }} | --}} {{----}} {{-- --}} {{-- | --}} {{--|