2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-17 04:35:26 +00:00

Improve supplier part detail screen (#326)

* Improve supplier part detail screen

* Update release notes
This commit is contained in:
Oliver
2023-04-19 21:17:24 +10:00
committed by GitHub
parent 87994a4912
commit 28ed1ed545
4 changed files with 54 additions and 9 deletions

View File

@ -148,6 +148,8 @@ class InvenTreeSupplierPart extends InvenTreeModel {
return _filters();
}
int get manufacturerId => (jsondata["manufacturer_detail"]["pk"] ?? -1) as int;
String get manufacturerName => (jsondata["manufacturer_detail"]?["name"] ?? "") as String;
String get MPN => (jsondata["manufacturer_part_detail"]?["MPN"] ?? "") as String;