From 3e8d9e14cc43d67d3d6bcbed023593b96cf5163b Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Sat, 8 Feb 2025 11:24:57 +0530 Subject: [PATCH] stock module latest today vadivel J 08-02-2025 --- app/Views/stock/bagStockDetails.php | 13 ++++-- app/Views/stock/dustAndRoughStockDetails.php | 10 ++--- app/Views/stock/gasStockDetails.php | 25 ++++++----- app/Views/stock/trpProductionStockDetails.php | 43 ++++++++++--------- app/Views/stock/trpSandUseStockDetails.php | 9 ++-- 5 files changed, 53 insertions(+), 47 deletions(-) diff --git a/app/Views/stock/bagStockDetails.php b/app/Views/stock/bagStockDetails.php index 37ded70e..2675cd81 100644 --- a/app/Views/stock/bagStockDetails.php +++ b/app/Views/stock/bagStockDetails.php @@ -97,7 +97,8 @@ padding-bottom: 8px; padding-top: 8px; width: 100%; - } + } + ._Separador { background-color: #fff; @@ -111,6 +112,8 @@ width: 4px; } + + /*style excel*/ .excel_cell { border: 1px solid #CCC; @@ -138,7 +141,6 @@ } - .celda_encabezado_general { background-color: #50bbd9; border: 1px solid #ccc; @@ -189,6 +191,9 @@ color: #ffffff; border: 1px solid #ddd; padding: 10px; + white-space: normal; /* Allows text to wrap */ + word-wrap: break-word; /* Breaks long words if needed */ + text-align: center; /* Centers text for better alignment */ } /* Sticky First Column */ @@ -218,7 +223,9 @@ - + + + diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php index 5f643495..a30577b2 100644 --- a/app/Views/stock/dustAndRoughStockDetails.php +++ b/app/Views/stock/dustAndRoughStockDetails.php @@ -98,7 +98,7 @@ padding-top: 8px; width: 100%; } - + ._Separador { background-color: #fff; @@ -140,9 +140,7 @@ height: 20px; } - - .celda_encabezado_general { background-color: #50bbd9; border: 1px solid #ccc; @@ -215,10 +213,10 @@ } td{ - min-width: 150px; - max-width: 150px; + min-width: 100px; + max-width: 100px; } - + diff --git a/app/Views/stock/gasStockDetails.php b/app/Views/stock/gasStockDetails.php index 5c35f6a0..080d0a51 100644 --- a/app/Views/stock/gasStockDetails.php +++ b/app/Views/stock/gasStockDetails.php @@ -99,7 +99,6 @@ width: 100%; } - ._Separador { background-color: #fff; @@ -141,17 +140,14 @@ height: 20px; } + .celda_encabezado_general { background-color: #50bbd9; border: 1px solid #ccc; color: #ffffff; font-weight: bold; padding: 6px 10px; - min-width: 120px; - max-width: 120px; - white-space: normal; /* Allows text to wrap */ - word-wrap: break-word; /* Breaks long words if needed */ - text-align: center; /* Centers text for better alignment */ + text-align: center; } .celda_encabezado_total { @@ -217,13 +213,16 @@ } td{ - min-width: 150px; - max-width: 150px; + min-width: 100px; + max-width: 100px; } - + + + +
@@ -853,10 +852,10 @@ total: rowCells.eq(4).text().trim()|| ' ', consumption: rowCells.eq(5).text().trim()|| ' ', balanceStock: rowCells.eq(6).text().trim()|| ' ', - trpPanelGasConsumption : rowCells.eq(11).text().trim()|| ' ', - trpPhysicalGasConsumption: rowCells.eq(12).text().trim()|| ' ', - trpSandProduction : rowCells.eq(13).text().trim()|| ' ', - rotaryDrierConsumption : rowCells.eq(14).text().trim()|| ' ', + trpPanelGasConsumption : rowCells.eq(11).text().trim()|| ' ', + trpPhysicalGasConsumption : rowCells.eq(12).text().trim()|| ' ', + trpSandProduction : rowCells.eq(13).text().trim()|| ' ', + rotaryDrierConsumption : rowCells.eq(14).text().trim()|| ' ', }; rows.push(rowData); diff --git a/app/Views/stock/trpProductionStockDetails.php b/app/Views/stock/trpProductionStockDetails.php index f0d1bf86..1bf9c3f0 100644 --- a/app/Views/stock/trpProductionStockDetails.php +++ b/app/Views/stock/trpProductionStockDetails.php @@ -1,3 +1,4 @@ + diff --git a/app/Views/stock/trpSandUseStockDetails.php b/app/Views/stock/trpSandUseStockDetails.php index dd204086..d21f1b50 100644 --- a/app/Views/stock/trpSandUseStockDetails.php +++ b/app/Views/stock/trpSandUseStockDetails.php @@ -98,7 +98,7 @@ padding-top: 8px; width: 100%; } - + ._Separador { background-color: #fff; @@ -141,7 +141,6 @@ } - .celda_encabezado_general { background-color: #50bbd9; border: 1px solid #ccc; @@ -217,14 +216,16 @@ } td{ - min-width: 150px; - max-width: 150px; + min-width: 100px; + max-width: 100px; } + +