Skip to content

Commit

Permalink
Add boolean shouldShowFundMapping
Browse files Browse the repository at this point in the history
Updated organization.component.html
  • Loading branch information
Onyx2406 authored and onyx243 committed Sep 10, 2023
1 parent b6efd0e commit 4062c66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/app/organization/organization.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h4 matLine>Standing Instructions History</h4>
</mat-list-item>
</div>

<div #fundmapping>
<div #fundmapping *ngIf="!shouldShowFundMapping">
<mat-list-item [routerLink]="['fund-mapping']" *mifosxHasPermission="'READ_OFFICE'">
<mat-icon matListIcon>
<fa-icon icon="money-bill-alt" size="sm"></fa-icon>
Expand Down Expand Up @@ -100,6 +100,16 @@ <h4 matLine>Password Preferences</h4>
<p matLine>Define standards for enforcing the usage of stronger passwords</p>
</mat-list-item>
</div>

<div #bulkimports>
<mat-list-item [routerLink]="['bulk-import']" *mifosxHasPermission="'VIEW_BULKIMPORT'">
<mat-icon matListIcon>
<fa-icon icon="upload" size="sm"></fa-icon>
</mat-icon>
<h4 matLine>Bulk Import</h4>
<p matLine>Bulk data import using excel spreadsheet templates for clients, offices, etc.</p>
</mat-list-item>
</div>
</mat-nav-list>

</div>
Expand Down Expand Up @@ -187,16 +197,6 @@ <h4 matLine>AdHocQuery</h4>
<p matLine>Define AdHocQuery for Organization</p>
</mat-list-item>
</div>

<div #bulkimports>
<mat-list-item [routerLink]="['bulk-import']" *mifosxHasPermission="'VIEW_BULKIMPORT'">
<mat-icon matListIcon>
<fa-icon icon="upload" size="sm"></fa-icon>
</mat-icon>
<h4 matLine>Bulk Import</h4>
<p matLine>Bulk data import using excel spreadsheet templates for clients, offices, etc.</p>
</mat-list-item>
</div>
</mat-nav-list>

</div>
Expand Down
1 change: 1 addition & 0 deletions src/app/organization/organization.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { ConfigurationWizardService } from '../configuration-wizard/configuratio
})
export class OrganizationComponent implements OnInit, AfterViewInit {

shouldShowFundMapping: boolean = true;
/* Reference of manage offices */
@ViewChild('office') office: ElementRef<any>;
/* Template for popover on manage offices */
Expand Down

0 comments on commit 4062c66

Please sign in to comment.