mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Add ability to hide a product from POS app
See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/2827
This commit is contained in:
committed by
Andrew Camilleri
parent
6d667e2d78
commit
403820cf14
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user