{{ session('success') }}
{{ session('error') }}
Total Revenue
Rs{{ number_format($totalRevenue, 2) }}
Across all projects
Total Expenses
Rs{{ number_format($totalExpenses, 2) }}
All operational costs
Net Profit
{{ $profit >= 0 ? '' : '-' }}Rs{{ number_format(abs($profit), 2) }}
{{ $profit >= 0 ? 'Profitable' : 'Operating at a loss' }}
@if($profit > 0) @endifTotal Net Profit: Rs{{ number_format($profit, 2) }}
| Date | Project | Client | Amount | Status |
|---|---|---|---|---|
| {{ $payment->paid_at->format('M d, Y') }} | {{ $payment->project->name ?? '—' }} | {{ $payment->client->name ?? '—' }} | Rs{{ number_format($payment->amount, 2) }} | {{ ucfirst($payment->status) }} |
No payments found for this date range.
@endif| Date | Category | Description | Amount |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($expense->date)->format('M d, Y') }} | @php $catStyles = [ 'server' => 'bg-blue-100 text-blue-800', 'facebook_marketing' => 'bg-purple-100 text-purple-800', 'google_ads' => 'bg-indigo-100 text-indigo-800', 'salary' => 'bg-green-100 text-green-800', 'software' => 'bg-cyan-100 text-cyan-800', 'office' => 'bg-amber-100 text-amber-800', 'other' => 'bg-gray-100 text-gray-700', ]; $catStyle = $catStyles[$expense->category] ?? 'bg-gray-100 text-gray-700'; @endphp {{ ucfirst(str_replace('_', ' ', $expense->category)) }} | {{ $expense->description ?? '—' }} | Rs{{ number_format($expense->amount, 2) }} |
Use the form above to add your first expense.
| Project | Client | Budget | Amount Paid | Balance Due | Status |
|---|---|---|---|---|---|
| {{ $pf->name }} | {{ $pf->client->name ?? '—' }} | Rs{{ number_format($pf->budget ?? 0, 2) }} | Rs{{ number_format($confirmedPaid, 2) }} | Rs{{ number_format($balance, 2) }} | @php $finStatusStyles = [ 'paid' => 'bg-green-100 text-green-800', 'partial' => 'bg-yellow-100 text-yellow-800', 'unpaid' => 'bg-red-100 text-red-800', ]; $finStyle = $finStatusStyles[$pf->payment_status ?? 'unpaid'] ?? 'bg-gray-100 text-gray-700'; @endphp {{ ucfirst($pf->payment_status ?? 'Unpaid') }} |
Financial data will appear here once projects are created.