diff --git a/src/Components/Facility/InventoryLog.tsx b/src/Components/Facility/InventoryLog.tsx index 5518b5e320f..b7821990550 100644 --- a/src/Components/Facility/InventoryLog.tsx +++ b/src/Components/Facility/InventoryLog.tsx @@ -117,7 +117,7 @@ export default function InventoryLog(props: any) { let inventoryList: any = []; if (inventory?.length) { - inventoryList = inventory.map((inventoryItem: any) => ( + inventoryList = inventory.map((inventoryItem: any, index) => (
@@ -148,7 +148,11 @@ export default function InventoryLog(props: any) {
-
+
{inventoryItem.probable_accident ? (
Unmarks this transaction as accident @@ -156,7 +160,7 @@ export default function InventoryLog(props: any) { This action will not affect the total stock.
) : ( -
+
Marks this transaction as accident
This action will not affect the total stock. To delete the @@ -212,7 +216,7 @@ export default function InventoryLog(props: any) { <>
- +