Correct which links are shown for different users
This commit is contained in:
parent
93f8b9b53e
commit
728e484049
2 changed files with 4 additions and 4 deletions
|
@ -101,7 +101,7 @@
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<strong>Log of Outgoing Transactions</strong>
|
<strong>Log of Outgoing Transactions</strong>
|
||||||
<small>This lists all purchases that have been submitted.</small>
|
<small>This lists all purchases that have been submitted.</small>
|
||||||
<button class="btn pull-right btn-sm" (click)="toggleShowMeta()">
|
<button *ngIf="accountType == 'organisation'" class="btn pull-right btn-sm" (click)="toggleShowMeta()">
|
||||||
<span *ngIf="!showMeta">Show</span><span *ngIf="showMeta">Hide</span> Details
|
<span *ngIf="!showMeta">Show</span><span *ngIf="showMeta">Hide</span> Details
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li *ngIf="accountType == 'organisation'" class="nav-item">
|
||||||
<a class="nav-link" routerLinkActive="active" [routerLink]="['/more-graphs-and-tables']">
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/more-graphs-and-tables']">
|
||||||
<div class="row no-gutters align-items-center">
|
<div class="row no-gutters align-items-center">
|
||||||
<div class="col-2"><i class="icon-map"></i></div>
|
<div class="col-2"><i class="icon-map"></i></div>
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li *ngIf="accountType == 'customer'" class="nav-item">
|
||||||
<a class="nav-link" routerLinkActive="active" [routerLink]="['/category-month']">
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/category-month']">
|
||||||
<div class="row no-gutters align-items-center">
|
<div class="row no-gutters align-items-center">
|
||||||
<div class="col-2"><i class="icon-basket"></i></div>
|
<div class="col-2"><i class="icon-basket"></i></div>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li *ngIf="accountType == 'organisation'" class="nav-item">
|
||||||
<a class="nav-link" routerLinkActive="active" [routerLink]="['/suppliers']">
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/suppliers']">
|
||||||
<div class="row no-gutters align-items-center">
|
<div class="row no-gutters align-items-center">
|
||||||
<div class="col-2"><i class="icon-speedometer"></i></div>
|
<div class="col-2"><i class="icon-speedometer"></i></div>
|
||||||
|
|
Reference in a new issue