@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)) }} {{ __($general->cur_text) }} |
@endforeach
@endforeach
@lang('Total Fare') |
{{ showAmount($totalFare) }} {{ __($general->cur_text) }} |
@if (!$extraService)
@if ($booking->cancellation_fee > 0)
@lang('Cancellation Fee') |
{{ showAmount($booking->cancellation_fee) }} {{ __($general->cur_text) }} |
@endif
{{ __($general->tax_name) }} |
{{ showAmount($booking->tax_charge) }} {{ __($general->cur_text) }} |
@if ($booking->extraCharge() > 0)
@lang('Other Charges') |
{{ showAmount($booking->extraCharge()) }} {{ __($general->cur_text) }} |
@endif
@lang('Total') |
{{ showAmount($booking->total_amount) }} {{ __($general->cur_text) }} |
@if ($due > 0)
@lang('Due') |
{{ showAmount($due) }} {{ __($general->cur_text) }} |
@elseif($due < 0)
@lang('Refundable') |
{{ showAmount(abs($due)) }} {{ __($general->cur_text) }} |
@endif
@endif
@if ($extraService)
@php
$extraServices = $booking->usedExtraService->groupBy('service_date');
@endphp
@lang('Billing Details')
@lang('Total Fare') |
{{ showAmount($totalFare) }} {{ __($general->cur_text) }} |
@if ($booking->cancellation_fee > 0)
@lang('Cancellation Fee') |
{{ showAmount($booking->cancellation_fee) }} {{ __($general->cur_text) }} |
@endif
{{ __($general->tax_name) }} @lang('Charge') |
{{ showAmount($booking->tax_charge) }} {{ __($general->cur_text) }} |
@lang('Service Charge') |
{{ showAmount($booking->service_cost) }} {{ __($general->cur_text) }} |
@if ($booking->extraCharge() > 0)
@lang('Other Charges') |
{{ showAmount($booking->extraCharge()) }} {{ __($general->cur_text) }} |
@endif
@lang('Total') |
{{ showAmount($booking->total_amount) }} {{ __($general->cur_text) }} |
@if ($due > 0)
@lang('Due') |
{{ showAmount($due) }} {{ __($general->cur_text) }} |
@elseif($due < 0)
@lang('Refundable') |
{{ showAmount(abs($due)) }} {{ __($general->cur_text) }} |
@endif
@endif