mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Display supplier part stock (#717)
* Display supplier part stock * dart format * Update release notes
This commit is contained in:
parent
ed7d73b9c0
commit
6707f89019
3 changed files with 31 additions and 2 deletions
|
|
@ -225,6 +225,10 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||
|
||||
int get partId => getInt("part");
|
||||
|
||||
double get inStock => getDouble("in_stock");
|
||||
|
||||
double get onOrder => getDouble("on_order");
|
||||
|
||||
String get partImage =>
|
||||
(jsondata["part_detail"]?["thumbnail"] ?? InvenTreeAPI.staticThumb)
|
||||
as String;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue