Added links to Sales and Guest Book on the Nav Bar

This commit is contained in:
Amritanshu Agrawal 2020-12-19 09:32:27 +05:30
parent 7bd46a946e
commit 89c93862bf
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,14 @@
<mat-icon>home</mat-icon>
Point of Sale
</a>
<a mat-button *ngIf="auth.allowed('customers')" [routerLink]="['/', 'guest-book']">
<mat-icon>face</mat-icon>
Guest Book
</a>
<a mat-button *ngIf="auth.allowed('sales')" [routerLink]="['/', 'sales']">
<mat-icon>receipt</mat-icon>
Sales
</a>
<span class="fill-remaining-space"></span>
<button mat-button [routerLink]="['/', 'login']" *ngIf="(auth.currentUser | async) === null">
<mat-icon>account_box</mat-icon>