2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-08-21 03:15:56 +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:
Oliver
2025-08-19 11:37:27 +10:00
committed by GitHub
parent 28701359da
commit 7d32bd6d88
5 changed files with 14 additions and 4 deletions

View File

@@ -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();