Booking No | Room No | Guest Name | C / In | C / Out | Telephone |
---|---|---|---|---|---|
{{ $BookingId ? $BookingId: '' }} | {{ $RoomName ? $RoomName: '' }} | {{ $GuestName ? $GuestName: '' }} | {{ $checkIn ? $checkIn: '' }} | {{ $checkOut ? $checkOut: '' }} | {{ $GuestTelephone ? $GuestTelephone: '' }} |
Date | Charge Type | {{--Description | --}}Amount | GST | Bed Tax | Total | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $folio['FolioDate'] }} | @php if(App\Helpers\CurrentAccommodation::name() == 'Marco Polo Resort Skardu'){ $tamount = $folio['Amount'] ; $newAmount = 0; $nAmount = 0; } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Attabad Lake'){ $tamount = $folio['Amount'] ; $newAmount = 0; $nAmount = 0; } elseif(App\Helpers\CurrentAccommodation::name() == 'Cherry Inn Skardu'){ $tamount = $folio['Amount'] ; $newAmount = 0; $nAmount = 0; } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Lower Kachura Lake'){ $tamount = $folio['Amount'] ; $newAmount = 0; $nAmount = 0; } elseif(App\Helpers\CurrentAccommodation::name() == 'Marco Polo Resort Kaghan'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Frontier'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Mahodand Lake'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Shogran'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Naraan'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Wild Life Camping'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Mushkpuri'){ $tamount = $folio['Amount']/1.15 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } else{ $tamount = $folio['Amount']/1.16 ; $newAmount = $folio['Amount'] - $tamount; $nAmount = floor($newAmount); } @endphp{{ $folio['Description'] }} | @if(App\Helpers\CurrentAccommodation::name() == 'Marco Polo Resort Skardu'){{ round($folio['Amount'] , 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Attabad Lake'){{ round($folio['Amount'] , 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Cherry Inn Skardu'){{ round($folio['Amount'] , 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Lower Kachura Lake'){{ round($folio['Amount'] , 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Marco Polo Resort Kaghan'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Frontier'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Mahodand Lake'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Shogran'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Naraan'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Wild Life Camping'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @elseif(App\Helpers\CurrentAccommodation::name() == 'Orangeloft Mushkpuri'){{ round($folio['Amount'] / 1.15, 2) ?: '-' }} | @else{{ round($folio['Amount'] / 1.16, 2) ?: '-' }} | @endif @php $amount += $folio['Amount']; @endphp {{--{{ $chargeType ? $chargeType->ChargeTypeName: 'no type' }} | --}}{{round($newAmount, 2)}} | {{ 00.00 }} | {{ $folio['Amount'] }} |
Grand Total: | @php echo $amount; // $balance += $folio['Balance']; @endphp |
Date | Payment Method | Amount | |
---|---|---|---|
{{ $folio['FolioDate'] }} | @if($folio['Operator'] == '-') @php foreach($paymentTypes as $paymentType) { if($paymentType->PaymentTypeId == $folio['PaymentTypeId']) { $paymentMethod = $paymentType->PaymentTypeName; break; } else { $paymentMethod = "None"; } } @endphp{{ $paymentMethod}} | @else{{ $paymentMethod }} | @endif{{round($folio['Amount'], 2)}} | @php $total += $folio['Amount']; @endphp
Grand Total: | @php echo $total; @endphp | ||
Balance: | @php echo round($amount - $total, 2); @endphp |
Guest
Cashier
Guest
Cashier