@lang('Room\'s Details')
| @lang('Room No.') |
@lang('Room Type') |
@lang('Fare') |
@php
$activeBookedRooms = $booking->activeBookedRooms->groupBy('booked_for');
$totalFare = $booking->activeBookedRooms->sum('fare');
@endphp
@foreach ($activeBookedRooms as $key => $item)
|
{{ __(showDateTime($key, 'd M, Y')) }}
|
@foreach ($item as $booked)
| {{ __($booked->room->room_number) }} |
{{ __($booked->room->roomType->name) }} |
{{ __(showAmount($booked->fare)) }} |
@endforeach
@endforeach
| @lang('Total Fare') |
{{ showAmount($totalFare) }} |
@if (!$premiumService)
@if ($booking->cancellation_fee > 0)
| @lang('Cancellation Fee') |
{{ showAmount($booking->cancellation_fee) }} |
@endif
| {{ __(gs()->tax_name) }} |
{{ showAmount($booking->tax_charge) }} |
@if ($booking->extraCharge() > 0)
| @lang('Other Charges') |
{{ showAmount($booking->extraCharge()) }} |
@endif
| @lang('Total') |
{{ showAmount($booking->total_amount) }} |
@if ($due > 0)
| @lang('Due') |
{{ showAmount($due) }} |
@elseif($due < 0)
| @lang('Refundable') |
{{ showAmount(abs($due)) }} |
@endif
@endif
@if ($premiumService)
@php
$premiumServices = $booking->usedPremiumService->groupBy('service_date');
@endphp
@lang('Billing Details')
| @lang('Total Fare') |
{{ showAmount($totalFare) }} |
@if ($booking->cancellation_fee > 0)
| @lang('Cancellation Fee') |
{{ showAmount($booking->cancellation_fee) }} |
@endif
| {{ __(gs()->tax_name) }} @lang('Charge') |
{{ showAmount($booking->tax_charge) }} |
| @lang('Service Charge') |
{{ showAmount($booking->service_cost) }} |
@if ($booking->extraCharge() > 0)
| @lang('Other Charges') |
{{ showAmount($booking->extraCharge()) }} |
@endif
| @lang('Total') |
{{ showAmount($booking->total_amount) }} |
@if ($due > 0)
| @lang('Due') |
{{ showAmount($due) }} |
@elseif($due < 0)
| @lang('Refundable') |
{{ showAmount(abs($due)) }} |
@endif
@endif