Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
96b5572
feat: enable duplicating per diem expenses
jjcoffee Jan 2, 2026
250ae0f
fix: ts
jjcoffee Jan 2, 2026
888365f
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 7, 2026
29c83c8
fix: remove parsing of comment when duplicating per diem expenses
jjcoffee Jan 7, 2026
47f74c6
fix: reviewer comment
jjcoffee Jan 7, 2026
382d327
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 16, 2026
b2e6090
fix: move changes to new file
jjcoffee Jan 16, 2026
42cd7d6
fix: ts error
jjcoffee Jan 16, 2026
ea1674a
fix: errors after merge
jjcoffee Jan 19, 2026
88f2532
feat: add support for customUnitPolicyID
jjcoffee Jan 19, 2026
8509a62
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 22, 2026
95dacff
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 23, 2026
87552be
feat: block duplicating per diems between workspaces
jjcoffee Jan 23, 2026
fb58916
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 23, 2026
2a76386
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Jan 28, 2026
2d82153
fix: tweak duplicate per diem error copy
jjcoffee Jan 28, 2026
520e296
feat: add translations
jjcoffee Feb 2, 2026
91b877a
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Feb 2, 2026
03eff06
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Feb 4, 2026
04402c4
chore: add sentry label
jjcoffee Feb 4, 2026
977fe7d
fix: use the correct const
jjcoffee Feb 4, 2026
00de8e1
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Feb 10, 2026
e7a4df8
Merge branch 'main' into feat/duplicate-per-diem-expenses
jjcoffee Feb 11, 2026
22e5a80
fix: reviewer comment
jjcoffee Feb 11, 2026
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
19 changes: 18 additions & 1 deletion src/components/MoneyReportHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ import {
isExpensifyCardTransaction,
isPayAtEndExpense as isPayAtEndExpenseTransactionUtils,
isPending,
isPerDiemRequest,
isScanning,
shouldShowBrokenConnectionViolationForMultipleTransactions,
} from '@libs/TransactionUtils';
Expand Down Expand Up @@ -338,6 +339,7 @@ function MoneyReportHeader({
const isDEWPolicy = isDEWBetaEnabled && hasDynamicExternalWorkflow(policy);
const hasViolations = hasViolationsReportUtils(moneyRequestReport?.reportID, allTransactionViolations, accountID, email ?? '');
const hasCustomUnitOutOfPolicyViolation = hasCustomUnitOutOfPolicyViolationTransactionUtils(transactionViolations);
const isPerDiemRequestOnNonDefaultWorkspace = isPerDiemRequest(transaction) && defaultExpensePolicy?.id !== policy?.id;

const [exportModalStatus, setExportModalStatus] = useState<ExportType | null>(null);
const {showConfirmModal} = useConfirmModal();
Expand Down Expand Up @@ -409,6 +411,7 @@ function MoneyReportHeader({
const [isDownloadErrorModalVisible, setIsDownloadErrorModalVisible] = useState(false);
const [isHoldEducationalModalVisible, setIsHoldEducationalModalVisible] = useState(false);
const [duplicateDistanceErrorModalVisible, setDuplicateDistanceErrorModalVisible] = useState(false);
const [duplicatePerDiemErrorModalVisible, setDuplicatePerDiemErrorModalVisible] = useState(false);
const [rejectModalAction, setRejectModalAction] = useState<ValueOf<
typeof CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.HOLD | typeof CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.REJECT | typeof CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.REJECT_BULK
> | null>(null);
Expand Down Expand Up @@ -1403,6 +1406,11 @@ function MoneyReportHeader({
return;
}

if (isPerDiemRequestOnNonDefaultWorkspace) {
setDuplicatePerDiemErrorModalVisible(true);
return;
}

if (!isDuplicateActive || !transaction) {
return;
}
Expand All @@ -1411,7 +1419,7 @@ function MoneyReportHeader({

duplicateExpenseTransaction([transaction]);
},
shouldCloseModalOnSelect: hasCustomUnitOutOfPolicyViolation || activePolicyExpenseChat?.iouReportID === moneyRequestReport?.reportID,
shouldCloseModalOnSelect: isPerDiemRequestOnNonDefaultWorkspace || hasCustomUnitOutOfPolicyViolation || activePolicyExpenseChat?.iouReportID === moneyRequestReport?.reportID,
},
[CONST.REPORT.SECONDARY_ACTIONS.CHANGE_WORKSPACE]: {
text: translate('iou.changeWorkspace'),
Expand Down Expand Up @@ -1893,6 +1901,15 @@ function MoneyReportHeader({
prompt={translate('iou.correctDistanceRateError')}
shouldShowCancelButton={false}
/>
<ConfirmModal
title={translate('common.duplicateExpense')}
isVisible={duplicatePerDiemErrorModalVisible}
onConfirm={() => setDuplicatePerDiemErrorModalVisible(false)}
onCancel={() => setDuplicatePerDiemErrorModalVisible(false)}
confirmText={translate('common.buttonConfirm')}
prompt={translate('iou.duplicateNonDefaultWorkspacePerDiemError')}
shouldShowCancelButton={false}
/>
{!!rejectModalAction && (
<HoldOrRejectEducationalModal
onClose={dismissRejectModalBasedOnAction}
Expand Down
19 changes: 18 additions & 1 deletion src/components/MoneyRequestHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import {
isExpensifyCardTransaction,
isOnHold as isOnHoldTransactionUtils,
isPending,
isPerDiemRequest,
isScanning,
removeSettledAndApprovedTransactions,
shouldShowBrokenConnectionViolation as shouldShowBrokenConnectionViolationTransactionUtils,
Expand Down Expand Up @@ -132,6 +133,7 @@ function MoneyRequestHeader({report, parentReportAction, policy, onBackButtonPre
typeof CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.HOLD | typeof CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.REJECT
> | null>(null);
const [duplicateDistanceErrorModalVisible, setDuplicateDistanceErrorModalVisible] = useState(false);
const [duplicatePerDiemErrorModalVisible, setDuplicatePerDiemErrorModalVisible] = useState(false);
const [isDuplicateActive, temporarilyDisableDuplicateAction] = useThrottledButtonState();
const [dismissedRejectUseExplanation] = useOnyx(ONYXKEYS.NVP_DISMISSED_REJECT_USE_EXPLANATION, {canBeMissing: true});
const [dismissedHoldUseExplanation] = useOnyx(ONYXKEYS.NVP_DISMISSED_HOLD_USE_EXPLANATION, {canBeMissing: true});
Expand All @@ -144,6 +146,7 @@ function MoneyRequestHeader({report, parentReportAction, policy, onBackButtonPre
const {login: currentUserLogin, email, accountID} = useCurrentUserPersonalDetails();
const defaultExpensePolicy = useDefaultExpensePolicy();
const activePolicyExpenseChat = getPolicyExpenseChat(accountID, defaultExpensePolicy?.id);
const isPerDiemRequestOnNonDefaultWorkspace = isPerDiemRequest(transaction) && defaultExpensePolicy?.id !== policy?.id;
const isOnHold = isOnHoldTransactionUtils(transaction);
const isDuplicate = isDuplicateTransactionUtils(transaction, email ?? '', accountID, report, policy, transactionViolations);
const reportID = report?.reportID;
Expand Down Expand Up @@ -458,6 +461,11 @@ function MoneyRequestHeader({report, parentReportAction, policy, onBackButtonPre
return;
}

if (isPerDiemRequestOnNonDefaultWorkspace) {
setDuplicatePerDiemErrorModalVisible(true);
return;
}

if (!isDuplicateActive || !transaction) {
return;
}
Expand All @@ -466,7 +474,7 @@ function MoneyRequestHeader({report, parentReportAction, policy, onBackButtonPre

duplicateTransaction([transaction]);
},
shouldCloseModalOnSelect: hasCustomUnitOutOfPolicyViolation,
shouldCloseModalOnSelect: hasCustomUnitOutOfPolicyViolation || isPerDiemRequestOnNonDefaultWorkspace,
},
[CONST.REPORT.TRANSACTION_SECONDARY_ACTIONS.VIEW_DETAILS]: {
value: CONST.REPORT.SECONDARY_ACTIONS.VIEW_DETAILS,
Expand Down Expand Up @@ -637,6 +645,15 @@ function MoneyRequestHeader({report, parentReportAction, policy, onBackButtonPre
prompt={translate('iou.correctDistanceRateError')}
shouldShowCancelButton={false}
/>
<ConfirmModal
title={translate('common.duplicateExpense')}
isVisible={duplicatePerDiemErrorModalVisible}
onConfirm={() => setDuplicatePerDiemErrorModalVisible(false)}
onCancel={() => setDuplicatePerDiemErrorModalVisible(false)}
confirmText={translate('common.buttonConfirm')}
prompt={translate('iou.duplicateNonDefaultWorkspacePerDiemError')}
shouldShowCancelButton={false}
/>
{!!rejectModalAction && (
<HoldOrRejectEducationalModal
onClose={dismissRejectModalBasedOnAction}
Expand Down
2 changes: 2 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,8 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} über <a href="${policyRulesRoute}">Workspace-Regeln</a>`;
},
duplicateNonDefaultWorkspacePerDiemError:
'Sie können Per-Diem-Ausgaben nicht über mehrere Workspaces hinweg duplizieren, da sich die Sätze zwischen den Workspaces unterscheiden können.',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,7 @@ const translations = {

return `${formatList(fragments)} via <a href="${policyRulesRoute}">workspace rules</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: "You can't duplicate per diem expenses across workspaces because the rates may differ between workspaces.",
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ const translations: TranslationDeepObject<typeof en> = {

return `${formatList(fragments)} a través de <a href="${policyRulesRoute}">reglas del espacio de trabajo</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: 'No puedes duplicar gastos de viáticos entre espacios de trabajo porque las tarifas pueden variar entre ellos.',
},
transactionMerge: {
listPage: {
Expand Down
2 changes: 2 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1574,6 +1574,8 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} via les <a href="${policyRulesRoute}">règles de l’espace de travail</a>`;
},
duplicateNonDefaultWorkspacePerDiemError:
'Vous ne pouvez pas dupliquer les indemnités journalières entre plusieurs espaces de travail, car les taux peuvent différer d’un espace de travail à l’autre.',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,7 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} tramite le <a href="${policyRulesRoute}">regole dello spazio di lavoro</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: 'Non puoi duplicare le spese di diaria tra diversi spazi di lavoro perché le tariffe potrebbero essere diverse tra gli spazi di lavoro.',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,7 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)}(<a href="${policyRulesRoute}">ワークスペースルール</a>経由)`;
},
duplicateNonDefaultWorkspacePerDiemError: 'ワークスペースごとに日当レートが異なる場合があるため、日当経費をワークスペース間で複製することはできません。',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,7 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} via <a href="${policyRulesRoute}">werkruimte­regels</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: 'Je kunt dagvergoedingen niet dupliceren tussen werkruimtes, omdat de tarieven per werkruimte kunnen verschillen.',
},
transactionMerge: {
listPage: {
Expand Down
2 changes: 2 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,8 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} przez <a href="${policyRulesRoute}">zasady przestrzeni roboczej</a>`;
},
duplicateNonDefaultWorkspacePerDiemError:
'Nie możesz duplikować wydatków z tytułu diet między przestrzeniami roboczymi, ponieważ stawki mogą się różnić między poszczególnymi przestrzeniami.',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,7 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} via <a href="${policyRulesRoute}">regras do espaço de trabalho</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: 'Você não pode duplicar despesas de diárias entre espaços de trabalho porque as tarifas podem variar entre eles.',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1535,6 +1535,7 @@ const translations: TranslationDeepObject<typeof en> = {
});
return `${formatList(fragments)} 通过 <a href="${policyRulesRoute}">工作区规则</a>`;
},
duplicateNonDefaultWorkspacePerDiemError: '您无法在不同工作区之间复制每日津贴报销,因为各工作区的补贴标准可能不同。',
},
transactionMerge: {
listPage: {
Expand Down
1 change: 1 addition & 0 deletions src/libs/API/parameters/CreatePerDiemRequestParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type CreatePerDiemRequestParams = {
billable?: boolean;
reimbursable?: boolean;
attendees?: string;
customUnitPolicyID?: string;
};

export default CreatePerDiemRequestParams;
9 changes: 7 additions & 2 deletions src/libs/ReportSecondaryActionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,13 @@ function isDuplicateAction(report: Report, reportTransactions: Transaction[]): b

const reportTransaction = reportTransactions.at(0);

// Per diem and distance requests will be handled separately in a follow-up
if (isPerDiemRequestTransactionUtils(reportTransaction) || isDistanceRequestTransactionUtils(reportTransaction)) {
if (isDistanceRequestTransactionUtils(reportTransaction)) {
return false;
}

// We can't duplicate per diem expenses that don't have start & end dates.
const dates = reportTransaction?.comment?.customUnit?.attributes?.dates;
Comment thread
jjcoffee marked this conversation as resolved.
Resolved
if (isPerDiemRequestTransactionUtils(reportTransaction) && (!dates?.start || !dates?.end)) {
Comment thread
jjcoffee marked this conversation as resolved.
Resolved
Comment thread
jjcoffee marked this conversation as resolved.
Resolved
return false;
}

Expand Down
16 changes: 15 additions & 1 deletion src/libs/actions/IOU/Duplicate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import ONYXKEYS from '@src/ONYXKEYS';
import type * as OnyxTypes from '@src/types/onyx';
import type {Attendee} from '@src/types/onyx/IOU';
import type {WaypointCollection} from '@src/types/onyx/Transaction';
import type {CreateDistanceRequestInformation, CreateTrackExpenseParams, RequestMoneyInformation} from '.';
import type {CreateDistanceRequestInformation, CreateTrackExpenseParams, PerDiemExpenseInformation, RequestMoneyInformation} from '.';
import {
createDistanceRequest,
getAllReportActionsFromIOU,
Expand All @@ -38,6 +38,7 @@ import {
getRecentWaypoints,
getUserAccountID,
requestMoney,
submitPerDiemExpense,
trackExpense,
} from '.';

Expand Down Expand Up @@ -633,6 +634,19 @@ function duplicateExpenseTransaction({
};
return createDistanceRequest(distanceParams);
}
case CONST.SEARCH.TRANSACTION_TYPE.PER_DIEM: {
const perDiemParams: PerDiemExpenseInformation = {
...params,
transactionParams: {
...(params.transactionParams ?? {}),
comment: transactionDetails?.comment ?? '',
customUnit: transaction?.comment?.customUnit ?? {},
},
hasViolations: false,
customUnitPolicyID,
};
return submitPerDiemExpense(perDiemParams);
}
default:
return requestMoney(params);
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/actions/IOU/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@
quickAction: OnyxEntry<OnyxTypes.QuickAction>;
policyRecentlyUsedCurrencies: string[];
betas: OnyxEntry<OnyxTypes.Beta[]>;
customUnitPolicyID?: string;
};

type PerDiemExpenseInformationParams = {
Expand Down Expand Up @@ -792,7 +793,7 @@
};

let allPersonalDetails: OnyxTypes.PersonalDetailsList = {};
Onyx.connect({

Check warning on line 796 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
callback: (value) => {
allPersonalDetails = value ?? {};
Expand Down Expand Up @@ -885,7 +886,7 @@
};

let allTransactions: NonNullable<OnyxCollection<OnyxTypes.Transaction>> = {};
Onyx.connect({

Check warning on line 889 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.TRANSACTION,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -899,7 +900,7 @@
});

let allTransactionDrafts: NonNullable<OnyxCollection<OnyxTypes.Transaction>> = {};
Onyx.connect({

Check warning on line 903 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.TRANSACTION_DRAFT,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -908,7 +909,7 @@
});

let allTransactionViolations: NonNullable<OnyxCollection<OnyxTypes.TransactionViolations>> = {};
Onyx.connect({

Check warning on line 912 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -922,7 +923,7 @@
});

let allPolicyTags: OnyxCollection<OnyxTypes.PolicyTagLists> = {};
Onyx.connect({

Check warning on line 926 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.POLICY_TAGS,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -935,7 +936,7 @@
});

let allReports: OnyxCollection<OnyxTypes.Report>;
Onyx.connect({

Check warning on line 939 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -944,7 +945,7 @@
});

let allReportNameValuePairs: OnyxCollection<OnyxTypes.ReportNameValuePairs>;
Onyx.connect({

Check warning on line 948 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -954,7 +955,7 @@

let userAccountID = -1;
let currentUserEmail = '';
Onyx.connect({

Check warning on line 958 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.SESSION,
callback: (value) => {
currentUserEmail = value?.email ?? '';
Expand All @@ -963,7 +964,7 @@
});

let deprecatedCurrentUserPersonalDetails: OnyxEntry<OnyxTypes.PersonalDetails>;
Onyx.connect({

Check warning on line 967 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
callback: (value) => {
deprecatedCurrentUserPersonalDetails = value?.[userAccountID] ?? undefined;
Expand All @@ -971,7 +972,7 @@
});

let allReportActions: OnyxCollection<OnyxTypes.ReportActions>;
Onyx.connect({

Check warning on line 975 in src/libs/actions/IOU/index.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT_ACTIONS,
waitForCollectionCallback: true,
callback: (actions) => {
Expand Down Expand Up @@ -6751,6 +6752,7 @@
quickAction,
policyRecentlyUsedCurrencies,
betas,
customUnitPolicyID,
} = submitPerDiemExpenseInformation;
const {payeeAccountID} = participantParams;
const {currency, comment = '', category, tag, created, customUnit, attendees, isFromGlobalCreate} = transactionParams;
Expand Down Expand Up @@ -6833,6 +6835,7 @@
billable,
reimbursable,
attendees: attendees ? JSON.stringify(attendees) : undefined,
customUnitPolicyID,
};

playSound(SOUNDS.DONE);
Expand Down Expand Up @@ -13339,6 +13342,7 @@
ReplaceReceipt,
RequestMoneyParticipantParams,
PerDiemExpenseTransactionParams,
PerDiemExpenseInformation,
UpdateMoneyRequestData,
UpdateMoneyRequestDataKeys,
BasePolicyParams,
Expand Down
Loading