@extends('layouts.master') @section('title', 'Cash & Bank Book') @section('page-header') Cash & Bank Book Report @stop @push('style') @endpush @section('content')
From : {{ fdate(request('from'), 'd/m/Y') }}
To : {{ fdate(request('to'), 'd/m/Y') }}
@elseif(fdate(request('to') ?? today(), 'd/m/Y'))As On {{ fdate(request('to') ?? today(), 'd/m/Y') }}
@endif| Voucher No | Account Name | Description | Cash | Bank | ||
|---|---|---|---|---|---|---|
| Receipt | Payment | Receipt | Payment | |||
| Opening Balance | 0.00 | {{number_format( $main_opening_balance,2)}} | ||||
| {{$voucher_details->voucher->invoice_no ?? ''}} | {{$voucher_details->account->name ?? ''}} | {{$voucher_details->voucher_description ?? "N/A"}} | {{($voucher_data->v_payment_type == 'Cash' && $voucher_details->balance_type == "Credit") ? number_format($voucher_details->amount,2):''}} | {{($voucher_data->v_payment_type == 'Cash' && $voucher_details->balance_type == "Debit") ? number_format($voucher_details->amount,2):''}} | {{($voucher_data->v_payment_type == 'Bank' && $voucher_details->balance_type == "Credit") ? number_format($voucher_details->amount,2):''}} | {{($voucher_data->v_payment_type == 'Bank' && $voucher_details->balance_type == "Debit" ) ? number_format($voucher_details->amount,2):''}} |
| Total | {{number_format($totalCash_receipt,2)}} | {{number_format($totalCash_payment,2)}} | {{number_format($totalBank_receipt + $main_opening_balance,2) }} | {{number_format($totalBank_payment,2)}} | ||
| Closing Balance | 0.00 | {{number_format( $totalBank_receipt + $main_opening_balance - $totalBank_payment,2) }} | ||||