@page "/home"
@using Microsoft.AspNetCore.Authorization
@using Indotalent.Infrastructure.Authorization.Identity
@using Indotalent.Features.Root.Home.Cqrs
@using Indotalent.Features.Root.Home
@attribute [Authorize(Roles = $"{ApplicationRoles.Admin},{ApplicationRoles.Member}")]
@inject HomeService HomeService
@inject IJSRuntime JS
CMS Overview
Total Patients
@_data.FormattedTotalPatients
Active Bookings
@_data.FormattedActiveAppointments
Medical Records
@_data.FormattedTotalMedicalRecords
Completion Rate
@_data.BookingCompletionRate%
Total Patients
@_data.FormattedTotalPatients
Active Bookings
@_data.FormattedActiveAppointments
Completion Rate
@_data.BookingCompletionRate%
Medical Records
@_data.FormattedTotalMedicalRecords
Avg Booking
@_data.FormattedAvgBooking
CVR
@_data.OverallConversionRate%
Employees
@_data.TotalEmployees
MRR
@_data.FormattedMRR
Key indicators across all categories
@item.Title
@item.Sub
Monthly revenue vs expense
By category this period
As of @DateTime.Now.ToString("MMMM dd, yyyy")
@ps.Label
@(ps.FormattedValue ?? ps.Value.ToString("N0"))
Pipeline by stage
@bs.Stage
@bs.Count
Monthly movement
@sa.Category
Latest appointments
| Date | Booking# | Patient | Resource | Status |
|---|---|---|---|---|
| @(bk.Date?.ToString("MMM dd") ?? "-") | @bk.Number | @bk.Patient | @bk.Resource | @bk.Status |
| No recent bookings available | ||||
Real-time updates
@af.Title
@af.Detail
@af.TimeAgo
No recent activity
@DateTime.Now.Year Performance
@cm.Label
@cm.Current / @cm.TargetBy patient group
@pd.Label
@pd.Value
No distribution data available
}Financial KPIs
@rm.Label
System transaction volume
| Document Type | Count |
|---|---|
| @doc.Label | @doc.Value |
Latest sales orders
| Ref# | Customer | Qty | Date | Status |
|---|---|---|---|---|
| @tx.Number | @tx.Partner | @tx.Qty.ToString("N0") | @(tx.Date?.ToString("MMM dd") ?? "-") | @tx.Status |
| No transactions available | ||||