@extends('layouts.master') @section('title', 'Receive-Payment') @section('page-header') Receive-Payment @stop @push('style') @endpush @section('content')
From : {{ fdate(request('from'), 'd/m/Y') }}
To : {{ fdate(request('to'), 'd/m/Y') }}
@elseif(fdate(request('to') ?? today(), 'd/m/Y'))As On {{ fdate(request('to') ?? today(), 'd/m/Y') }}
@endif| Account Name | Receive | Payments |
|---|---|---|
| Opening cashInHand: | 0.00 | |
| Opening cashAtBank: | {{number_format($opening_balance + $previous_accountGroups,2)}} | |
| {{ $account->name }} | {{ number_format($account->receive, 2) }} | {{ number_format($account->payments, 2) }} |
| Closing CashInHand: | 0.00 | |
| Closing CashInBank: | {{number_format(($closing_balance = $totalReceive + $opening_balance + $previous_accountGroups - $totalPayments),2) }} | |
| Total | {{ number_format($totalReceive + $opening_balance + $previous_accountGroups, 2) }} | {{ number_format($totalPayments + $closing_balance, 2) }} |