@yield('header_styles') @yield('horizontal_header')
@include('main.print_head')
TRN No: {{Session::get('vatno')}}
{{$voucherhead}}

PV. No: {{$details->voucher_no}}

Date: {{date('d-m-Y',strtotime($details->voucher_date))}}


@php $craccount = $descr = $cheque_no = $cheque_date = $payname = ''; @endphp @foreach($invoicerow as $row) @if($row->entry_type=='Cr') @php $craccount = $row->master_name; $descr = $row->description; $cheque_no = $row->cheque_no; $cheque_date = $row->cheque_date; $payname = $row->name; $amount = $row->amount; @endphp @else @php $name = $row->master_name; @endphp @endif @endforeach

Paid to M/s. {{$name}} the sum of {{$currency}} {{$amtwords}} against invoice nos: {{$refnos}}.


Mode of Payment: @if($disarr) @endif
Credit Account Amount Cheque No. Cheque Date Paid at
{{$craccount}} {{number_format($amount,2)}} {{$cheque_no}} {{$payname}}
{{$disarr->master_name}} {{number_format($disarr->amount,2)}}

Invoice Details: @php $amount = 0; $description = ''; @endphp @foreach($invoicerow as $row) @if($row->entry_type=='Dr') @php $amount += $row->amount; $description = $row->description; @endphp @endif @endforeach
Account Name Invoice No Invoice Date Invoice Amount
{{$row->master_name}} {{$row->reference}} {{($row->reference!='' && $row->voucher_date!='')?date('d-m-Y',strtotime($row->voucher_date)):date('d-m-Y',strtotime($details->voucher_date))}} {{number_format($row->amount,2)}}
Total: {{number_format($amount,2)}}

Description: {{($details->tr_description!='')?$details->tr_description:$description}}


Prepared by: Received by: Approved by:

{{-- page level scripts --}} @section('footer_scripts') @stop