Skip to content

Commit

Permalink
PR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DhaaraniCIT committed Dec 10, 2024
1 parent c24c61e commit 4343718
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ export class QbdDirectExportSettingsComponent implements OnInit{
if (defaultCCCAccountsPayableAccountNameValue?.detail?.account_type === 'AccountsPayable') {
this.exportSettingsForm.controls.creditCardExportGroup.patchValue(QbdDirectExportSettingModel.expenseGroupingFieldOptions()[1].value);
this.exportSettingsForm.controls.creditCardExportGroup.disable();
} else {
this.exportSettingsForm.controls.creditCardExportGroup.enable();
}
});
}
Expand All @@ -265,6 +267,8 @@ export class QbdDirectExportSettingsComponent implements OnInit{
if (defaultReimbursableAccountsPayableAccountNameValue?.detail?.account_type === 'AccountsPayable') {
this.exportSettingsForm.controls.reimbursableExportGroup.patchValue(QbdDirectExportSettingModel.expenseGroupingFieldOptions()[1].value);
this.exportSettingsForm.controls.reimbursableExportGroup.disable();
} else {
this.exportSettingsForm.controls.reimbursableExportGroup.enable();
}
});
}
Expand Down

0 comments on commit 4343718

Please sign in to comment.