Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5316,6 +5316,7 @@ function getReportPreviewMessage(
return translateLocal(translatePhraseKey, payerDisplayName ?? '');
}
if (translatePhraseKey === 'iou.payerPaidAmount') {
// eslint-disable-next-line @typescript-eslint/no-deprecated
return translateLocal(translatePhraseKey, '', payerDisplayName ?? '');
}
}
Expand Down Expand Up @@ -10528,13 +10529,15 @@ function getIOUReportActionDisplayMessage(reportAction: OnyxEntry<ReportAction>,

if (automaticAction) {
if (originalMessage.paymentType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY) {
// eslint-disable-next-line @typescript-eslint/no-deprecated
return translateLocal('iou.automaticallyPaidWithExpensify', '');
}
// eslint-disable-next-line @typescript-eslint/no-deprecated
return translateLocal('iou.automaticallyPaidWithBusinessBankAccount', '', last4Digits);
}
break;
default:
// eslint-disable-next-line @typescript-eslint/no-deprecated
return translateLocal('iou.payerPaidAmount', '', '');
}
if (translationKey === 'iou.businessBankAccount') {
Expand Down
Loading