{{-- Top Info (Vertical Layout) --}}
Type: |
{{ $voucherDetails[0]->VoucherType }} |
ID: |
{{ $voucherDetails[0]->Id }} |
Site: |
{{ $voucherDetails[0]->Paid_To }} |
Date: |
{{ \Carbon\Carbon::parse($voucherDetails[0]->VoucherDate)->format('d-m-Y') }} |
{{-- Voucher Table --}}
Account # |
Account Title |
Remarks |
Debit |
Credit |
@foreach($voucherDetails as $detail)
{{ $detail->Account_Id }} |
{{ $detail->Account_Title }} |
{{ $detail->Entry_Narration }} |
@if($detail->entryType == 'D')
{{ number_format($detail->Amount, 2) }}
@endif
|
@if($detail->entryType == 'C')
{{ number_format($detail->Amount, 2) }}
@endif
|
@endforeach
Totals |
{{ number_format($totalDebit, 2) }} |
{{ number_format($totalCredit, 2) }} |
Amount in Words: Rupees {{ convertNumberToWords(round($totalDebit)) }} Only
|
{{-- Signatures --}}
Prepared By |
Approved By |
Received By |
{{-- Buttons --}}
{{-- Footer Note --}}
Note: All borders and lines are graphical for printing purposes.
{{-- Print Function --}}
@endsection