@extends('layouts.app') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @push('styles') @endpush @section('content') {{-- Summary Cards --}}
Total Salary
৳{{ number_format($summary['total_salary'], 2) }}
Current month payroll
Total Expenses
৳{{ number_format($summary['total_expense'], 2) }}
Current month expenses
Total Income
৳{{ number_format($summary['total_income'], 2) }}
Current month income
Profit / Loss
৳{{ number_format(abs($summary['profit']), 2) }}
{{ $summary['profit'] >= 0 ? '↑ Profit' : '↓ Loss' }} this month
{{-- Chart --}}
Income vs Expenses — Last 6 Months
@endsection @push('scripts') @endpush