@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 SCM Dashboard...
SCM Overview
MTD Sales
@_data.FormattedSales
MTD Purchase
@_data.FormattedPurchase
Total Receivable
@_data.FormattedReceivable
Total Payable
@_data.FormattedPayable
Pending PR
@_data.PendingPR
Pending SQ
@_data.PendingSQ
Pending GR
@_data.PendingGR
Pending DO
@_data.PendingDO
Active Cust
@_data.ActiveCustomer
Active Vend
@_data.ActiveVendor
Inbound Qty
@_data.InboundQtyMTD.ToString("N0")
Outbound Qty
@_data.OutboundQtyMTD.ToString("N0")
All module document totals
@doc.Label
@doc.Value docs
Monthly revenue vs procurement
By product group
Total: @_data.TotalPO POs
@s.Status
@s.Count POs
Total: @_data.TotalGR GRs
@s.Status
@s.Count GRs
MTD movement
Inbound
Outbound
Accuracy
Latest PO transactions
| Date | PO# | Vendor | Amount | Status |
|---|---|---|---|---|
| @(po.OrderDate?.ToString("MMM dd") ?? "-") | @po.Number | @po.VendorName | @po.Amount.ToString("N0") | @po.Status |
| No recent POs available | ||||
Latest receiving activity
| Date | GR# | PO Ref | Status |
|---|---|---|---|
| @(gr.ReceiveDate?.ToString("MMM dd") ?? "-") | @gr.Number | @gr.PONumber | @gr.Status |
| No recent GRs available | |||
Total PO value per vendor
Requisition & delivery overview
Real-time inventory movements
@tx.Module
#@tx.Number · WH: @tx.Partner · Qty: @tx.Qty.ToString("N0")
@tx.Date?.ToString("dd MMM HH:mm")
No recent flow