mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-05 14:57:59 +00:00
Handle form posting with complex "layered" data
- Handle data rendering - Handle returned errors
This commit is contained in:
1 parent
80b203ce7b
commit
b7f9f1c55f
3 files changed
+88
-17
No files matched your search
@@ -85,6 +85,8 @@ class InvenTreePurchaseOrder extends InvenTreeModel {
|
||||
|
||||
bool get isOpen => status == PO_STATUS_PENDING || status == PO_STATUS_PLACED;
|
||||
|
||||
bool get isPlaced => status == PO_STATUS_PLACED;
|
||||
|
||||
bool get isFailed => status == PO_STATUS_CANCELLED || status == PO_STATUS_LOST || status == PO_STATUS_RETURNED;
|
||||
|
||||
Future<List<InvenTreePOLineItem>> getLineItems() async {
|
||||
|
||||
Reference in new issue
Block a user