@using BTCPayServer.Plugins.PointOfSale.Models @using BTCPayServer.Services @model BTCPayServer.Plugins.PointOfSale.Models.ViewPointOfSaleViewModel @inject DisplayFormatter DisplayFormatter @{ Layout = "PointOfSale/Public/_Layout"; var customTipPercentages = Model.CustomTipPercentages; var anyInventoryItems = Model.Items.Any(item => item.Inventory.HasValue); } @section PageHeadContent { } @section PageFootContent { }
@if (!string.IsNullOrEmpty(Model.Description)) {
@Safe.Raw(Model.Description)
}
@for (var index = 0; index < Model.Items.Length; index++) { var item = Model.Items[index]; if (item.PriceType == ViewPointOfSaleViewModel.ItemPriceType.Topup) { continue; } var image = item.Image; var description = item.Description;
@if (!string.IsNullOrWhiteSpace(image)) { @Safe.Raw(item.Title) }
@Safe.Raw(item.Title)
@if (!string.IsNullOrWhiteSpace(description)) {

@Safe.Raw(description)

}
}