Add ability to hide a product from POS app

See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/2827
This commit is contained in:
Umar Bolatov
2021-09-05 15:19:27 -07:00
committed by Andrew Camilleri
parent 6d667e2d78
commit 403820cf14
6 changed files with 35 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ namespace BTCPayServer.Models.AppViewModels
public string BuyButtonText { get; set; }
public int? Inventory { get; set; } = null;
public string[] PaymentMethods { get; set; }
public bool Hidden { get; set; } = false;
}
public class CurrencyInfoData
@@ -57,4 +58,4 @@ namespace BTCPayServer.Models.AppViewModels
[Display(Name = "Custom CSS Code")]
public string EmbeddedCSS { get; set; }
}
}
}