mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Sales order shipment progress (#560)
- Display progress bar for sales order page
This commit is contained in:
parent
9c12a83176
commit
d4b2204baf
2 changed files with 17 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ class InvenTreeOrder extends InvenTreeModel {
|
|||
|
||||
int get completedLineItemCount => getInt("completed_lines", backup: 0);
|
||||
|
||||
int get shipmentCount => getInt("shipments_count", backup: 0);
|
||||
|
||||
int get completedShipmentCount => getInt("completed_shipments_count", backup: 0);
|
||||
|
||||
bool get complete => completedLineItemCount >= lineItemCount;
|
||||
|
||||
bool get overdue => getBool("overdue");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue