diff --git a/src/components/ReportActionItem/IOUPreview.js b/src/components/ReportActionItem/IOUPreview.js index f3878c2f2acb..2f584eff2f7b 100644 --- a/src/components/ReportActionItem/IOUPreview.js +++ b/src/components/ReportActionItem/IOUPreview.js @@ -189,7 +189,7 @@ function IOUPreview(props) { - {getPreviewHeaderText()} + {getPreviewHeaderText()} {Boolean(getSettledMessage()) && ( <> {!isCurrentUserManager && props.shouldShowPendingConversionMessage && ( - {props.translate('iou.pendingConversionMessage')} + {props.translate('iou.pendingConversionMessage')} )} - {!_.isEmpty(requestComment) && {requestComment}} + {!_.isEmpty(requestComment) && {requestComment}} {props.isBillSplit && !_.isEmpty(participantAccountIDs) && ( diff --git a/src/components/ReportActionItem/ReportPreview.js b/src/components/ReportActionItem/ReportPreview.js index d591e8bb1b65..fdd5979136f3 100644 --- a/src/components/ReportActionItem/ReportPreview.js +++ b/src/components/ReportActionItem/ReportPreview.js @@ -112,7 +112,7 @@ function ReportPreview(props) { - + {props.translate(ReportUtils.isSettled(props.iouReportID) ? 'iou.payerPaid' : 'iou.payerOwes', {payer: managerName})} @@ -130,20 +130,20 @@ function ReportPreview(props) { )} + {isCurrentUserManager && !ReportUtils.isSettled(props.iouReport.reportID) && ( + IOU.payMoneyRequest(paymentType, props.chatReport, props.iouReport)} + enablePaymentsRoute={ROUTES.BANK_ACCOUNT_NEW} + addBankAccountRoute={bankAccountRoute} + style={[styles.requestPreviewBox]} + /> + )} - {isCurrentUserManager && !ReportUtils.isSettled(props.iouReport.reportID) && ( - IOU.payMoneyRequest(paymentType, props.chatReport, props.iouReport)} - enablePaymentsRoute={ROUTES.BANK_ACCOUNT_NEW} - addBankAccountRoute={bankAccountRoute} - style={[styles.requestPreviewBox]} - /> - )} ); } diff --git a/src/styles/styles.js b/src/styles/styles.js index 63db0215cdc9..424f08a0d050 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -2534,7 +2534,7 @@ const styles = { }, requestPreviewBox: { - marginTop: 8, + marginTop: 12, maxWidth: variables.sideBarWidth, },