mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-30 17:21:28 +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:
@@ -612,7 +612,7 @@ class APIFormField {
|
||||
part.description,
|
||||
style: TextStyle(fontWeight: selected ? FontWeight.bold : FontWeight.normal),
|
||||
) : null,
|
||||
leading: extended ? InvenTreeAPI().getImage(part.thumbnail, width: 40, height: 40) : null,
|
||||
leading: extended ? InvenTreeAPI().getThumbnail(part.thumbnail) : null,
|
||||
);
|
||||
|
||||
case "partcategory":
|
||||
@@ -662,11 +662,7 @@ class APIFormField {
|
||||
return ListTile(
|
||||
title: Text(company.name),
|
||||
subtitle: extended ? Text(company.description) : null,
|
||||
leading: InvenTreeAPI().getImage(
|
||||
company.thumbnail,
|
||||
width: 40,
|
||||
height: 40
|
||||
)
|
||||
leading: InvenTreeAPI().getThumbnail(company.thumbnail)
|
||||
);
|
||||
case "projectcode":
|
||||
var project_code = InvenTreeProjectCode.fromJson(data);
|
||||
|
Reference in New Issue
Block a user