mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
bug fix: PO Lines (#685)
* bug fix: PO Lines - Correctly display part images for purchase order line items * Refactor * Code formatting
This commit is contained in:
parent
28701359da
commit
7d32bd6d88
5 changed files with 14 additions and 4 deletions
|
|
@ -67,7 +67,7 @@ class _PaginatedPOLineListState
|
|||
final page = await InvenTreePOLineItem().listPaginated(
|
||||
limit,
|
||||
offset,
|
||||
filters: params,
|
||||
filters: {...params},
|
||||
);
|
||||
return page;
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@ class _PaginatedPOLineListState
|
|||
item.progressString,
|
||||
color: item.isComplete ? COLOR_SUCCESS : COLOR_WARNING,
|
||||
),
|
||||
leading: InvenTreeAPI().getThumbnail(supplierPart.partImage),
|
||||
leading: InvenTreeAPI().getThumbnail(item.partImage),
|
||||
onTap: () async {
|
||||
showLoadingOverlay();
|
||||
await item.reload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue