mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 09:43:19 +00:00
Support logical and custom status fields for models (#758)
* Support logical and custom status fields for models * Update release notes
This commit is contained in:
parent
772c88170e
commit
c5bf4be3d1
4 changed files with 19 additions and 6 deletions
|
|
@ -57,10 +57,6 @@ class InvenTreeOrder extends InvenTreeModel {
|
|||
|
||||
bool get hasProjectCode => projectCode.isNotEmpty;
|
||||
|
||||
int get status => getInt("status");
|
||||
|
||||
String get statusText => getString("status_text");
|
||||
|
||||
double? get totalPrice {
|
||||
String price = getString("total_price");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue