From b61df471fc4777052ba61ea401d3ebd4ddbaa811 Mon Sep 17 00:00:00 2001 From: DhaaraniCIT Date: Mon, 2 Dec 2024 13:09:03 +0530 Subject: [PATCH] PR comments fix --- .../qbd-direct-base-mapping.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/integrations/qbd-direct/qbd-direct-main/qbd-direct-mapping/qbd-direct-base-mapping/qbd-direct-base-mapping.component.ts b/src/app/integrations/qbd-direct/qbd-direct-main/qbd-direct-mapping/qbd-direct-base-mapping/qbd-direct-base-mapping.component.ts index 2e5b2b72b..53b5e181c 100644 --- a/src/app/integrations/qbd-direct/qbd-direct-main/qbd-direct-mapping/qbd-direct-base-mapping/qbd-direct-base-mapping.component.ts +++ b/src/app/integrations/qbd-direct/qbd-direct-main/qbd-direct-mapping/qbd-direct-base-mapping/qbd-direct-base-mapping.component.ts @@ -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) { @@ -88,7 +88,7 @@ export class QbdDirectBaseMappingComponent implements OnInit { } } - categoryOptions(): void { + getAccountOptions(): void { this.destinationOptionsWatcher(this.chartOfAccounts); } @@ -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(); }