@php $company = DB::table('gnr_company')->first(); $cashLedger = DB::table('acc_account_ledger')->where('accountTypeId', 4)->where('isGroupHead', 0)->where('status', 1)->first(); @endphp
| {{ $company->name }} | ||||||
|---|---|---|---|---|---|---|
| {{ $company->address }} | ||||||
| Receipt Payment Statement | ||||||
| Project : {{ $headInfo['project']}} | ||||||
| Project Type : {{ $headInfo['projectType']}} | ||||||
| Branch : {{ $headInfo['branch']}} | ||||||
| Voucher Type: {{ $headInfo['cashType'] == 'cash' ? 'Cash' : 'Non Cash' }} | ||||||
| Report On : {{ $headInfo['dateTo'] }} | ||||||
| ID | LEDGER | LEDGER CODES | CREDIT/RECEIPT | DEBIT/PAYMENT | ||
| {{ $ledger['id'] }} | {{ $ledger['name'] }} | {{ $ledger['code'] }} | {{ $ledger['receipt_column_2'] }} | {{ $ledger['payment_column_2'] }} | {{--{{ number_format($ledger['receipt_column_2']) }} | {{ number_format($ledger['payment_column_2']) }} | --}}
| {{ $cashLedger->id }} | {{ $cashLedger->name }} | {{ $cashLedger->code }} | 0 | {{ $headInfo['closingBalance'] }} | ||