diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index 151f6031..d059bc1f 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -1252,7 +1252,7 @@ foreach ($period as $day) { // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/dieselStockDetails.php b/app/Views/stock/dieselStockDetails.php index f6b90cf8..9cf45a87 100644 --- a/app/Views/stock/dieselStockDetails.php +++ b/app/Views/stock/dieselStockDetails.php @@ -1736,7 +1736,7 @@ foreach ($period as $day) { // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php index b5b02000..e04631ae 100644 --- a/app/Views/stock/dustAndRoughStockDetails.php +++ b/app/Views/stock/dustAndRoughStockDetails.php @@ -895,7 +895,7 @@ // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/gasStockDetails.php b/app/Views/stock/gasStockDetails.php index 84dc358f..250f804e 100644 --- a/app/Views/stock/gasStockDetails.php +++ b/app/Views/stock/gasStockDetails.php @@ -1320,7 +1320,7 @@ // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/powerConsumptionDetails.php b/app/Views/stock/powerConsumptionDetails.php index aed21bde..6ff22e6c 100644 --- a/app/Views/stock/powerConsumptionDetails.php +++ b/app/Views/stock/powerConsumptionDetails.php @@ -1611,7 +1611,7 @@ foreach ($period as $day) { // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/resinStockDetails.php b/app/Views/stock/resinStockDetails.php index e2d4a734..42d1cabf 100644 --- a/app/Views/stock/resinStockDetails.php +++ b/app/Views/stock/resinStockDetails.php @@ -1227,7 +1227,7 @@ foreach ($period as $day) { // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index 432cd1e4..2d3a0a7b 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -2568,7 +2568,7 @@ $timeOtions[] = "12:00 AM"; // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns diff --git a/app/Views/stock/trpSandUseStockDetails.php b/app/Views/stock/trpSandUseStockDetails.php index 9fa1bac9..d4894a55 100644 --- a/app/Views/stock/trpSandUseStockDetails.php +++ b/app/Views/stock/trpSandUseStockDetails.php @@ -932,7 +932,7 @@ // Remove hidden rows $(cloneTable).find('tr').filter(function() { - return $(this).css('display') === 'none'; + return $(this).css('display') === 'none' || $(this).hasClass('hidden-row'); }).remove(); // Remove hidden columns