Skip to content

Commit

Permalink
PR comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DhaaraniCIT committed Dec 2, 2024
1 parent 05f244a commit b61df47
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class QbdDirectBaseMappingComponent implements OnInit {
});
}

cccAccpuntOptions(): void {
getCCCAccountOptions(): void {
if (this.cccExpenseObject === QBDCorporateCreditCardExpensesObject.CREDIT_CARD_PURCHASE) {
this.destinationOptionsWatcher(['CreditCard']);
} else if (this.cccExpenseObject === QBDCorporateCreditCardExpensesObject.JOURNAL_ENTRY && this.employeeFieldMapping === FyleField.EMPLOYEE && this.nameInJE === NameInJournalEntry.EMPLOYEE) {
Expand All @@ -88,7 +88,7 @@ export class QbdDirectBaseMappingComponent implements OnInit {
}
}

categoryOptions(): void {
getAccountOptions(): void {
this.destinationOptionsWatcher(this.chartOfAccounts);
}

Expand All @@ -108,9 +108,9 @@ export class QbdDirectBaseMappingComponent implements OnInit {
this.destinationField = this.getDestinationField(responses[0], responses[2].results);

if (this.sourceField === 'CORPORATE_CARD') {
this.cccAccpuntOptions();
this.getCCCAccountOptions();
} else if (this.sourceField === 'CATEGORY') {
this.categoryOptions();
this.getAccountOptions();
} else {
this.destinationOptionsWatcher();
}
Expand Down

0 comments on commit b61df47

Please sign in to comment.