Allow entry in wallet send via fiat (#1891)

* Allow entry in wallet send via fiat

closes #1890
https://i.imgur.com/RUrSqD7.gif

* fix min amount in wallet send

* Add divisibility when setting amount from fiat
This commit is contained in:
Andrew Camilleri
2020-09-11 09:23:08 +02:00
committed by GitHub
parent e051581c39
commit fa46252c65
4 changed files with 46 additions and 11 deletions

View File

@@ -47,7 +47,8 @@ namespace BTCPayServer.Models.WalletViewModels
[Display(Name = "Don't create UTXO change")]
public bool NoChange { get; set; }
public decimal? Rate { get; set; }
public int Divisibility { get; set; }
public int FiatDivisibility { get; set; }
public int CryptoDivisibility { get; set; }
public string Fiat { get; set; }
public string RateError { get; set; }
public bool SupportRBF { get; set; }