From f92d734d80610bafe37da23c8c34e6c6ac9051f6 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 26 Jul 2024 15:28:44 +1000 Subject: [PATCH] [PUI] Add more barcode actions (#7741) - Add to ReturnOrder - Add to SalesOrder - Refactor for BuildOrder --- src/frontend/src/pages/build/BuildDetail.tsx | 5 ++--- .../src/pages/sales/ReturnOrderDetail.tsx | 20 ++++++++++++++++++- .../src/pages/sales/SalesOrderDetail.tsx | 20 ++++++++++++++++++- 3 files changed, 40 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/pages/build/BuildDetail.tsx b/src/frontend/src/pages/build/BuildDetail.tsx index 87888c5655..b4caadabd6 100644 --- a/src/frontend/src/pages/build/BuildDetail.tsx +++ b/src/frontend/src/pages/build/BuildDetail.tsx @@ -24,6 +24,7 @@ import { ItemDetailsGrid } from '../../components/details/ItemDetails'; import NotesEditor from '../../components/editors/NotesEditor'; import { ActionDropdown, + BarcodeActionDropdown, CancelItemAction, DuplicateItemAction, EditItemAction, @@ -366,9 +367,7 @@ export default function BuildDetail() { const buildActions = useMemo(() => { return [ , - } + { return [ , + , { return [ , + ,