Adds new custom widget for displaying Bill of Materials data

This commit is contained in:
Oliver Walters 2022-07-05 19:16:06 +10:00
parent 591c6a5592
commit 78a5a9090d
4 changed files with 200 additions and 11 deletions

View file

@ -10,6 +10,9 @@ import "package:inventree/l10.dart";
import "package:inventree/inventree/model.dart";
/*
* Class representing the PartCategory database model
*/
class InvenTreePartCategory extends InvenTreeModel {
InvenTreePartCategory() : super();
@ -70,6 +73,9 @@ class InvenTreePartCategory extends InvenTreeModel {
}
/*
* Class representing the PartTestTemplate database model
*/
class InvenTreePartTestTemplate extends InvenTreeModel {
InvenTreePartTestTemplate() : super();
@ -122,6 +128,9 @@ class InvenTreePartTestTemplate extends InvenTreeModel {
}
/*
* Class representing the Part database model
*/
class InvenTreePart extends InvenTreeModel {
InvenTreePart() : super();
@ -219,7 +228,6 @@ class InvenTreePart extends InvenTreeModel {
return _supplierParts;
}
// Cached list of test templates
List<InvenTreePartTestTemplate> testingTemplates = [];