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:
@@ -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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user