diff --git a/Areas/Inventory/Views/InventoryMaster/ItemMovement.cshtml b/Areas/Inventory/Views/InventoryMaster/ItemMovement.cshtml index 7bc3f7f..b1ac0c2 100644 --- a/Areas/Inventory/Views/InventoryMaster/ItemMovement.cshtml +++ b/Areas/Inventory/Views/InventoryMaster/ItemMovement.cshtml @@ -1419,9 +1419,15 @@ }, toggleCategory(itemId) { this.categoryVisible[itemId] = !this.categoryVisible[itemId]; + + this.detailsVisible = {}; + this.historyVisible = {}; }, toggleHistory(itemId) { + this.historyVisible = {}; this.historyVisible[itemId] = !this.historyVisible[itemId]; + + }, toggleDetails(movementId) { this.detailsVisible[movementId] = !this.detailsVisible[movementId]; diff --git a/Areas/Inventory/Views/InventoryMaster/ItemRequestMaster.cshtml b/Areas/Inventory/Views/InventoryMaster/ItemRequestMaster.cshtml index 39b2a41..f06f6c9 100644 --- a/Areas/Inventory/Views/InventoryMaster/ItemRequestMaster.cshtml +++ b/Areas/Inventory/Views/InventoryMaster/ItemRequestMaster.cshtml @@ -301,7 +301,7 @@ "className": "align-middle", }, { - "title": "Product Name", + "title": "Product", "data": "productName", "render": function (data, type, full, meta) { if (!data) { @@ -456,7 +456,7 @@ "data": "requestID", }, { - "title": "Product Name", + "title": "Product", "data": "productName", "render": function (data, type, full, meta) { if (!data) { @@ -468,7 +468,6 @@ var isImage = /\.(jpeg|jpg|png|gif)$/i.test(imageSrc); var isPdf = /\.pdf$/i.test(imageSrc); // var imageSrc = full.productImage; Fallback to data if imgsrc is unavailable - console.log(full); if (isImage) { return `