@@ -170,7 +170,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
170
170
const shouldDisplayTransactionAmount = ( ( isDistanceRequest && hasRoute ) || ! ! transactionAmount ) && transactionAmount !== undefined ;
171
171
const formattedTransactionAmount = shouldDisplayTransactionAmount ? convertToDisplayString ( transactionAmount , transactionCurrency ) : '' ;
172
172
const formattedPerAttendeeAmount =
173
- shouldDisplayTransactionAmount && ! isReceiptBeingScanned && didReceiptScanSucceed
173
+ shouldDisplayTransactionAmount && ( ( hasReceipt && ! isReceiptBeingScanned && didReceiptScanSucceed ) || ! isPerDiemRequest )
174
174
? convertToDisplayString ( transactionAmount / ( transactionAttendees ?. length ?? 1 ) , transactionCurrency )
175
175
: '' ;
176
176
const formattedOriginalAmount = transactionOriginalAmount && transactionOriginalCurrency && convertToDisplayString ( transactionOriginalAmount , transactionOriginalCurrency ) ;
@@ -759,11 +759,10 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
759
759
< OfflineWithFeedback pendingAction = { getPendingFieldAction ( 'attendees' ) } >
760
760
< MenuItemWithTopDescription
761
761
key = "attendees"
762
- shouldShowRightIcon
763
762
title = { Array . isArray ( transactionAttendees ) ? transactionAttendees . map ( ( item ) => item ?. displayName ?? item ?. login ) . join ( ', ' ) : '' }
764
763
description = { `${ translate ( 'iou.attendees' ) } ${
765
764
Array . isArray ( transactionAttendees ) && transactionAttendees . length > 1 && formattedPerAttendeeAmount
766
- ? `${ formattedPerAttendeeAmount } ${ translate ( 'common.perPerson' ) } `
765
+ ? `${ CONST . DOT_SEPARATOR } ${ formattedPerAttendeeAmount } ${ translate ( 'common.perPerson' ) } `
767
766
: ''
768
767
} `}
769
768
style = { [ styles . moneyRequestMenuItem ] }
@@ -774,7 +773,8 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
774
773
}
775
774
Navigation . navigate ( ROUTES . MONEY_REQUEST_ATTENDEE . getRoute ( CONST . IOU . ACTION . EDIT , iouType , transaction . transactionID , report . reportID ) ) ;
776
775
} }
777
- interactive
776
+ interactive = { canEdit }
777
+ shouldShowRightIcon = { canEdit }
778
778
shouldRenderAsHTML
779
779
/>
780
780
</ OfflineWithFeedback >
0 commit comments