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:
2021-09-24 14:40:51 +05:30
parent b1557bef88
commit 6d0d95070b
27 changed files with 613 additions and 200 deletions
@@ -0,0 +1,16 @@
import { DataSource } from '@angular/cdk/collections';
import { Observable, of as observableOf } from 'rxjs';
import { BatchIntegrity } from './batch-integrity';
export class BatchIntegrityReportDatasource extends DataSource<BatchIntegrity> {
constructor(public data: BatchIntegrity[]) {
super();
}
connect(): Observable<BatchIntegrity[]> {
return observableOf(this.data);
}
disconnect() {}
}