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
3 changes: 0 additions & 3 deletions src/types/onyx/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1147,9 +1147,6 @@ type Policy = OnyxCommon.OnyxValueWithOfflineFeedback<
/** When the monthly scheduled submit should happen */
autoReportingOffset?: AutoReportingOffset;

/** The accountID of manager who the employee submits their expenses to on paid policies */
submitsTo?: number;

/** The employee list of the policy */
employeeList?: OnyxTypes.PolicyEmployeeList;

Expand Down
1 change: 0 additions & 1 deletion tests/utils/LHNTestUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ function getFakePolicy(id = '1', name = 'Workspace-Test-001'): Policy {
},
autoReportingOffset: 1,
preventSelfApproval: true,
submitsTo: 123456,
defaultBillable: false,
disabledFields: {defaultBillable: true, reimbursable: false},
approvalMode: 'BASIC',
Expand Down
1 change: 0 additions & 1 deletion tests/utils/collections/policies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default function createRandomPolicy(index: number): Policy {
},
autoReportingOffset: 1,
preventSelfApproval: randBoolean(),
submitsTo: index,
outputCurrency: randCurrencyCode(),
role: rand(Object.values(CONST.POLICY.ROLE)),
owner: randEmail(),
Expand Down