Renamed Report permissions to make more sense

Removed the void and reprints report and added it to the bill settlement report
updated the import to add a new sql to be executed later to update the settlements and report permission names
Export works on all reports
This commit is contained in:
Amritanshu
2019-08-25 15:08:59 +05:30
parent 05860fb0b9
commit 6d0f30503a
98 changed files with 527 additions and 1079 deletions

View File

@ -5,27 +5,24 @@
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Sales')" [routerLink]="['/', 'sales']">
<h3 class="item-name">Sales</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Cashier Checkout')" [routerLink]="['/', 'checkout']">
<h3 class="item-name">Cashier Checkout</h3>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Cashier Report')" [routerLink]="['/', 'cashier-report']">
<h3 class="item-name">Cashier Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Sales Analysis')" [routerLink]="['/', 'sale-analysis']">
<h3 class="item-name">Sale Analysis</h3>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Sale Report')" [routerLink]="['/', 'sale-report']">
<h3 class="item-name">Sale Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Tax Analysis')" [routerLink]="['/', 'tax-analysis']">
<h3 class="item-name">Tax Analysis</h3>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Tax Report')" [routerLink]="['/', 'tax-report']">
<h3 class="item-name">Tax Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Sales Detail')" [routerLink]="['/', 'product-sale-report']">
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Product Sale Report')" [routerLink]="['/', 'product-sale-report']">
<h3 class="item-name">Product Sale Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Bill Details')" [routerLink]="['/', 'bill-settlement-report']">
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Bill Settlement Report')" [routerLink]="['/', 'bill-settlement-report']">
<h3 class="item-name">Bill Settlement Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Beer Consumption')" [routerLink]="['/', 'beer-consumption-report']">
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Beer Consumption Report')" [routerLink]="['/', 'beer-consumption-report']">
<h3 class="item-name">Beer Consumption Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Void or Reprinted Bill Report')" [routerLink]="['/', 'voids-reprints-report']">
<h3 class="item-name">Voids and Reprints Report</h3>
</mat-card>
<mat-card fxLayout="column" class="square-button" matRipple *ngIf="auth.hasPermission('Discount Report')" [routerLink]="['/', 'discount-report']">
<h3 class="item-name">Discount Report</h3>
</mat-card>