Guest Account Balance
Report Printed on: {{date('l, F d, Y')}} Printed By : {{\Auth::user()->nama}} |
Report Date: {{date('d-m-Y', strtotime($date))}} |
Name | RmNo | BillNo | Description | Prev Balance | Debit | Credit | Balance | Arrival | Transaction Date | |
---|---|---|---|---|---|---|---|---|---|---|
{{ $index_bill == 0 ? $item_bill['name'] : '' }} | {{ $index_bill == 0 ? $item_bill['rmno'] : '' }} | {{ $index_bill == 0 ? $item_bill['billno'] : '' }} | {{ $item_bill['description'] }} | {{ ribuanWithComma(array_sum($item_bill['prev_balance'])) }} @php $total_prev_balance += array_sum($item_bill['prev_balance']); @endphp | {{ ribuanWithComma(array_sum($item_bill['debit'])) }} @php $total_debit += array_sum($item_bill['debit']); $summaries[$key]['label'] = $item_bill['description']; $summaries[$key]['debit'][] = array_sum($item_bill['debit']); @endphp | {{ ribuanWithComma(array_sum($item_bill['credit']) * -1) }} @php $total_edit += array_sum($item_bill['credit']); $summaries[$key]['credit'][] = array_sum($item_bill['credit']) * -1; @endphp | @php $balance += array_sum($item_bill['prev_balance']) + array_sum($item_bill['debit']) + array_sum($item_bill['credit']); $bill_balance += $balance; @endphp {{ ribuanWithComma($balance) }} | {{ $item_bill['arrival'] }} | {{ $item_bill['departure'] }} | {{ $item_bill['transaction_date'] }} |
Total | {{ribuanWithComma($total_prev_balance)}} | {{ribuanWithComma($total_debit)}} | {{ribuanWithComma($total_edit * -1)}} | {{ribuanWithComma($total_balance)}} | ||||||
Outstanding | {{ribuanWithComma($total_balance)}} | |||||||||
Stored Guest Ledger Amount | {{ribuanWithComma($total_balance)}} | |||||||||
Summary Of Transaction | ||||||||||
{{ $summary['label'] }} | {{ ribuanWithComma(array_sum($summary['debit'])) }} | {{ ribuanWithComma(array_sum($summary['credit'])) }} | {{ ribuanWithComma(array_sum($summary['debit']) - array_sum($summary['credit'])) }} | |||||||
Total | {{ ribuanWithComma($total_summary_debit) }} | {{ ribuanWithComma($total_summary_credit) }} | {{ ribuanWithComma($total_summary_debit - $total_summary_credit) }} | |||||||
{{ $key }} | {{ ribuanWithComma(array_sum($edit_summary)) }} | {{ ribuanWithComma(array_sum($balance_summaries[$key])) }} | ||||||||
Tidak Ada Transaksi Hari Ini |