Can set currency in the create invoice form fix #15

This commit is contained in:
nicolas.dorier
2017-12-03 22:36:04 +09:00
parent 43635071d9
commit 6f2534ba82
5 changed files with 41 additions and 16 deletions

View File

@@ -9,12 +9,22 @@ namespace BTCPayServer.Models.InvoicingModels
{
public class CreateInvoiceModel
{
public CreateInvoiceModel()
{
Currency = "USD";
}
[Required]
public double? Amount
{
get; set;
}
[Required]
public string Currency
{
get; set;
}
[Required]
public string StoreId
{