+source +destination in payments
This commit is contained in:
@@ -19,15 +19,9 @@ OperationItem mapPaymentToOperation(Payment payment) {
|
||||
: parseMoneyAmount(settlement.amount);
|
||||
final toCurrency = settlement?.currency ?? currency;
|
||||
|
||||
final payId =
|
||||
_firstNonEmpty([payment.paymentRef, payment.idempotencyKey]) ?? '-';
|
||||
final payId = _firstNonEmpty([payment.paymentRef]) ?? '-';
|
||||
final name =
|
||||
_firstNonEmpty([
|
||||
payment.lastQuote?.quoteRef,
|
||||
payment.paymentRef,
|
||||
payment.idempotencyKey,
|
||||
]) ??
|
||||
'-';
|
||||
_firstNonEmpty([payment.lastQuote?.quoteRef, payment.paymentRef]) ?? '-';
|
||||
final comment =
|
||||
_firstNonEmpty([
|
||||
payment.failureReason,
|
||||
|
||||
Reference in New Issue
Block a user