Invoice export should not prefix amounts with crypto code

This commit is contained in:
nicolas.dorier 2018-12-18 19:20:10 +09:00
parent bb0f986b0c
commit 7cf07b27e3

View File

@ -67,9 +67,9 @@ namespace BTCPayServer.Services.Invoices.Export
ConversionRate = pmethod.Rate,
PaymentType = details.GetPaymentType() == Payments.PaymentTypes.BTCLike ? "OnChain" : "OffChain",
Destination = details.GetPaymentDestination(),
PaymentDue = $"{accounting.MinimumTotalDue} {cryptoCode}",
PaymentPaid = $"{accounting.CryptoPaid} {cryptoCode}",
PaymentOverpaid = $"{accounting.OverpaidHelper} {cryptoCode}",
PaymentDue = $"{accounting.MinimumTotalDue}",
PaymentPaid = $"{accounting.CryptoPaid}",
PaymentOverpaid = $"{accounting.OverpaidHelper}",
OrderId = invoice.OrderId,
StoreId = invoice.StoreId,