@if($invoice) @endif
*** COPY GUEST BILL ***
@php $gelar = ""; @endphp @if (is_object($invoice->bookings)) @if (in_array(@$invoice->bookings->jns_kelamin,['Laki-laki','LAKI-LAKI','laki-laki'])) @php $gelar = 'Bapak'; @endphp @elseif (@$invoice->bookings->jns_kelamin == null) @php $gelar = 'Bapak / Ibu'; @endphp @else @php $gelar = 'Ibu'; @endphp @endif @endif {{$invoice->bookings ? ($invoice->bookings->title.'. ' ?? $gelar) : ''}} {{$invoice->nama_pelanggan == "" ? '-' : $invoice->nama_pelanggan}}
Company : {{@$invoice->hotel->nama}}
{{-- --}}
Room Number : @php $no_kamar_detail = ''; @endphp @if(is_object($invoice->bookings)) @if(count($invoice->bookings->bookingDetails) > 0) @foreach($invoice->bookings->bookingDetails as $booking_detail) @php $no_kamar_detail .= $booking_detail->nomor_kamar.', '; @endphp @endforeach @endif @endif {{ rtrim($no_kamar_detail, ', ') }}
Arrival Date : {{@$invoice->bookings->checkin ? date('d-m-Y', strtotime(@$invoice->bookings->checkin)) : '-'}}
Departure Date : {{@$invoice->bookings->checkout ? date('d-m-Y',strtotime(@$invoice->bookings->checkout)) : '-'}}
Bill No. : {{$invoice->no_invoice}}
Printed Date: {{date('Y F d / H:i')}}: {{date('d-m-Y')}}

{{-- --}} @if($invoice) @if(!$invoice_details->isEmpty() || !$booking_deposits->isEmpty() || !$transactions->isEmpty()) @php $i = 1; @endphp @if (is_object($invoice_details)) @foreach ($invoice_details as $detail) @php $i++; if ($detail->booking_deposit_id) { $balance_due -= $detail->total; } else { $balance_due += $detail->total; } @endphp @endforeach @endif @if (is_object($booking_deposits)) @foreach ($booking_deposits as $booking_deposit) @php $i++; $balance_due -= $booking_deposit->nominal; @endphp @endforeach @endif @if (is_object($transactions)) @foreach ($transactions as $transaction) @php $i++; $balance_due += $transaction->grand_total; @endphp @endforeach @endif @else @endif @endif
Date RmNo Qty Description / VoucherPer ItemTotal
{{date('d-m-Y',strtotime($detail->date))}} @if ($detail->room_no != null) {{$detail->room_no}} @else @foreach ($detail->invoice->bookings->bookingDetails as $bookdetail) {{$bookdetail->nomor_kamar}} @if (!$loop->last) , @endif @endforeach @endif {{@$detail->qty}} {{@$detail->description}} Rp {{number_format($detail->total, 0, ",", ".")}}
{{date('d-m-Y',strtotime($booking_deposit->transaction_date))}} @if ($booking_deposit->nomor_kamar != null) {{$booking_deposit->nomor_kamar}} @else @foreach ($booking_deposit->booking->bookingDetails as $bookdetail) {{$bookdetail->nomor_kamar}} @if (!$loop->last) , @endif @endforeach @endif Pembayaran Cash A.N {{@$booking_deposit->nama}} Rp {{number_format($booking_deposit->nominal, 0, ",", ".")}}
{{date('d-m-Y',strtotime($transaction->transaction_date))}} {{ @$transaction->kamar->no_kamar }} {{@$transaction->jumlah}} {{ @$transaction->menu ? @$transaction->menu->nama : $transaction->keterangan_custom }} Rp {{number_format($transaction->grand_total, 0, ",", ".")}}
Tidak Ada Data
 
  Balance Due : Rp {{number_format($balance_due, 0, ",", ".")}}

I agree that my liability for this bill is waived and agree to be held personally in the event that the indicated person, company or association fails to pay for any part or full amount of this charge

Saya menyetujui bahwa hutang saya yang tersebut diatas bersifat mengikat dan apabila orang atau perusahaan atau asosiasi dimakasud gagal melunasi sebagian atau seluruh jumlah dari biaya diatas maka saya akan bertanggung jawab sepenuhnya atas tagihan tersebut

Cashier Guest Signature








{{@$invoice->hotel->nama}}

{{@$invoice->hotel->alamat}}

 

p.{{@$invoice->hotel->telp}}

f.{{@$invoice->hotel->fax}}

e.{{@$invoice->hotel->email}}

 

@{{@$invoice->hotel->sosmed}}
{{@$invoice->hotel->email}}

{{-- --}}