From 0c602df3a874be979e8b4d2fa141dc88cea04f44 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 17 Jan 2024 14:49:49 +0300 Subject: [PATCH 1/2] Formatted stock operations expandable to add space on operation By and Name --- src/stock-operations/stock-operations-table.component.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stock-operations/stock-operations-table.component.tsx b/src/stock-operations/stock-operations-table.component.tsx index dd7078e2..258ac2f2 100644 --- a/src/stock-operations/stock-operations-table.component.tsx +++ b/src/stock-operations/stock-operations-table.component.tsx @@ -380,7 +380,9 @@ const StockOperations: React.FC = () => { {items[index]?.dateCreated ? formatDisplayDate(items[index]?.dateCreated) : ""} +   {items[index]?.dateCreated ? "By" : ""} +   {items[index]?.dateCreated ? items[index]?.creatorFamilyName : ""} @@ -391,7 +393,9 @@ const StockOperations: React.FC = () => { items[index]?.submittedDate ) : ""} +   {items[index]?.submittedDate ? "By" : ""} +   {items[index]?.submittedDate ? items[index]?.creatorFamilyName : ""} @@ -402,7 +406,9 @@ const StockOperations: React.FC = () => { items[index]?.completedDate ) : ""} +   {items[index]?.completedDate ? "By" : ""} +   {items[index]?.completedDate ? items[index]?.creatorFamilyName : ""} From 9097a74ef9db4f490f138460a967cbf323686221 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 17 Jan 2024 15:10:05 +0300 Subject: [PATCH 2/2] Commenting closeOverlay:Bug fix when transitioning from save to edit mode --- src/stock-items/stock-item.utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stock-items/stock-item.utils.tsx b/src/stock-items/stock-item.utils.tsx index 3da18594..58e62137 100644 --- a/src/stock-items/stock-item.utils.tsx +++ b/src/stock-items/stock-item.utils.tsx @@ -29,7 +29,7 @@ export const addOrEditStockItem = async ( }); // Close overlay and open edit overlay - closeOverlay(); + // closeOverlay(); if (!isEditing) { closeOverlay();