@extends('backend.partials.master') @section('title') {{ ___('admin.ledger_1aa2f3') }} @endsection @section('maincontent') @include('backend.accounting.partials._filters', ['accounts' => $accounts, 'selected' => $selected]) @forelse($groups as $g)

{{ $g['account']->code }} — {{ $g['account']->name }}

{{ admin_label($g['account']->type) }}
@foreach($g['rows'] as $row) @endforeach
{{ ___('admin.date_eb9a4b') }}{{ ___('admin.particulars_d7b506') }}{{ ___('admin.against_2d19e3') }}{{ ___('admin.reference_db1c78') }} {{ ___('admin.debit_cf5589') }}{{ ___('admin.credit_8a45d3') }}{{ ___('admin.balance_90eef6') }}
{{ ___('admin.opening_balance_7622a7') }} {{ currency_symbol() }}{{ number_format($g['opening'], 2) }}
{{ $row['txn']->txn_date?->format('Y-m-d') }} {{ $row['txn']->description }} {{ $row['against'] }} {{ $row['txn']->reference }} {{ $row['debit'] ? currency_symbol().number_format($row['debit'], 2) : '—' }} {{ $row['credit'] ? currency_symbol().number_format($row['credit'], 2) : '—' }} {{ currency_symbol() }}{{ number_format($row['balance'], 2) }}
{{ ___('admin.closing_76a032') }} {{ currency_symbol() }}{{ number_format($g['debit'], 2) }} {{ currency_symbol() }}{{ number_format($g['credit'], 2) }} {{ currency_symbol() }}{{ number_format($g['closing'], 2) }}
@empty
{{ ___('alert.no_data_available') }}
@endforelse
@endsection