Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashpatil78 committed Mar 13, 2024
1 parent fa1d444 commit 74f6f11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/fyle/add-edit-mileage/add-edit-mileage.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2380,7 +2380,8 @@ export class AddEditMileagePage implements OnInit {
cost_center_name: formValue.costCenter && formValue.costCenter.name,
cost_center_code: formValue.costCenter && formValue.costCenter.code,
commute_deduction: this.showCommuteDeductionField ? formValue.commuteDeduction : null,
commute_details_id: this.showCommuteDeductionField ? this.commuteDetails?.id : null,
commute_details_id:
this.showCommuteDeductionField && formValue.commuteDeduction ? this.commuteDetails?.id : null,
},
dataUrls: [],
ou: etxn.ou,
Expand Down

0 comments on commit 74f6f11

Please sign in to comment.