@addTagHelper *, BundlerMinifier.TagHelpers @inject BTCPayServer.HostedServices.CssThemeManager themeManager @model BTCPayServer.Models.AppViewModels.ViewPointOfSaleViewModel @{ ViewData["Title"] = Model.Title; Layout = null; int[] CustomTipPercentages = Model.CustomTipPercentages; var anyInventoryItems = Model.Items.Any(item => item.Inventory.HasValue); } @Model.Title @if (Model.CustomCSSLink != null) { } @if (Model.EnableShoppingCart) { } @if (!string.IsNullOrEmpty(Model.EmbeddedCSS)) { @Safe.Raw($""); } @if (this.TempData.HasStatusMessage()) { } @if (Model.EnableShoppingCart) {
@if (!string.IsNullOrEmpty(Model.Description)) {
@Safe.Raw(Model.Description)
}
@for (var index = 0; index < Model.Items.Length; index++) { var item = Model.Items[index]; var image = item.Image; var description = item.Description;
@if (!String.IsNullOrWhiteSpace(image)) { @:Card image cap }
@item.Title
@if (!String.IsNullOrWhiteSpace(description)) {

@description

}
}
} else {

@Model.Title

@if (!string.IsNullOrEmpty(Model.Description)) {
@Safe.Raw(Model.Description)
}
@for (int x = 0; x < Model.Items.Length; x++) { var item = Model.Items[x];
@if (!String.IsNullOrWhiteSpace(item.Image)) { Card image cap }
@item.Title
@if (!String.IsNullOrWhiteSpace(item.Description)) {

@item.Description

}
} @if (Model.ShowCustomAmount) {
Custom Amount

Create invoice to pay custom amount

}
}