@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Filters
Total Debit
{{ number_format($totalDebit, 2) }}
Total Credit
{{ number_format($totalCredit, 2) }}
Balance Check
{{ $isBalanced ? 'Balanced' : 'Difference ' . number_format(abs($difference), 2) }}
@forelse($rows as $row) {{ $row['code'] }} {{ $row['classification'] }} @if($row['debit'] > 0) {{ number_format($row['debit'], 2) }} @else - @endif @if($row['credit'] > 0) {{ number_format($row['credit'], 2) }} @else - @endif @empty
No accounts found.

Try changing filters or search keyword.

@endforelse Total {{ number_format($totalDebit, 2) }} {{ number_format($totalCredit, 2) }}
@if($rows->hasPages())
{{ $rows->appends(request()->except('page'))->links('pagination::bootstrap-5') }}
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush