@extends('layouts.master') @section('title','Category Wise Transaction Ledger') @push('style') @endpush @section('content')
| Sl | Account Group | Account Control | Account Subsidiary | Account Name | Opening. | Dr. | Cr. | Balance |
|---|---|---|---|---|---|---|---|---|
| NO RECORDS FOUND! | ||||||||
| {{ $sl++ }} | {{ $accountGroup->name }} | {{ $accountControl->name }} | {{ $accountSubsidiary->name }} | {{ $account->name }} | {{ number_format($account->opening_balance ?? 0, 2) }} | {{ number_format(abs($account->debit ?? 0), 2) }} | {{ number_format($account->credit ?? 0, 2) }} | {{ number_format($balance ?? 0, 2) }} |
| Total: | {{ number_format(abs($totalOpeningBalance), 2) }} | {{ number_format(abs($totalDebit), 2) }} | {{ number_format($totalCredit, 2) }} | {{ number_format(($totalOpeningBalance + $totalDebit + $totalCredit), 2) }} | ||||