Added the final missing Voids or Reprints report aslo.
Ready for beta 1. Removed voucher.is_void in favour voucher_type == void
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
import { DataSource } from '@angular/cdk/collections';
|
||||
import { Observable, of as observableOf } from 'rxjs';
|
||||
import { VoidsReprintsReportItem } from './voids-reprints-report';
|
||||
|
||||
|
||||
export class VoidsReprintsReportDataSource extends DataSource<VoidsReprintsReportItem> {
|
||||
|
||||
constructor(public data: VoidsReprintsReportItem[]) {
|
||||
super();
|
||||
}
|
||||
|
||||
connect(): Observable<VoidsReprintsReportItem[]> {
|
||||
return observableOf(this.data);
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user