mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add API form support for date fields
This commit is contained in:
parent
61a9557df5
commit
68d542cb6b
4 changed files with 44 additions and 0 deletions
|
|
@ -223,6 +223,8 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
return pp.isNotEmpty && pp.trim() != "-";
|
||||
}
|
||||
|
||||
int get purchaseOrderId => jsondata['purchase_order'] ?? -1;
|
||||
|
||||
int get trackingItemCount => (jsondata['tracking_items'] ?? 0) as int;
|
||||
|
||||
// Date of last update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue