{{ __('From Date') }} : {{ $from }}
{{ __('To Date') }} : {{ $to }}
| {{ __('Debit') }} | {{ __('Credit') }} | {{ __('Debit Balance') }} | {{ __('Credit Balance') }} | {{ __('Statement') }} | {{ __('Date') }} | {{ __('Document Number') }} | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $opening_balance < 0 ? number_format(abs($opening_balance), 2) : '' }} | {{ $opening_balance > 0 ? number_format($opening_balance, 2) : '' }} | {{ __('Opening Balance') }} | {{ $from }} | |||||||||||
| 0 | {{ number_format($invoice_total, 2) }} | {{ $current_balance < 0 ? number_format(abs($current_balance), 2) : '' }} | {{ $current_balance > 0 ? number_format($current_balance, 2) : '' }} |
{{ __('Purchase Invoice') }} #{{ $invoice_number }}
|
{{ \Carbon\Carbon::parse($invoice_date)->format('Y-m-d') }} | {{ $invoice_number }} | ||||||||
| {{ number_format($payment->amount, 2) }} | 0 | {{ $current_balance < 0 ? number_format(abs($current_balance), 2) : '' }} | {{ $current_balance > 0 ? number_format($current_balance, 2) : '' }} |
{{ __('Payment Voucher') }} #{{ $payment->voucher_number }}
{{ __('Payment Method') }}: {{ $payment->payment_method }}
{{ __('Reference') }}: {{ $payment->reference }} |
{{ \Carbon\Carbon::parse($payment->date)->format('Y-m-d') }} | {{ $payment->voucher_number }} | ||||||||
| {{ number_format($total_debit, 2) }} | {{ number_format($total_credit, 2) }} | {{ __('Total') }} | ||||||||||||
| @if($current_balance < 0) {{ number_format(abs($current_balance), 2) }} @endif | @if($current_balance > 0) {{ number_format($current_balance, 2) }} @endif | {{ __('Final Balance') }}: {{ $current_balance > 0 ? __('Credit Balance') : __('Debit Balance') }} |