diff --git a/src/app/fyle/add-edit-mileage/add-edit-mileage.page.html b/src/app/fyle/add-edit-mileage/add-edit-mileage.page.html index 2203bffffc..5cf2e572de 100644 --- a/src/app/fyle/add-edit-mileage/add-edit-mileage.page.html +++ b/src/app/fyle/add-edit-mileage/add-edit-mileage.page.html @@ -151,59 +151,62 @@ -
- - - +
-
-
{{label}}
-
- {{distance.toFixed(2) + ' ' + distanceUnit}} -
-
- {{distance + ' ' + distanceUnit}} -
-
- - Add Location + + + +
+
{{label}}
+
+ {{distance.toFixed(2) + ' ' + distanceUnit}} +
+
+ {{distance + ' ' + distanceUnit}} +
+
+ + Add Location +
-
- check - -
-
- Select Commute Deduction. -
+ check + +
+
+ Select Commute Deduction. +
+ diff --git a/src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts b/src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts index a192b7154e..5b9d29fb83 100644 --- a/src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts +++ b/src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts @@ -550,7 +550,15 @@ export class AddEditMileagePage implements OnInit { }).pipe( switchMap(({ expenseFieldsMap, mileageCategoriesContainer }) => { // skipped distance unit, location 1 and location 2 - confirm this these are not used at all - const fields = ['purpose', 'txn_dt', 'cost_center_id', 'project_id', 'distance', 'billable']; + const fields = [ + 'purpose', + 'txn_dt', + 'cost_center_id', + 'project_id', + 'distance', + 'billable', + 'commute_deduction', + ]; return this.expenseFieldsService.filterByOrgCategoryId( expenseFieldsMap,