@@ -152,6 +152,7 @@ import {
152152 getReimbursableTotal ,
153153 getReportCustomColumnValue ,
154154 getReportOrDraftReport ,
155+ getReportStatusTooltipTranslation ,
155156 getReportStatusTranslation ,
156157 hasHeldExpenses ,
157158 hasInvoiceReports ,
@@ -320,6 +321,7 @@ const expenseReportColumnNamesToSortingProperty: ExpenseReportSorting = {
320321 [ CONST . SEARCH . TABLE_COLUMNS . FIRST_APPROVED ] : 'firstApproved' as const ,
321322 [ CONST . SEARCH . TABLE_COLUMNS . EXPORTED ] : 'exported' as const ,
322323 [ CONST . SEARCH . TABLE_COLUMNS . STATUS ] : 'formattedStatus' as const ,
324+ [ CONST . SEARCH . TABLE_COLUMNS . PAID_STATUS ] : 'formattedPaidStatus' as const ,
323325 [ CONST . SEARCH . TABLE_COLUMNS . TITLE ] : 'reportName' as const ,
324326 [ CONST . SEARCH . TABLE_COLUMNS . FROM ] : 'formattedFrom' as const ,
325327 [ CONST . SEARCH . TABLE_COLUMNS . TO ] : 'formattedTo' as const ,
@@ -2890,6 +2892,7 @@ function getReportSections({
28902892 const formattedFirstApprover = firstApproverAccountID ? formatPhoneNumber ( temporaryGetDisplayNameOrDefault ( { passedPersonalDetails : firstApproverDetails , translate} ) ) : '' ;
28912893
28922894 const formattedStatus = getReportStatusTranslation ( { stateNum : reportItem . stateNum , statusNum : reportItem . statusNum , translate} ) ;
2895+ const formattedPaidStatus = getReportStatusTooltipTranslation ( { stateNum : reportItem . stateNum , statusNum : reportItem . statusNum , translate} ) ;
28932896 const policy = getPolicyFromKey ( data , reportItem ) ;
28942897
28952898 const shouldShowStatusAsPending = ! ! isOffline && reportItem ?. pendingFields ?. nextStep === CONST . RED_BRICK_ROAD_PENDING_ACTION . UPDATE ;
@@ -2934,6 +2937,7 @@ function getReportSections({
29342937 formattedFrom,
29352938 formattedTo,
29362939 formattedStatus,
2940+ formattedPaidStatus,
29372941 transactions,
29382942 shouldShowStatusAsPending,
29392943 ...( reportPendingAction ? { pendingAction : reportPendingAction } : { } ) ,
@@ -4403,6 +4407,8 @@ function getSearchColumnTranslationKey(column: SearchSortBy): TranslationPaths {
44034407 return 'common.title' ;
44044408 case CONST . SEARCH . TABLE_COLUMNS . STATUS :
44054409 return 'common.status' ;
4410+ case CONST . SEARCH . TABLE_COLUMNS . PAID_STATUS :
4411+ return 'common.paidStatus' ;
44064412 case CONST . SEARCH . TABLE_COLUMNS . EXCHANGE_RATE :
44074413 return 'common.exchangeRate' ;
44084414 case CONST . SEARCH . TABLE_COLUMNS . POLICY_NAME :
0 commit comments