From 5b5c3b4cc39ee3923450a3aff12fe06429c91144 Mon Sep 17 00:00:00 2001 From: Mohd Ariff Date: Thu, 12 Mar 2026 16:07:13 +0800 Subject: [PATCH] Update --- Areas/Report/Views/Reporting/InventoryReport.cshtml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Areas/Report/Views/Reporting/InventoryReport.cshtml b/Areas/Report/Views/Reporting/InventoryReport.cshtml index e525b2b..a687d47 100644 --- a/Areas/Report/Views/Reporting/InventoryReport.cshtml +++ b/Areas/Report/Views/Reporting/InventoryReport.cshtml @@ -416,6 +416,7 @@ }, initTable() { this.$nextTick(() => { + var app = this; this.userItemsTable = $('#userItemsTable').DataTable(); const stationTableData = this.formResponse.stationItemBalance ? this.formResponse.stationItemBalance : []; this.stationItemsTable = $('#stationItemsTable').DataTable({ @@ -437,6 +438,11 @@ ` ); }, + "createdRow": function (row, data, dataIndex) { + $(row).on('click', function () { + app.fetchItemMovement(data.uniqueID); + }); + } }); const storeTableData = this.formResponse.storeItemBalance ? this.formResponse.storeItemBalance : []; this.storeItemsTable = $('#storeItemsTable').DataTable({ @@ -459,6 +465,11 @@ ` ); }, + "createdRow": function (row, data, dataIndex) { + $(row).on('click', function () { + app.fetchItemMovement(data.uniqueID); + }); + } }); const storeAllTableData = this.formResponse.allProductInStore ? this.formResponse.allProductInStore : []; this.storeAllItemsTable = $('#storeAllItemsTable').DataTable({