Skip to content

Commit ba2d615

Browse files
committed
fix: Unable to create expense in the report after Concierge joins the report
1 parent e6e5bfd commit ba2d615

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10051,7 +10051,7 @@ function getMoneyRequestOptions(
1005110051
// eslint-disable-next-line @typescript-eslint/no-deprecated
1005210052
const policyOwnerAccountID = getPolicy(report?.policyID)?.ownerAccountID;
1005310053
const isPolicyOwnedByExpensifyAccounts = policyOwnerAccountID ? CONST.EXPENSIFY_ACCOUNT_IDS.includes(policyOwnerAccountID) : false;
10054-
if (doParticipantsIncludeExpensifyAccounts && !isPolicyOwnedByExpensifyAccounts) {
10054+
if (doParticipantsIncludeExpensifyAccounts && !isPolicyOwnedByExpensifyAccounts && !isPolicyExpenseChat(report) && !isExpenseReport(report)) {
1005510055
// Allow create expense option for Manager McTest report
1005610056
if (
1005710057
canRequestMoney(report, policy, otherParticipants) &&

0 commit comments

Comments
 (0)