@@ -11,6 +11,7 @@ import ActionCell from '@components/SelectionListWithSections/Search/ActionCell'
1111import DateCell from '@components/SelectionListWithSections/Search/DateCell' ;
1212import StatusCell from '@components/SelectionListWithSections/Search/StatusCell' ;
1313import TextCell from '@components/SelectionListWithSections/Search/TextCell' ;
14+ import AmountCell from '@components/SelectionListWithSections/Search/TotalCell' ;
1415import UserInfoCell from '@components/SelectionListWithSections/Search/UserInfoCell' ;
1516import Text from '@components/Text' ;
1617import { useMemoizedLazyExpensifyIcons } from '@hooks/useLazyAsset' ;
@@ -21,11 +22,13 @@ import useTheme from '@hooks/useTheme';
2122import useThemeStyles from '@hooks/useThemeStyles' ;
2223import { isCategoryMissing } from '@libs/CategoryUtils' ;
2324import getBase62ReportID from '@libs/getBase62ReportID' ;
24- import { isSettled } from '@libs/ReportUtils' ;
25+ import { isExpenseReport , isSettled } from '@libs/ReportUtils' ;
2526import StringUtils from '@libs/StringUtils' ;
2627import {
2728 getDescription ,
2829 getMerchant ,
30+ getOriginalAmount ,
31+ getOriginalCurrency ,
2932 getCreated as getTransactionCreated ,
3033 hasMissingSmartscanFields ,
3134 isAmountMissing ,
@@ -430,6 +433,17 @@ function TransactionItemRow({
430433 />
431434 </ View >
432435 ) ,
436+ [ CONST . SEARCH . TABLE_COLUMNS . ORIGINAL_AMOUNT ] : (
437+ < View
438+ key = { CONST . SEARCH . TABLE_COLUMNS . ORIGINAL_AMOUNT }
439+ style = { [ StyleUtils . getReportTableColumnStyles ( CONST . SEARCH . TABLE_COLUMNS . ORIGINAL_AMOUNT , undefined , isAmountColumnWide ) ] }
440+ >
441+ < AmountCell
442+ total = { isExpenseReport ( transactionItem . report ) ? - ( transactionItem . originalAmount ?? 0 ) : getOriginalAmount ( transactionItem ) }
443+ currency = { getOriginalCurrency ( transactionItem ) }
444+ />
445+ </ View >
446+ ) ,
433447 [ CONST . SEARCH . TABLE_COLUMNS . REPORT_ID ] : (
434448 < View style = { [ StyleUtils . getReportTableColumnStyles ( CONST . SEARCH . TABLE_COLUMNS . REPORT_ID ) ] } >
435449 < TextCell text = { transactionItem . reportID === CONST . REPORT . UNREPORTED_REPORT_ID ? '' : transactionItem . reportID } />
0 commit comments