mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-13 12:33:11 +00:00
Display part stock in part search results
This commit is contained in:
parent
26f978b26d
commit
6f54fb42ee
@ -113,6 +113,7 @@ class PartSearchDelegate extends SearchDelegate<InvenTreePart> {
|
|||||||
width: 40,
|
width: 40,
|
||||||
height: 40
|
height: 40
|
||||||
),
|
),
|
||||||
|
trailing: Text(part.inStockString),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
InvenTreePart().get(context, part.pk).then((var prt) {
|
InvenTreePart().get(context, part.pk).then((var prt) {
|
||||||
if (prt is InvenTreePart) {
|
if (prt is InvenTreePart) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user