mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Add ability to add description to pull payment (#3363)
* Add ability to add description to pull payment close #2625 * Add API support * Remove 'Model.Description != "<br>"'
This commit is contained in:
@@ -24,6 +24,7 @@ namespace BTCPayServer.Models
|
||||
SelectedPaymentMethod = PaymentMethods.First().ToString();
|
||||
Archived = data.Archived;
|
||||
Title = blob.View.Title;
|
||||
Description = blob.View.Description;
|
||||
Amount = blob.Limit;
|
||||
Currency = blob.Currency;
|
||||
Description = blob.View.Description;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace BTCPayServer.Models.WalletViewModels
|
||||
{
|
||||
[MaxLength(30)]
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
[Required]
|
||||
public decimal Amount
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user