Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Show GL options in category mapping when CCC is BILL, CCT, JE (#158)
Browse files Browse the repository at this point in the history
* for CCC only, show GL on category

* fix 1

* pr comment
  • Loading branch information
anishfyle authored Aug 9, 2023
1 parent 7e65103 commit d16678f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ <h2 mat-dialog-title>
</mat-error>
</mat-form-field>

<div class="mat-body-strong" *ngIf="configuration.reimbursable_expenses_object === 'BILL' || configuration.reimbursable_expenses_object === 'JOURNAL_ENTRY'">
<div class="mat-body-strong" *ngIf="configuration.reimbursable_expenses_object === 'BILL' || configuration.reimbursable_expenses_object === 'JOURNAL_ENTRY' || (!configuration.reimbursable_expenses_object && (configuration.corporate_credit_card_expenses_object==='JOURNAL_ENTRY' || configuration.corporate_credit_card_expenses_object==='BILL' || configuration.corporate_credit_card_expenses_object==='CHARGE_CARD_TRANSACTION'))">
<strong class="mappings-dialog--label">
Gl Account
</strong>
</div>
<mat-form-field class="mappings-dialog--field" appearance="outline" *ngIf="configuration.reimbursable_expenses_object === 'BILL' || configuration.reimbursable_expenses_object === 'JOURNAL_ENTRY'">
<mat-form-field class="mappings-dialog--field" appearance="outline" *ngIf="configuration.reimbursable_expenses_object === 'BILL' || configuration.reimbursable_expenses_object === 'JOURNAL_ENTRY' || (!configuration.reimbursable_expenses_object && (configuration.corporate_credit_card_expenses_object==='JOURNAL_ENTRY' || configuration.corporate_credit_card_expenses_object==='BILL' || configuration.corporate_credit_card_expenses_object==='CHARGE_CARD_TRANSACTION'))">
<input type="text" formControlName="sageIntacctAccount" placeholder="Choose Sage Intacct account" matInput
[matAutocomplete]="siAc" [errorStateMatcher]="matcher">
<mat-autocomplete #siAc="matAutocomplete" [displayWith]="mappingDisplay">
Expand Down

0 comments on commit d16678f

Please sign in to comment.