Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6554,6 +6554,8 @@ const CONST = {
BILLABLE: 'billable',
POLICY_ID: 'policyID',
ACTION: 'action',
PURCHASE_AMOUNT: 'purchaseAmount',
PURCHASE_CURRENCY: 'purchaseCurrency',
WITHDRAWAL_ID: 'withdrawalID',
},
TAG_EMPTY_VALUE: 'none',
Expand Down Expand Up @@ -6602,10 +6604,10 @@ const CONST = {
REIMBURSABLE: 'reimbursable',
BILLABLE: 'billable',
ACTION: 'action',
PURCHASE_AMOUNT: 'purchase-amount',
PURCHASE_CURRENCY: 'purchase-currency',
WITHDRAWAL_ID: 'withdrawal-id',
},

// Maps an internal search value to the user friendly display text, e.g. `perDiem` -> `per-diem`
get SEARCH_USER_FRIENDLY_VALUES_MAP() {
return {
[this.TRANSACTION_TYPE.PER_DIEM]: 'per-diem',
Expand Down
2 changes: 2 additions & 0 deletions src/SCREENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ const SCREENS = {
ADVANCED_FILTERS_REIMBURSABLE_RHP: 'Search_Advanced_Filters_Reimbursable_RHP',
ADVANCED_FILTERS_BILLABLE_RHP: 'Search_Advanced_Filters_Billable_RHP',
ADVANCED_FILTERS_WORKSPACE_RHP: 'Search_Advanced_Filters_Workspace_RHP',
ADVANCED_FILTERS_PURCHASE_CURRENCY_RHP: 'Search_Advanced_Filters_Purchase_Currency_RHP',
ADVANCED_FILTERS_PURCHASE_AMOUNT_RHP: 'Search_Advanced_Filters_Purchase_Amount_RHP',
SAVED_SEARCH_RENAME_RHP: 'Search_Saved_Search_Rename_RHP',
ADVANCED_FILTERS_IN_RHP: 'Search_Advanced_Filters_In_RHP',
TRANSACTION_HOLD_REASON_RHP: 'Search_Transaction_Hold_Reason_RHP',
Expand Down
3 changes: 2 additions & 1 deletion src/components/Search/SearchAutocompleteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ function SearchAutocompleteList(
}));
}
case CONST.SEARCH.SYNTAX_FILTER_KEYS.CURRENCY:
case CONST.SEARCH.SYNTAX_FILTER_KEYS.GROUP_CURRENCY: {
case CONST.SEARCH.SYNTAX_FILTER_KEYS.GROUP_CURRENCY:
case CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_CURRENCY: {
const autocompleteList = autocompleteValue ? currencyAutocompleteList : (recentCurrencyAutocompleteList ?? []);
const filteredCurrencies = autocompleteList
.filter((currency) => currency.toLowerCase().includes(autocompleteValue.toLowerCase()) && !alreadyAutocompletedKeys.includes(currency.toLowerCase()))
Expand Down
3 changes: 1 addition & 2 deletions src/components/Search/SearchFiltersAmountBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ import type {SearchAmountFilterKeys} from './types';

function SearchFiltersAmountBase({title, filterKey, testID}: {title: TranslationPaths; filterKey: SearchAmountFilterKeys; testID: string}) {
const styles = useThemeStyles();

const {translate} = useLocalize();
const {inputCallbackRef} = useAutoFocusInput();

const [searchAdvancedFiltersForm] = useOnyx(ONYXKEYS.FORMS.SEARCH_ADVANCED_FILTERS_FORM, {canBeMissing: false});
const greaterThan = searchAdvancedFiltersForm?.[`${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.GREATER_THAN}`];
const greaterThanFormattedAmount = greaterThan ? convertToFrontendAmountAsString(Number(greaterThan)) : undefined;
const lessThan = searchAdvancedFiltersForm?.[`${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.LESS_THAN}`];
const lessThanFormattedAmount = lessThan ? convertToFrontendAmountAsString(Number(lessThan)) : undefined;
const {inputCallbackRef} = useAutoFocusInput();

const updateAmountFilter = (values: FormOnyxValues<typeof ONYXKEYS.FORMS.SEARCH_ADVANCED_FILTERS_FORM>) => {
const greater = values[`${filterKey}${CONST.SEARCH.AMOUNT_MODIFIERS.GREATER_THAN}`];
Expand Down
97 changes: 97 additions & 0 deletions src/components/Search/SearchFiltersCurrencyBase.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
import React, {useMemo} from 'react';
import {View} from 'react-native';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
import useLocalize from '@hooks/useLocalize';
import useOnyx from '@hooks/useOnyx';
import useThemeStyles from '@hooks/useThemeStyles';
import {updateAdvancedFilters} from '@libs/actions/Search';
import {getCurrencySymbol} from '@libs/CurrencyUtils';
import Navigation from '@libs/Navigation/Navigation';
import type {TranslationPaths} from '@src/languages/types';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import SearchMultipleSelectionPicker from './SearchMultipleSelectionPicker';
import type {SearchSingleSelectionPickerItem} from './SearchSingleSelectionPicker';
import SearchSingleSelectionPicker from './SearchSingleSelectionPicker';
import type {SearchCurrencyFilterKeys} from './types';

type SearchFiltersCurrencyBaseProps = {
multiselect?: boolean;
title: TranslationPaths;
filterKey: SearchCurrencyFilterKeys;
};

function SearchFiltersCurrencyBase({title, filterKey, multiselect = false}: SearchFiltersCurrencyBaseProps) {
const styles = useThemeStyles();
const {translate} = useLocalize();
const [currencyList] = useOnyx(ONYXKEYS.CURRENCY_LIST, {canBeMissing: false});
const [searchAdvancedFiltersForm] = useOnyx(ONYXKEYS.FORMS.SEARCH_ADVANCED_FILTERS_FORM, {canBeMissing: false});
Comment thread
JS00001 marked this conversation as resolved.
const selectedCurrencyData = searchAdvancedFiltersForm?.[filterKey];

const {selectedCurrenciesItems, currencyItems} = useMemo(() => {
const currencies: SearchSingleSelectionPickerItem[] = [];
const selectedCurrencies: SearchSingleSelectionPickerItem[] = [];

Object.keys(currencyList ?? {}).forEach((currencyCode) => {
if (currencyList?.[currencyCode]?.retired) {
return;
}

if (Array.isArray(selectedCurrencyData) && selectedCurrencyData?.includes(currencyCode) && !selectedCurrencies.some((currencyItem) => currencyItem.value === currencyCode)) {
selectedCurrencies.push({name: `${currencyCode} - ${getCurrencySymbol(currencyCode)}`, value: currencyCode});
}

if (!Array.isArray(selectedCurrencyData) && selectedCurrencyData === currencyCode) {
selectedCurrencies.push({name: `${currencyCode} - ${getCurrencySymbol(currencyCode)}`, value: currencyCode});
}

if (!currencies.some((item) => item.value === currencyCode)) {
currencies.push({name: `${currencyCode} - ${getCurrencySymbol(currencyCode)}`, value: currencyCode});
}
});

return {selectedCurrenciesItems: selectedCurrencies, currencyItems: currencies};
}, [currencyList, selectedCurrencyData]);

const handleOnSubmit = (values: string[] | string | undefined) => {
updateAdvancedFilters({[filterKey]: values ?? null});
};

return (
<ScreenWrapper
testID={SearchFiltersCurrencyBase.displayName}
shouldShowOfflineIndicatorInWideScreen
offlineIndicatorStyle={styles.mtAuto}
includeSafeAreaPaddingBottom
shouldEnableMaxHeight
>
<HeaderWithBackButton
title={translate(title)}
onBackButtonPress={() => {
Navigation.goBack(ROUTES.SEARCH_ADVANCED_FILTERS.getRoute());
}}
/>
<View style={[styles.flex1]}>
{multiselect && (
<SearchMultipleSelectionPicker
items={currencyItems}
initiallySelectedItems={selectedCurrenciesItems}
onSaveSelection={handleOnSubmit}
/>
)}
{!multiselect && (
<SearchSingleSelectionPicker
items={currencyItems}
initiallySelectedItem={selectedCurrenciesItems.at(0)}
onSaveSelection={handleOnSubmit}
/>
)}
</View>
</ScreenWrapper>
);
}

SearchFiltersCurrencyBase.displayName = 'SearchFiltersCurrencyBase';

export default SearchFiltersCurrencyBase;
8 changes: 7 additions & 1 deletion src/components/Search/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,12 @@ type SearchDateFilterKeys =
| typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.POSTED
| typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.WITHDRAWN;

type SearchAmountFilterKeys = typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.AMOUNT | typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.TOTAL;
type SearchAmountFilterKeys = typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.AMOUNT | typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.TOTAL | typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_AMOUNT;
Comment thread
luacmartins marked this conversation as resolved.

type SearchCurrencyFilterKeys =
| typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.CURRENCY
| typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_CURRENCY
| typeof CONST.SEARCH.SYNTAX_FILTER_KEYS.GROUP_CURRENCY;

type SearchFilterKey =
| ValueOf<typeof CONST.SEARCH.SYNTAX_FILTER_KEYS>
Expand Down Expand Up @@ -218,5 +223,6 @@ export type {
SingularSearchStatus,
SearchDatePreset,
SearchWithdrawalType,
SearchCurrencyFilterKeys,
UserFriendlyValue,
};
6 changes: 6 additions & 0 deletions src/hooks/useAdvancedSearchFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const typeFiltersKeys = {
CONST.SEARCH.SYNTAX_FILTER_KEYS.DATE,
CONST.SEARCH.SYNTAX_FILTER_KEYS.AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CATEGORY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.TAG,
CONST.SEARCH.SYNTAX_FILTER_KEYS.DESCRIPTION,
Comment thread
JS00001 marked this conversation as resolved.
Expand Down Expand Up @@ -70,6 +72,8 @@ const typeFiltersKeys = {
CONST.SEARCH.SYNTAX_FILTER_KEYS.DATE,
CONST.SEARCH.SYNTAX_FILTER_KEYS.AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CATEGORY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.TAG,
CONST.SEARCH.SYNTAX_FILTER_KEYS.DESCRIPTION,
Expand Down Expand Up @@ -105,6 +109,8 @@ const typeFiltersKeys = {
CONST.SEARCH.SYNTAX_FILTER_KEYS.DATE,
CONST.SEARCH.SYNTAX_FILTER_KEYS.AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_AMOUNT,
CONST.SEARCH.SYNTAX_FILTER_KEYS.PURCHASE_CURRENCY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.CATEGORY,
CONST.SEARCH.SYNTAX_FILTER_KEYS.TAG,
CONST.SEARCH.SYNTAX_FILTER_KEYS.DESCRIPTION,
Expand Down
2 changes: 2 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'Zusammenführen',
unstableInternetConnection: 'Instabile Internetverbindung. Bitte überprüfe dein Netzwerk und versuche es erneut.',
enableGlobalReimbursements: 'Globale Rückerstattungen aktivieren',
purchaseAmount: 'Kaufbetrag',
},
supportalNoAccess: {
title: 'Nicht so schnell',
Expand Down Expand Up @@ -6166,6 +6167,7 @@ const translations = {
withdrawn: 'Storniert',
billable: 'Abrechenbar',
reimbursable: 'Erstattungsfähig',
purchaseCurrency: 'Kaufwährung',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Bericht',
[CONST.SEARCH.GROUP_BY.FROM]: 'Von',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ const translations = {
merge: 'Merge',
unstableInternetConnection: 'Unstable internet connection. Please check your network and try again.',
enableGlobalReimbursements: 'Enable Global Reimbursements',
purchaseAmount: 'Purchase amount',
},
supportalNoAccess: {
title: 'Not so fast',
Expand Down Expand Up @@ -6140,6 +6141,7 @@ const translations = {
withdrawn: 'Withdrawn',
billable: 'Billable',
reimbursable: 'Reimbursable',
purchaseCurrency: 'Purchase currency',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Report',
[CONST.SEARCH.GROUP_BY.FROM]: 'From',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ const translations = {
merge: 'Fusionar',
unstableInternetConnection: 'Conexión a internet inestable. Por favor, revisa tu red e inténtalo de nuevo.',
enableGlobalReimbursements: 'Habilitar Reembolsos Globales',
purchaseAmount: 'Importe de compra',
},
supportalNoAccess: {
title: 'No tan rápido',
Expand Down Expand Up @@ -6161,6 +6162,7 @@ const translations = {
withdrawn: 'Retirada',
billable: 'Facturable',
reimbursable: 'Reembolsable',
purchaseCurrency: 'Moneda de compra',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Informe',
[CONST.SEARCH.GROUP_BY.FROM]: 'De',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'Fusionner',
unstableInternetConnection: 'Connexion Internet instable. Veuillez vérifier votre réseau et réessayer.',
enableGlobalReimbursements: 'Activer les remboursements globaux',
purchaseAmount: "Montant de l'achat",
},
supportalNoAccess: {
title: 'Pas si vite',
Expand Down Expand Up @@ -6180,6 +6181,7 @@ const translations = {
withdrawn: 'Retiré',
billable: 'Facturable',
reimbursable: 'Remboursable',
purchaseCurrency: "Devise d'achat",
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Rapport',
[CONST.SEARCH.GROUP_BY.FROM]: 'De',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'Unisci',
unstableInternetConnection: 'Connessione Internet instabile. Controlla la tua rete e riprova.',
enableGlobalReimbursements: 'Abilita i rimborsi globali',
purchaseAmount: 'Importo di acquisto',
},
supportalNoAccess: {
title: 'Non così in fretta',
Expand Down Expand Up @@ -6181,6 +6182,7 @@ const translations = {
withdrawn: 'Ritirato',
billable: 'Fatturabile',
reimbursable: 'Rimborsabile',
purchaseCurrency: 'Valuta di acquisto',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Rapporto',
[CONST.SEARCH.GROUP_BY.FROM]: 'Da',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'マージ',
unstableInternetConnection: 'インターネット接続が不安定です。ネットワークを確認してもう一度お試しください。',
enableGlobalReimbursements: 'グローバル払い戻しを有効にする',
purchaseAmount: '購入金額',
},
supportalNoAccess: {
title: 'ちょっと待ってください',
Expand Down Expand Up @@ -6138,6 +6139,7 @@ const translations = {
withdrawn: '取り消し',
billable: 'ビラブル',
reimbursable: '払い戻し可能',
purchaseCurrency: '購入通貨',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: '報告',
[CONST.SEARCH.GROUP_BY.FROM]: 'から',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ const translations = {
merge: 'Samenvoegen',
unstableInternetConnection: 'Onstabiele internetverbinding. Controleer je netwerk en probeer het opnieuw.',
enableGlobalReimbursements: 'Wereldwijde terugbetalingen inschakelen',
purchaseAmount: 'Aankoopbedrag',
},
supportalNoAccess: {
title: 'Niet zo snel',
Expand Down Expand Up @@ -6173,6 +6174,7 @@ const translations = {
withdrawn: 'Teruggetrokken',
billable: 'Factureerbaar',
reimbursable: 'Vergoedbaar',
purchaseCurrency: 'Aankoopvaluta',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Verslag',
[CONST.SEARCH.GROUP_BY.FROM]: 'Van',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'Scal',
unstableInternetConnection: 'Niestabilne połączenie internetowe. Sprawdź swoją sieć i spróbuj ponownie.',
enableGlobalReimbursements: 'Włącz globalne zwroty',
purchaseAmount: 'Kwota zakupu',
},
supportalNoAccess: {
title: 'Nie tak szybko',
Expand Down Expand Up @@ -6159,6 +6160,7 @@ const translations = {
withdrawn: 'Wycofane',
billable: 'Podlegające fakturowaniu',
reimbursable: 'Podlegające zwrotowi',
purchaseCurrency: 'Waluta zakupu',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Raport',
[CONST.SEARCH.GROUP_BY.FROM]: 'Od',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ const translations = {
merge: 'Mesclar',
unstableInternetConnection: 'Conexão de internet instável. Verifique sua rede e tente novamente.',
enableGlobalReimbursements: 'Ativar reembolsos globais',
purchaseAmount: 'Valor da compra',
},
supportalNoAccess: {
title: 'Não tão rápido',
Expand Down Expand Up @@ -6174,6 +6175,7 @@ const translations = {
withdrawn: 'Retirado',
billable: 'Faturável',
reimbursable: 'Reembolsável',
purchaseCurrency: 'Moeda da compra',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: 'Relatório',
[CONST.SEARCH.GROUP_BY.FROM]: 'De',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ const translations = {
merge: '合并',
unstableInternetConnection: '互联网连接不稳定。请检查你的网络,然后重试。',
enableGlobalReimbursements: '启用全球报销',
purchaseAmount: '购买金额',
},
supportalNoAccess: {
title: '慢一点',
Expand Down Expand Up @@ -6056,6 +6057,7 @@ const translations = {
withdrawn: '撤回',
billable: '可计费的',
reimbursable: '可报销的',
purchaseCurrency: '购买货币',
groupBy: {
[CONST.SEARCH.GROUP_BY.REPORTS]: '报告',
[CONST.SEARCH.GROUP_BY.FROM]: '从',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ const SearchAdvancedFiltersModalStackNavigator = createModalStackNavigator<Searc
[SCREENS.SEARCH.ADVANCED_FILTERS_BILLABLE_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersBillablePage').default,
[SCREENS.SEARCH.ADVANCED_FILTERS_REIMBURSABLE_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersReimbursablePage').default,
[SCREENS.SEARCH.ADVANCED_FILTERS_WORKSPACE_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersWorkspacePage').default,
[SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_AMOUNT_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersPurchaseAmountPage').default,
[SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_CURRENCY_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersPurchaseCurrencyPage').default,
[SCREENS.SEARCH.ADVANCED_FILTERS_WITHDRAWAL_ID_RHP]: () => require<ReactComponentModule>('@pages/Search/SearchAdvancedFiltersPage/SearchFiltersWithdrawalIDPage').default,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const SEARCH_TO_RHP: Partial<Record<keyof SearchFullscreenNavigatorParamList, st
SCREENS.SEARCH.ADVANCED_FILTERS_ASSIGNEE_RHP,
SCREENS.SEARCH.ADVANCED_FILTERS_REIMBURSABLE_RHP,
SCREENS.SEARCH.ADVANCED_FILTERS_BILLABLE_RHP,
SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_AMOUNT_RHP,
SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_CURRENCY_RHP,
SCREENS.SEARCH.SAVED_SEARCH_RENAME_RHP,
],
};
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Navigation/linkingConfig/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,8 @@ const config: LinkingOptions<RootNavigatorParamList>['config'] = {
[SCREENS.SEARCH.ADVANCED_FILTERS_BILLABLE_RHP]: ROUTES.SEARCH_ADVANCED_FILTERS.getRoute(CONST.SEARCH.SYNTAX_FILTER_KEYS.BILLABLE),
[SCREENS.SEARCH.ADVANCED_FILTERS_REIMBURSABLE_RHP]: ROUTES.SEARCH_ADVANCED_FILTERS.getRoute(CONST.SEARCH.SYNTAX_FILTER_KEYS.REIMBURSABLE),
[SCREENS.SEARCH.ADVANCED_FILTERS_WORKSPACE_RHP]: ROUTES.SEARCH_ADVANCED_FILTERS.getRoute(CONST.SEARCH.SEARCH_USER_FRIENDLY_KEYS.POLICY_ID),
[SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_AMOUNT_RHP]: ROUTES.SEARCH_ADVANCED_FILTERS.getRoute(CONST.SEARCH.SEARCH_USER_FRIENDLY_KEYS.PURCHASE_AMOUNT),
[SCREENS.SEARCH.ADVANCED_FILTERS_PURCHASE_CURRENCY_RHP]: ROUTES.SEARCH_ADVANCED_FILTERS.getRoute(CONST.SEARCH.SEARCH_USER_FRIENDLY_KEYS.PURCHASE_CURRENCY),
},
},
[SCREENS.RIGHT_MODAL.SEARCH_SAVED_SEARCH]: {
Expand Down
Loading
Loading