@page "/Offers" @inherits BaseComp @if (EditRecord != null) {
@EditRecord.OfferCode
@if (EditRecord.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW) {
} else {
}
@if (currStep == Enums.CompileStep.Header) { } else if (currStep == Enums.CompileStep.General) { } else if (currStep == Enums.CompileStep.Rows) { } else if (currStep == Enums.CompileStep.Delivery) { } @* else if (currStep == Enums.CompileStep.FinalCheck) { } *@
} else { if (EditStateRec != null) { }
@if (FiltEnv == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW) { @Traduci("offerta_stats") } else if (FiltEnv == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.BEAM) { @Traduci("offerta_stats") }
@if (isLoading) {
} else if (totalCount == 0) {
@Traduci("noRecord")
} else {
@if (SelRecord == null) { } @if (SelRecord == null) { } @if (SelRecord == null) { } @if (SelRecord == null) { } @foreach (var item in ListRecords) { @if (SelRecord == null) { } @if (SelRecord == null) { } @if (SelRecord == null) { } @if (SelRecord == null) { } } @if (totalCount > numRecord) { }
@Traduci("id")@Traduci("data")@Traduci("stato")@Traduci("codice") @Traduci("venditore") @Traduci("cliente")@Traduci("descrizione") @Traduci("importo")@Traduci("margine")
@item.OfferID
@($"{item.Inserted:yyyy-MM-dd}")
@($"{item.ValidUntil:yyyy-MM-dd}")
@item.OfferCode
@item.Envir
@if (item.DealerNav != null) {
@item.DealerNav.FirstName @item.DealerNav.LastName
@item.DealerNav.VAT
}
@if (item.CustomerNav != null) {
@item.CustomerNav.FirstName @item.CustomerNav.LastName
@item.CustomerNav.VAT
}
@item.Description @item.NumRows @item.NumItems @item.NumProdItems
@item.TotalPrice.ToString("C2")
(@item.TotalCost.ToString("C2"))
@item.MaxDiscount.ToString("P2")
@if (SelRecord == null) { }
@if (SelRecord != null) {
}
}
} @if (selectOptPrint) { }