Receipt: Add payment proof (#4782)

* Receipt: Add payment proof

Closes #4685.

* shice

* Add truncate-center component

* Improve view

* Hide button and link when printed

* Describe component

* Remove transaction ID from UI

* Remove modification to interface

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
This commit is contained in:
d11n
2023-03-27 07:07:12 +02:00
committed by GitHub
parent c53d5272d6
commit de9ac9fd43
7 changed files with 166 additions and 31 deletions

View File

@@ -4,6 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using BTCPayServer.Client.Models;
using BTCPayServer.Data;
using BTCPayServer.Payments;
using BTCPayServer.Services.Invoices;
using BTCPayServer.Services.Rates;
using BTCPayServer.Validation;
@@ -208,6 +209,8 @@ namespace BTCPayServer.Models.PaymentRequestViewModels
public string Link { get; set; }
public string Id { get; set; }
public string Destination { get; set; }
public string PaymentProof { get; set; }
public PaymentType PaymentType { get; set; }
}
}
}