@extends('layouts.admin') @section('title', 'Cash Ledger') @section('page-title', 'Central Cash Ledger') @section('page-subtitle', 'All financial transactions in one place') @section('content')

Total Credits

₦{{ number_format($totalCredits) }}

Total Debits

₦{{ number_format($totalDebits) }}

Net Balance

₦{{ number_format($balance) }}

@if(in_array(session('admin_role'), ['admin','manager','cashier'])) Manual Entry @endif
@forelse($entries as $e) @empty @endforelse
Date Type Description Module Amount Reference Recorded By
{{ $e->transaction_date->format('d M Y') }} {{ ucfirst($e->type) }} {{ Str::limit($e->description, 60) }} {{ $e->module }} ₦{{ number_format($e->amount) }} {{ $e->reference }} {{ $e->recorded_by }}
No ledger entries found.
{{ $entries->links() }}
@endsection