@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Dashboard

New Collection
@stop @section('css') @stop @section('content')

{{ $totalAccounts }}

Total Accounts

{{ $activeAccounts }}

Active Accounts

{{ $todayAccounts }}

Today's Accounts

₹ {{ number_format($todayCollection,2) }}

Today's Collection

₹ {{ number_format($todayPrincipal,2) }}

Today's Principal

₹ {{ number_format($todayInterest,2) }}

Today's Interest

₹ {{ number_format($totalLoanDisbursed,2) }}

Total Loan Disbursed

₹ {{ number_format($totalPending,2) }}

Total Pending

₹ {{ number_format($totalCollection,2) }}

Total Collection

₹ {{ number_format($totalPrincipalCollected,2) }}

Total Principal Collected

₹ {{ number_format($totalInterestCollected,2) }}

Total Interest Collected

Recent Accounts

@forelse($recentAccounts as $account) @empty @endforelse
Account No Name
{{ $account->account_no }} {{ $account->customer_name }}
No Accounts Found

Recent Collections

@forelse($recentCollections as $collection) @empty @endforelse
Receipt Customer Amount
{{ $collection->receipt_no }} {{ $collection->account->customer_name ?? '-' }} ₹ {{ number_format($collection->amount,2) }}
No Collections Found
@stop