@using EgwCoreLib.Lux.Data.DbModel.Sales @code { [Parameter] public OrderRowModel CurrPOR { get; set; } = null!; protected string currCss => CurrPOR.OrderRowState == Enums.OrderStates.Estimated ? "active" : "list-group-item-primary"; [Parameter] public EventCallback EC_DoBalance { get; set; } protected async Task DoBalance(int OrderRowID) { await EC_DoBalance.InvokeAsync(OrderRowID); } protected string FormatEstTime(decimal totSeconds) { var tSpan = TimeSpan.FromSeconds((double)totSeconds); string answ = EgwCoreLib.Lux.Core.DtUtils.FormatDateTime(tSpan); return answ; } }