*** Invoice ***
@if($invoice->department) @endif
To: {{ $invoice->company == '-' ? $invoice->name : $invoice->company}}
{{ $invoice->department }}
{{ $invoice->address }}
Invoice Number : {{ $invoice->no_invoice }}
Date : {{ date('d-m-Y', strtotime($invoice->created_date)) }}
Due Date : {{ date('d-m-Y', strtotime($invoice->due_date)) }}

{{-- --}} @php $total=0; @endphp {{-- @foreach($invoice->arInvoiceDetails as $invoice_detail) @php $total += $invoice_detail->debt_amount; @endphp @endforeach --}} @foreach($invoice->arInvoiceDetails as $invoice_detail) @php $total += $invoice_detail->debt_amount; @endphp @endforeach
Transaction Date Bill Number Bill Name Amount
Arrival Departure Bill No Room No Guest Name Voucher No Amount
{{ date('d-m-Y', strtotime($invoice_detail->transaction_date)) }} {{ $invoice_detail->bill_no }} {{ $invoice_detail->bill_name }} {{ ribuanWithComma($invoice_detail->debt_amount) }}
{{ $invoice_detail->arrival ? ( date('d-m-Y', strtotime($invoice_detail->arrival)) == '01-01-1970' ? '-' : date('d-m-Y', strtotime($invoice_detail->arrival)) ) : '-' }} {{ $invoice_detail->departure ? ( date('d-m-Y', strtotime($invoice_detail->departure)) == '01-01-1970' ? '-' : date('d-m-Y', strtotime($invoice_detail->departure)) ) : '-' }} {{ $invoice_detail->bill_no }} {{ $invoice_detail->room_no }} {{ $invoice_detail->bill_name }} {{ $invoice_detail->voucher_no }} {{ ribuanWithComma($invoice_detail->debt_amount) }}
In Word: * {{ penyebut2($total) }} {{ ribuanWithComma($total) }}
{{--
In Word: * {{ penyebut2($total) }} {{ ribuanWithComma($total) }}
--}}
IDR Account
Account Name : {{ @$invoice->hotel->rekeningHotels[0]->atas_nama }}
Bank Name : {{ @$invoice->hotel->rekeningHotels[0]->nama_bank }}
Account Number : {{ @$invoice->hotel->rekeningHotels[0]->rekening }}
Cashier Guest Signature



Account Receivable



Chief Accountant

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

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

 

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

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

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

 

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