@extends('layouts/default') {{-- Page title --}} @section('title') Invoice @parent @stop {{-- page level styles --}} @section('header_styles') @stop {{-- Page content --}} @section('content')

Customer Receipt

{{Session::get('company')}}
{{$voucherhead}}

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

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


Received with thanks from M/S. {{$name}} the sum of Dhs. {{$amtwords}} against invoice nos: {{$refnos}}.


Mode of Receipt: @php $dramount = $cramount = 0; @endphp @foreach($invoicerow as $row) @endforeach
Account Name Description Reference Cheque No. Cheque Date Bank Debit Credit
{{$row->master_name}} {{$row->description}} {{$row->reference}} {{($row->master_name=='PDC RECEIVED' || $row->master_name=='BANK')?$row->cheque_no:''}} {{($row->master_name=='PDC RECEIVED' || $row->master_name=='BANK')?date('d-m-Y',strtotime($row->cheque_date)):''}} {{($row->master_name=='PDC RECEIVED' || $row->master_name=='BANK')?$row->name:''}} @if($row->entry_type=='Dr'){{number_format($row->amount,2)}} @php $dramount += $row->amount; @endphp @endif @if($row->entry_type=='Cr'){{number_format($row->amount,2)}} @php $cramount += $row->amount; @endphp @endif
Total: {{number_format($dramount,2)}} {{number_format($cramount,2)}}

Description: {{$details->tr_description}}


Received by: Accountant: Approved by:

@include('layouts.right_sidebar')
@stop {{-- page level scripts --}} @section('footer_scripts') @stop