mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-16 04:05:28 +00:00
Supplier part support (#253)
* Bump version and release noes * Add barebone list and detail widgets for the SupplierPart model * Launch into SupplierPartList from CompanyDetail * Update StockDetail widget * Fixes for SupplierPart model * Add images to supplier part list * Add search functionality to SupplierPart list * Added details to SupplierPartDetail widget * Link through to supplier company * Add some more details * Adds ability to edit SupplierPart information * Navigate to supplier part list from part detail page * Display supplier part information on stock item detail page * Add barcode scan response for SupplierPart * Refactor barcode scanning code * Navigate to supplier part detail from stock item page * Support custom barcode for SupplierPart via app * Cleanup comment * linting * Fix override * Enable display of supplier list on home screen * Code cleanup * Update release noets
This commit is contained in:
@ -17,16 +17,14 @@ class PartCategoryList extends StatefulWidget {
|
||||
final Map<String, String> filters;
|
||||
|
||||
@override
|
||||
_PartCategoryListState createState() => _PartCategoryListState(filters);
|
||||
_PartCategoryListState createState() => _PartCategoryListState();
|
||||
|
||||
}
|
||||
|
||||
|
||||
class _PartCategoryListState extends RefreshableState<PartCategoryList> {
|
||||
|
||||
_PartCategoryListState(this.filters);
|
||||
|
||||
final Map<String, String> filters;
|
||||
_PartCategoryListState();
|
||||
|
||||
bool showFilterOptions = false;
|
||||
|
||||
@ -47,7 +45,7 @@ class _PartCategoryListState extends RefreshableState<PartCategoryList> {
|
||||
|
||||
@override
|
||||
Widget getBody(BuildContext context) {
|
||||
return PaginatedPartCategoryList(filters, showFilterOptions);
|
||||
return PaginatedPartCategoryList(widget.filters, showFilterOptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user