@extends('layouts.app') @section('content')

Overview

{{ $currentBusiness->name }} - Business performance at a glance.

Total Income

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['total_income']) }}

Total Expenses

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['total_expenses']) }}

Transfers (GBP)

£{{ number_format($stats['total_transfers_gbp']) }}

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['total_transfers_in']) }} PKR

Net Position

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['net_profit']) }}

Active Staff

{{ $stats['staff_count'] }}

Assets

{{ $stats['asset_count'] }}

Director Loans

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['director_loans']) }}

Petty Cash

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['petty_cash_balance']) }}

Employee Loans

{{ $currentBusiness->currency_symbol }}{{ number_format($stats['employee_loans']) }}

Monthly Expenses

By Category

@forelse($expenseByCategory as $cat)
{{ $cat->category ?? 'Uncategorized' }} {{ $currentBusiness->currency_symbol }}{{ number_format($cat->total) }}
@empty

No expense data yet.

@endforelse

Recent Expenses

View all
@forelse($recentExpenses as $expense)

{{ $expense->description }}

{{ $expense->category }} · {{ $expense->date->format('d M') }}

-{{ $currentBusiness->currency_symbol }}{{ number_format($expense->amount) }}
@empty
No expenses yet.
@endforelse

Recent Transfers

View all
@forelse($recentTransfers as $transfer)

{{ $transfer->purpose }}

{{ $transfer->date->format('d M Y') }} · {{ $transfer->status }}

£{{ number_format($transfer->amount_gbp) }}

@if($transfer->amount_pkr)

Rs{{ number_format($transfer->amount_pkr) }}

@endif
@empty
No transfers yet.
@endforelse
@push('head') @endpush @push('scripts') @endpush @endsection