mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Tweaking UI for custom amounts (#398)
* Tweaking appearance of custom amount card * Allowing POS items to have custom amounts, good for donations/tips * Prepending currency symbol in POS * Fixing regression, thanks unit test
This commit is contained in:
committed by
Nicolas Dorier
parent
e9b2088f7d
commit
479303dd9e
@@ -19,10 +19,13 @@ namespace BTCPayServer.Models.AppViewModels
|
||||
public string Image { get; set; }
|
||||
public ItemPrice Price { get; set; }
|
||||
public string Title { get; set; }
|
||||
public bool Custom { get; set; }
|
||||
}
|
||||
|
||||
public bool ShowCustomAmount { get; set; }
|
||||
public string Step { get; set; }
|
||||
public string Title { get; set; }
|
||||
public Item[] Items { get; set; }
|
||||
public string CurrencySymbol { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user