mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 03:56:24 +00:00
Refactoring
This commit is contained in:
parent
19fdac46a7
commit
d5a9f4310e
6 changed files with 9 additions and 62 deletions
|
|
@ -18,7 +18,7 @@ class InvenTreeBomItem extends InvenTreeModel {
|
|||
String get URL => "bom/";
|
||||
|
||||
@override
|
||||
Map<String, String> defaultListFilters() {
|
||||
Map<String, String> defaultFilters() {
|
||||
return {
|
||||
"sub_part_detail": "true",
|
||||
"part_detail": "true",
|
||||
|
|
@ -26,13 +26,6 @@ class InvenTreeBomItem extends InvenTreeModel {
|
|||
};
|
||||
}
|
||||
|
||||
@override
|
||||
Map<String, String> defaultGetFilters() {
|
||||
return {
|
||||
"sub_part_detail": "true",
|
||||
};
|
||||
}
|
||||
|
||||
// Extract the 'reference' value associated with this BomItem
|
||||
String get reference => getString("reference");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue