@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 Code | Account Name | Receive | Payments |
|---|---|---|---|
| Opening CashInHand: | |||
| Opening CashAtBank: | {{number_format($totalReceive_previous - $totalPayments_previous, 2)}} | ||
| Opening CashInHand: | |||
| Opening CashAtBank: | {{number_format($totalPayments_previous - $totalReceive_previous , 2)}} | ||
| {{ $account->account_code ?? '' }} | {{ $account->name }} | {{ number_format($account->receive, 2) }} | {{ number_format($account->payments, 2) }} |
| --}} {{-- | Closing CashInHand: | --}} {{----}} {{-- | --}} {{-- |
| --}} {{-- | Closing CashAtBank: | --}} {{----}} {{-- | {{number_format($diff_receive , 2)}} | --}} {{--
| --}} {{-- | Closing CashInHand: | --}} {{----}} {{-- | --}} {{-- |
| --}} {{-- | Closing CashAtBank: | --}} {{----}} {{-- | {{number_format($diff_payment,2)}} | --}} {{--
| Total | --}} {{--{{ $totalReceive }} | --}} {{--{{ $totalPayments + $diff_receive}} | --}} {{--|
| Closing CashInHand: | |||
| Closing CashAtBank: | {{ number_format($diff_receive > 0 ? $diff_receive : $diff_payment, 2) }} | ||
| Total | {{ $totalReceive }} | {{ $totalPayments + $diff_receive }} | |