mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
POS: Don't show free items in print view (#6009)
We cannot generate a proper LNURL response for free items, hence we should not show them in the print view. Closes #5999.
This commit is contained in:
parent
b5ade89763
commit
e5a09cbeaa
@ -76,6 +76,7 @@ else
|
||||
{
|
||||
var item = Model.Items[x];
|
||||
var formatted = DisplayFormatter.Currency(item.Price ?? 0, Model.CurrencyCode, DisplayFormatter.CurrencyFormat.Symbol);
|
||||
if (item.PriceType == ViewPointOfSaleViewModel.ItemPriceType.Fixed && item.Price == 0) continue;
|
||||
<div class="d-flex flex-wrap">
|
||||
<div class="card px-0" data-id="@x">
|
||||
<div class="card-body p-3 d-flex flex-column gap-2">
|
||||
|
Loading…
Reference in New Issue
Block a user