@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
SWM Overview
MTD Sales
@_data.FormattedSales
Total Bookings
@_data.TotalBookings.ToString("N0")
Win Rate
@_data.BookingWinRate%
Customers
@_data.TotalCustomer.ToString("N0")
MTD Sales
@_data.FormattedSales
Receivable
@_data.FormattedReceivable
Win Rate
@_data.BookingWinRate%
Customers
@_data.TotalCustomer.ToString("N0")
Total Bookings
@_data.TotalBookings.ToString("N0")
Resources
@_data.TotalResources.ToString("N0")
Active SO
@_data.PendingSO.ToString("N0")
Booking Grps
@_data.TotalBookingGroups.ToString("N0")
Key indicators across all categories
@item.Title
@item.Sub
Monthly sales vs purchase
By category this period
As of @DateTime.Now.ToString("MMMM dd, yyyy")
@ps.Label
@ps.Value
Breakdown by status
@ds.Stage
@ds.Count
Monthly movement
@sa.Category
Latest transactions
| Date | SO# | Customer | Value | Status |
|---|---|---|---|---|
| @(deal.Date?.ToString("MMM dd") ?? "-") | @deal.Number | @deal.Customer | @deal.Value.ToString("N0") | @deal.Status |
| No recent sales orders available | ||||
Latest spa & wellness bookings
@af.Title
@af.Detail
@af.TimeAgo
No recent bookings
Distribution by category
@cg.Name
@cg.Count custNo customer group data available
}Partner distribution
@vg.Name
@vg.Count vend
No vendor group data available
}@DateTime.Now.ToString("MMMM yyyy")
@cf.Label
By quantity sold
| Product | Quantity | Share |
|---|---|---|
| @p.Name | @p.Quantity.ToString("N0") | @p.Share% |
| No products available | ||
Transaction distribution
| Method | Count | Status |
|---|---|---|
| @pm.Name | @pm.Count | Active |
| No payment methods available | ||