Revert "Remove the next address to pay to from Invoice details page (Fix #1056) (#1283)"

This reverts commit 6848482999.
This commit is contained in:
rockstardev
2020-02-28 16:30:57 -06:00
parent 18aaa1a0c4
commit fca6b39681
3 changed files with 7 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ namespace BTCPayServer.Controllers
cryptoPayment.Paid = _CurrencyNameTable.DisplayFormatCurrency(accounting.CryptoPaid.ToDecimal(MoneyUnit.BTC), paymentMethodId.CryptoCode);
cryptoPayment.Overpaid = _CurrencyNameTable.DisplayFormatCurrency(accounting.OverpaidHelper.ToDecimal(MoneyUnit.BTC), paymentMethodId.CryptoCode);
var paymentMethodDetails = data.GetPaymentMethodDetails();
cryptoPayment.Address = paymentMethodDetails.GetPaymentDestination();
cryptoPayment.Rate = ExchangeRate(data);
model.CryptoPayments.Add(cryptoPayment);
}