Manage Client
{{ session()->get('success') }}
@endif
Client itinerary list
| Invoice | Client | Date | Sub Total | Due Payment | Action |
|---|---|---|---|---|---|
| {{ $data->invoice }} | {{ $data->name }} | @php $lastRecord = \App\Models\HotelBooking::where('tourb_id', $data->id) ->orderBy('date', 'DESC') ->first(); $firstRecord = \App\Models\HotelBooking::where('tourb_id', $data->id) ->orderBy('date', 'ASC') ->latest() ->first(); @endphp {{ $firstRecord->date ?? '' }} to {{ $lastRecord->date ?? '' }} | {{ $data->subtotal }} | {{ $data->total_due }} | Edit Itinerary @if ($data->total_due != 0) Full payment @endif @if ($data->status == '0') Select Driver @elseif ($data->status == '1') Complete @endif |