2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 04:05:28 +00:00

Dialog fixes (#242)

* Fix dialog for purchase order line item

* Fix other dialogs too

* Update release noes
This commit is contained in:
Oliver
2022-12-28 00:09:26 +11:00
committed by GitHub
parent 1ab3940e6a
commit 83da0638a8
4 changed files with 11 additions and 7 deletions

View File

@ -258,6 +258,9 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
);
}
/*
* Display a context menu for a particular PurhaseOrderLineItem
*/
void lineItemMenu(BuildContext context, InvenTreePOLineItem lineItem) {
List<Widget> children = [];
@ -303,8 +306,7 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
children.insert(0, Divider());
showDialog(
context: context,
OneContext().showDialog(
builder: (BuildContext context) {
return SimpleDialog(
title: Text(L10().lineItem),