Moved the batch integrity report from settings to its own report in products with permission of product ledger.
It also automatically fixes the issue prices.
This commit is contained in:
1 parent
b1557bef88
commit
6d0d95070b
27 files changed
+613
-200
No files matched your search
@@ -300,56 +300,6 @@
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</mat-tab>
|
||||
<mat-tab label="Integrity Check">
|
||||
<mat-card>
|
||||
<mat-card-content>
|
||||
<div
|
||||
fxLayout="row"
|
||||
fxLayoutAlign="space-around start"
|
||||
fxLayout.lt-md="column"
|
||||
fxLayoutGap="20px"
|
||||
fxLayoutGap.lt-md="0px"
|
||||
>
|
||||
<button mat-raised-button color="warn" (click)="checkIntegrity()" fxFlex="100">
|
||||
Integrity Check
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
fxLayout="row"
|
||||
fxLayoutAlign="space-around start"
|
||||
fxLayout.lt-md="column"
|
||||
fxLayoutGap="20px"
|
||||
fxLayoutGap.lt-md="0px"
|
||||
>
|
||||
<ul>
|
||||
<li *ngFor="let batch of batches">
|
||||
Batch of {{ batch.product }} dated {{ batch.date }} is showing
|
||||
{{ batch.showing }} instead of {{ batch.actual }}
|
||||
<ul>
|
||||
<li *ngFor="let detail of batch.details">
|
||||
{{ detail.type }} of {{ detail.quantity }} on {{ detail.date }}
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div
|
||||
fxLayout="row"
|
||||
fxLayoutAlign="space-around start"
|
||||
fxLayout.lt-md="column"
|
||||
fxLayoutGap="20px"
|
||||
fxLayoutGap.lt-md="0px"
|
||||
>
|
||||
<ul>
|
||||
<li *ngFor="let batch of batchDates">
|
||||
{{ batch.type }} of {{ batch.product }} dated {{ batch.batchDate }} on
|
||||
{{ batch.voucherDate }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</mat-tab>
|
||||
<mat-tab label="Maintenance Mode">
|
||||
<mat-card>
|
||||
<mat-card-content>
|
||||
|
||||
Reference in new issue
Block a user