Skip to content

Commit

Permalink
Merge pull request #46726 from Expensify/georgia-reimbursable
Browse files Browse the repository at this point in the history
[No QA] Add optional reimbursable param to App
  • Loading branch information
Julesssss authored Aug 6, 2024
2 parents d7c6bca + d3fae08 commit 3775dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/API/parameters/RequestMoneyParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type RequestMoneyParams = {
receiptGpsPoints?: string;
transactionThreadReportID: string;
createdReportActionIDForThread: string;
reimbursible?: boolean;
};

export default RequestMoneyParams;
2 changes: 2 additions & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3499,6 +3499,7 @@ function requestMoney(
actionableWhisperReportActionID?: string,
linkedTrackedExpenseReportAction?: OnyxTypes.ReportAction,
linkedTrackedExpenseReportID?: string,
reimbursible?: boolean,
) {
// If the report is iou or expense report, we should get the linked chat report to be passed to the getMoneyRequestInformation function
const isMoneyRequestReport = ReportUtils.isMoneyRequestReport(report);
Expand Down Expand Up @@ -3603,6 +3604,7 @@ function requestMoney(
receiptGpsPoints: gpsPoints ? JSON.stringify(gpsPoints) : undefined,
transactionThreadReportID,
createdReportActionIDForThread,
reimbursible,
};

// eslint-disable-next-line rulesdir/no-multiple-api-calls
Expand Down

0 comments on commit 3775dae

Please sign in to comment.