Strict done!!
This commit is contained in:
1 parent
af343cb7f9
commit
afe746ecdc
142 files changed
+1258
-907
No files matched your search
@@ -16,10 +16,10 @@ import { StockMovementDataSource } from './stock-movement-datasource';
|
||||
export class StockMovementComponent implements OnInit {
|
||||
@ViewChild(MatPaginator, { static: true }) paginator?: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort?: MatSort;
|
||||
dataSource: StockMovementDataSource;
|
||||
info: StockMovement = new StockMovement();
|
||||
dataSource: StockMovementDataSource = new StockMovementDataSource(this.info.body);
|
||||
form: FormGroup;
|
||||
info: StockMovement;
|
||||
selectedRowId: string;
|
||||
selectedRowId = '';
|
||||
/** Columns displayed in the table. Columns IDs can be added, removed, or reordered. */
|
||||
displayedColumns = ['group', 'name', 'opening', 'purchase', 'issue', 'closing'];
|
||||
|
||||
@@ -39,7 +39,7 @@ export class StockMovementComponent implements OnInit {
|
||||
startDate: moment(this.info.startDate, 'DD-MMM-YYYY').toDate(),
|
||||
finishDate: moment(this.info.finishDate, 'DD-MMM-YYYY').toDate(),
|
||||
});
|
||||
this.dataSource = new StockMovementDataSource(this.paginator, this.sort, this.info.body);
|
||||
this.dataSource = new StockMovementDataSource(this.info.body, this.paginator, this.sort);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user