Skip to content

Commit 9a7bf91

Browse files
committed
prettier
1 parent 44d3a2c commit 9a7bf91

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/pages/iou/request/step/IOURequestEditReportCommon.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,7 @@ function IOURequestEditReportCommon({
225225
return;
226226
}
227227

228-
if (
229-
item?.policyID &&
230-
shouldRestrictUserBillableActions(item.policyID, ownerBillingGracePeriodEnd, userBillingGracePeriodEnds, amountOwed, currentUserPersonalDetails.accountID)
231-
) {
228+
if (item?.policyID && shouldRestrictUserBillableActions(item.policyID, ownerBillingGracePeriodEnd, userBillingGracePeriodEnds, amountOwed, currentUserPersonalDetails.accountID)) {
232229
Navigation.navigate(ROUTES.RESTRICTED_ACTION.getRoute(item.policyID));
233230
return;
234231
}

src/pages/iou/request/step/IOURequestStepReport.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,7 @@ function IOURequestStepReport({route, transaction}: IOURequestStepReportProps) {
260260

261261
const createReport = () => {
262262
const restrictionPolicyID = isPerDiemTransaction ? perDiemOriginalPolicy?.id : policyForMovingExpensesID;
263-
if (
264-
restrictionPolicyID &&
265-
shouldRestrictUserBillableActions(restrictionPolicyID, ownerBillingGracePeriodEnd, userBillingGracePeriodEnds, amountOwed, session?.accountID)
266-
) {
263+
if (restrictionPolicyID && shouldRestrictUserBillableActions(restrictionPolicyID, ownerBillingGracePeriodEnd, userBillingGracePeriodEnds, amountOwed, session?.accountID)) {
267264
Navigation.navigate(ROUTES.RESTRICTED_ACTION.getRoute(restrictionPolicyID));
268265
return;
269266
}

0 commit comments

Comments
 (0)