@extends('layouts.master') @section('css') @endsection @section('title') Day Book Summary @endsection @section('content')
Opening Balance |
|
| {{ $ledger->name }} | opening_cr_dr == 'Cr') style="color: red;" @endif> @if ($ledger->opening_cr_dr == 'Cr') - @endif {{ $ledger->openingBalance }} ({{ $ledger->opening_cr_dr }}) |
| Total | {{ $total_opening }} ({{ $total_opening_cr_dr }}) |
Receipt |
| @php $creditLedgerName = \App\Models\Ledger::find( $exist[0]->credit_ledger_id, )->name; @endphp {{ $creditLedgerName }} | {{ $exist->sum('amount') }} |
| Multiple Entry | {{ $ledgerDebitMultiple->sum('amount') }} |
| Total | {{ $total }} |
Payment |
| @php $debitLedgerName = \App\Models\Ledger::find( $exist[0]->debit_ledger_id, )->name; @endphp {{ $debitLedgerName }} | {{ $exist->sum('amount') }} |
| Multiple Entry | {{ $ledgerCreditMultiple->sum('amount') }} |
| Total | {{ $total }} |
Closing Balance |
|
| {{ $ledger->name }} | opening_cr_dr == 'Cr') style="color: red;" @endif> @if ($ledger->opening_cr_dr == 'Cr') - @endif {{ $ledger->closingBalance }} ({{ $ledger->closing_cr_dr }}) |
| Total | {{ $total_closing }} ({{ $total_closing_cr_dr }}) |