mirror of
https://github.com/inventree/inventree-app.git
synced 2025-08-06 12:41:33 +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:
@@ -89,16 +89,8 @@ class _PaginatedSupplierPartListState extends PaginatedSearchState<PaginatedSupp
|
||||
return ListTile(
|
||||
title: Text(supplierPart.SKU),
|
||||
subtitle: Text(supplierPart.partName),
|
||||
leading: InvenTreeAPI().getImage(
|
||||
supplierPart.supplierImage,
|
||||
width: 40,
|
||||
height: 40
|
||||
),
|
||||
trailing: InvenTreeAPI().getImage(
|
||||
supplierPart.partImage,
|
||||
width: 40,
|
||||
height: 40,
|
||||
),
|
||||
leading: InvenTreeAPI().getThumbnail(supplierPart.supplierImage),
|
||||
trailing: InvenTreeAPI().getThumbnail(supplierPart.partImage),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
|
Reference in New Issue
Block a user