Update display text on the view model.

This commit is contained in:
Lucas Cullen 2020-01-24 17:29:52 +10:00 committed by rockstardev
parent 666682677c
commit 56d8c033d7

View file

@ -15,6 +15,7 @@ namespace BTCPayServer.Models.InvoicingModels
{ {
Currency = "USD"; Currency = "USD";
} }
[Required] [Required]
public decimal? Amount public decimal? Amount
{ {
@ -28,11 +29,13 @@ namespace BTCPayServer.Models.InvoicingModels
} }
[Required] [Required]
[DisplayName("Store Id")]
public string StoreId public string StoreId
{ {
get; set; get; set;
} }
[DisplayName("Order Id")]
public string OrderId public string OrderId
{ {
get; set; get; set;
@ -51,6 +54,7 @@ namespace BTCPayServer.Models.InvoicingModels
} }
[EmailAddress] [EmailAddress]
[DisplayName("Buyer Email")]
public string BuyerEmail public string BuyerEmail
{ {
get; set; get; set;
@ -72,22 +76,19 @@ namespace BTCPayServer.Models.InvoicingModels
public SelectList Stores public SelectList Stores
{ {
get; get; set;
set;
} }
[DisplayName("Supported Transaction Currencies")] [DisplayName("Supported Transaction Currencies")]
public List<string> SupportedTransactionCurrencies public List<string> SupportedTransactionCurrencies
{ {
get; get; set;
set;
} }
[DisplayName("Available Payment Methods")] [DisplayName("Available Payment Methods")]
public SelectList AvailablePaymentMethods public SelectList AvailablePaymentMethods
{ {
get; get; set;
set;
} }
} }
} }