all() : [])); ?> withName('app-layout'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> except(\App\View\Components\AppLayout::ignoredParameterNames()); ?> withAttributes([]); ?> slot('header', null, []); ?>

endSlot(); ?>

Total Revenue

Rs

Across all projects

Total Expenses

Rs

All operational costs

= 0): ?>

Net Profit

= 0 ? '' : '-'); ?>Rs

= 0 ? 'Profitable' : 'Operating at a loss'); ?>

0): ?>
0): ?>

Payment Report

count() > 0): ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
Date Project Client Amount Status
paid_at->format('M d, Y')); ?> project->name ?? '—'); ?> client->name ?? '—'); ?> Rsamount, 2)); ?> status)); ?>
Total: Rswhere('status', 'confirmed')->sum('amount'), 2)); ?>

No payments found for this date range.

Add New Expense

Expenses

count() > 0): ?> addLoop($__currentLoopData); foreach($__currentLoopData as $expense): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
Date Category Description Amount
date)->format('M d, Y')); ?> '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'; ?> category))); ?> description ?? '—'); ?> Rsamount, 2)); ?>

No expenses recorded

Use the form above to add your first expense.

Project Financials

count() > 0): ?> addLoop($__currentLoopData); foreach($__currentLoopData as $pf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> payments->where('status', 'confirmed')->sum('amount'); $balance = ($pf->budget ?? 0) - $confirmedPaid; ?> popLoop(); $loop = $__env->getLastLoop(); ?>
Project Client Budget Amount Paid Balance Due Status
name); ?> client->name ?? '—'); ?> Rsbudget ?? 0, 2)); ?> Rs Rs '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'; ?> payment_status ?? 'Unpaid')); ?>

No project financials

Financial data will appear here once projects are created.

renderComponent(); ?>