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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;