@extends('layouts.app') @section('title') {{'Received & Payment Report'}} @endsection @section('content') @include('layouts.numbertowords')
| S.L. | Date | Voucher No. | A/C Name | Particulars | Receipt(BDT) | Payment(BDT) |
|---|---|---|---|---|---|---|
| {{ $i++ }} | {{date('d-F-Y', strtotime($data->txn_date))}} | {{ $data->customer_id == 24 ? 'RV#' : 'PV#'}}{{ $data->voucher_no }} | {{ $data->name }} | {{ $data->type_id }} | {{ $data->customer_id == 24 ? number_format($data->amount,2) : '' }} | {{ $data->customer_id == 23 ? number_format($data->amount,2) : '' }} |
| Grand Total = | {{ number_format($total_receipt,2) }} | {{ number_format($total_payment,2) }} | ||||