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

Customer Receipt

@include('main.print_head')
{{$voucherhead}}

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

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


@php $dramount = $cramount = 0; @endphp @foreach($invoicerow as $row) @endforeach
Account Name Description Reference Debit Credit
{{$row->master_name}} {{$row->description}} {{$row->reference}} @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)}}




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