@include('Commonheader')
@php /*echo '';
print_r($groupedReservations);
echo '';*/
@endphp
@foreach($groupedReservations as $resid => $reservationGroup)
@php
$reservation = $reservationGroup->first(); // get first row for header info
$totalRooms = $reservationGroup->sum('roomqty');
$totalAdults = $reservationGroup->sum('adult') + $reservationGroup->sum('extrapax');
$totalChilds = $reservationGroup->sum('child');
$subTotal = $reservationGroup->sum('total');
$totalGST = $reservationGroup->sum('gst');
$totalDiscount = $reservationGroup->sum('discount_amt');
$advancePaid = $reservationGroup->sum('advance');
@endphp
![]() |
| Hotel Development |
| No. 118, Anna Salai, Manickam Ln, Guindy, Chennai - 600032 Phone: +91 98414 16638 | Email: info@bluebase.in |
| Reservation Details | |
| Reservation No | {{ $reservation->resno }} |
|---|---|
| Reservation Date | {{ $reservation->booking_date }} |
| Arrival Date | {{ $reservation->arrival_date }} |
| Departure Date | {{ $reservation->departure_date }} |
| No. of Days | {{ $reservation->nights }} |
| No. of Rooms | {{ $totalRooms }} |
| No. of Guests | Adults: {{ $totalAdults }} | Child: {{ $totalChilds }} |
| Booking Status | {{ $reservation->stage }} |
| Guest Information | |
| Guest Name | {{ $reservation->guest_firstname.' '.$reservation->guest_lastname }} |
|---|---|
| City | {{ $reservation->city }} |
| Mobile | {{ $reservation->phoneno }} |
| {{ $reservation->email }} | |
| Special Requests | {{ $reservation->special_instructions ?? 'N/A' }} |
| Room Tariff Details | ||||||||
| Room Type | Qty | Days | Adult | Child | Extra Person | Rate | GST | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $room->roomtype }} ({{ $room->mealplan }}) | {{ $room->roomqty }} | {{ $room->nights }} | {{ $room->adult }} | {{ $room->child }} | {{ $room->extrapax }} | {{ number_format($room->net, 2) }} | {{ number_format($room->gst, 2) }} | {{ number_format($room->total, 2) }} |
| Sub Total | {{ number_format($subTotal, 2) }} | |||||||
| Total GST | {{ number_format($totalGST, 2) }} | |||||||
| Discount | {{ number_format($totalDiscount, 2) }} | |||||||
| Grand Total | {{ number_format($subTotal + $totalGST - $totalDiscount, 2) }} | |||||||
| Advance Paid | {{ number_format($advancePaid, 2) }} | |||||||
| Balance Total | {{ number_format($subTotal + $totalGST - $totalDiscount - $advancePaid, 2) }} | |||||||
| General Instructions |
We appreciate your stay with us! |