2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

PO Line Item Improvements (#340)

* Refactor thumbnail image

* Add paginated list of purchase order line items

* Refactor getBody() function

- No longer "have" to specify
- Can use getTiles for a simpler interface

* Add detail widget for polineitem

* add pricing info

* Receive line items via action button

* tweak color

* update release notes

* linting fixes
This commit is contained in:
Oliver
2023-04-21 23:15:00 +10:00
committed by GitHub
parent 2c5ceeabdb
commit b7e806efee
23 changed files with 442 additions and 343 deletions

View File

@ -1312,6 +1312,8 @@ class InvenTreeAPI {
static String get staticThumb => "/static/img/blank_image.thumbnail.png";
CachedNetworkImage getThumbnail(String imageUrl, {double size = 40}) => getImage(imageUrl, width: size, height: size);
/*
* Load image from the InvenTree server,
* or from local cache (if it has been cached!)