@extends('backend.partials.master') @section('title') {{ ___('admin.trial_balance_3ee9b0') }} @endsection @section('maincontent') @include('backend.accounting.partials._filters') {{-- A trial balance is only worth reading if it proves itself, so the check sits at the top of the page rather than being left to the reader. --}}
@if($balanced) {{ ___('admin.balanced_2f904b') }} {{ ___('admin.debits_and_credits_both_total_d5ded0') }} {{ currency_symbol() }}{{ number_format($totalDebit, 2) }}. @else {{ ___('admin.out_of_balance_by_16a7b2') }} {{ currency_symbol() }}{{ number_format(abs($difference), 2) }}. {{ ___('admin.debits_f54762') }} {{ currency_symbol() }}{{ number_format($totalDebit, 2) }} {{ ___('admin.vs_credits_c0df72') }} {{ currency_symbol() }}{{ number_format($totalCredit, 2) }} {{ ___('admin.some_entry_is_missing_its_second_leg_b5e13c') }} @endif
@foreach($rows as $r) @endforeach
{{ ___('admin.code_adac69') }}{{ ___('admin.account_85dfa3') }}{{ ___('admin.type_3deb74') }} {{ ___('admin.opening_56e440') }} {{ ___('admin.debit_cf5589') }} {{ ___('admin.credit_8a45d3') }} {{ ___('admin.closing_dr_fc599b') }} {{ ___('admin.closing_cr_b3d6bc') }}
{{ $r['account']->code }} {{ $r['account']->name }} {{ admin_label($r['account']->type) }} {{ currency_symbol() }}{{ number_format($r['opening'], 2) }} {{ $r['debit'] ? currency_symbol().number_format($r['debit'], 2) : '—' }} {{ $r['credit'] ? currency_symbol().number_format($r['credit'], 2) : '—' }} {{ $r['is_debit'] ? currency_symbol().number_format(abs($r['closing']), 2) : '—' }} {{ $r['is_debit'] ? '—' : currency_symbol().number_format(abs($r['closing']), 2) }}
{{ ___('admin.total_b25928') }} — {{ currency_symbol() }}{{ number_format($movementDebit, 2) }} {{ currency_symbol() }}{{ number_format($movementCredit, 2) }} {{ currency_symbol() }}{{ number_format($totalDebit, 2) }} {{ currency_symbol() }}{{ number_format($totalCredit, 2) }}
@endsection