@extends('layouts.app') @section('title', 'Dashboard — EasyHR Billing') @section('content')

Dashboard

Companies
{{ $companyCount }}
Open Invoices
{{ $openCount }}
Open Due (BDT)
{{ \App\Support\BillingPeriod::formatMoney($openTotal) }}

Generate a Month

The scheduler creates the current month on the last calendar day at 23:50 Asia/Dhaka.

@csrf
@error('month')
{{ $message }}
@enderror

Recent Invoices

@forelse ($recent as $invoice) @empty @endforelse
Company Type Period Total Status
{{ $invoice->company?->name }} {{ $invoice->type === 'installation' ? 'Installation' : 'Monthly' }} {{ $invoice->period ? \App\Support\BillingPeriod::label($invoice->period) : '—' }} {{ \App\Support\BillingPeriod::formatMoney($invoice->total) }} {{ ucwords(str_replace('_', ' ', $invoice->status)) }}
No Invoices Yet.
@endsection