@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
Loading OMS Dashboard...
OMS Overview
MTD Sales
@_data.FormattedMonthlySales
MTD Purchase
@_data.FormattedMonthlyPurchase
Growth Rate
@_data.OrderGrowthRate%
Total SO
@_data.FormattedTotalSalesOrders
MTD Sales
@_data.FormattedMonthlySales
MTD Purchase
@_data.FormattedMonthlyPurchase
Growth Rate
@_data.OrderGrowthRate%
Total SO
@_data.FormattedTotalSalesOrders
Avg Order Value
@_data.FormattedAvgOrderValue
Fulfillment Rate
@_data.SlaPercentage%
Pending Docs
@_data.ActiveDealsCount
Total Payable
@_data.FormattedTotalPayable
Key indicators across all categories
@item.Label
@item.Value
Monthly comparison
By category this period
As of @DateTime.Now.ToString("MMMM dd, yyyy")
@ps.Label
@(ps.FormattedValue ?? ps.Value.ToString("N0"))
Orders by status
@ds.Stage
@ds.Count
Document volume
@sa.Category
Latest transactions
| Date | Order# | Description | Value | Status |
|---|---|---|---|---|
| @(order.Date?.ToString("MMM dd") ?? "-") | @order.OrderNumber | @order.Description | @order.Value.ToString("N0") | @order.Status |
| No recent orders available | ||||
Real-time updates
@af.Title
@af.Detail
@af.TimeAgo
No recent activity
@DateTime.Now.Year Performance
@cm.Label
@cm.Current / @cm.TargetBy order volume
@p.Name
@p.Achievement.ToString("N0")
No performance data available
}System overview
Pending Docs
Drafts SO+PO
Total Customers
Active
Retention Rate
Customer loyalty
Receivable
Total AR
As of @DateTime.Now.ToString("MMM dd, yyyy") · Active vendors
| Vendor | Group | Amount | Stage |
|---|---|---|---|
| @vend.LeadTitle | @vend.Company | @vend.Amount.ToString("N0") | @vend.Stage |
| No vendors available | |||
Awaiting confirmation
| Invoice | Customer | Amount | Status |
|---|---|---|---|
| @inv.Number | @inv.Customer | @inv.Amount.ToString("N0") | @inv.Status |
| No pending invoices | |||