From fb7abc1b6ebdc59e08499ec3c45e8ee0ad02819e Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 22 Jan 2025 18:03:23 +0530 Subject: [PATCH] stock module latest today vadivel J 22-01-2025 --- app/Views/drierMachineDetails.php | 52 +++++++++++++++++++------------ app/Views/gasStockDetails.php | 10 +++--- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/app/Views/drierMachineDetails.php b/app/Views/drierMachineDetails.php index 0ee54f94..39d75714 100644 --- a/app/Views/drierMachineDetails.php +++ b/app/Views/drierMachineDetails.php @@ -104,22 +104,35 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); } - .celda_encabezado_general { + + + th.celda_encabezado_general { background-color: #00a65a; border: 1px solid #ccc; color: #ffffff; font-weight: bold; padding: 2px 4px; text-align: center; + min-width: 150px; /* Set a fixed width */ + max-width: 150px; /* Ensure it doesn't exceed this width */ + white-space: nowrap; /* Prevent text from wrapping */ + overflow: hidden; /* Hide overflowing content */ + text-overflow: ellipsis; /* Show "..." for overflow text */ } + .celda_encabezado_total { background-color:#ffffff; border: 1px solid #ccc; color: #ffffff; font-weight: bold; - padding: 6px 10px; + padding: 2px 4px; text-align: center; + min-width: 150px; /* Set a fixed width */ + max-width: 150px; /* Ensure it doesn't exceed this width */ + white-space: nowrap; /* Prevent text from wrapping */ + overflow: hidden; /* Hide overflowing content */ + text-overflow: ellipsis; /* Show "..." for overflow text */ } ._Separador { @@ -135,10 +148,14 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); } .celda_normal { - /*background-color: #fff;*/ - /* */ + border: 1px solid #ccc; padding: 2px 4px; + min-width: 150px; /* Set a fixed width */ + max-width: 150px; /* Ensure it doesn't exceed this width */ + white-space: nowrap; /* Prevent text from wrapping */ + overflow: hidden; /* Hide overflowing content */ + text-overflow: ellipsis; /* Show "..." for overflow text */ } /*style excel*/ @@ -170,23 +187,18 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y'); - #drierTable th:nth-child(1) { - position: sticky; - left: 0; - background-color: #00a65a; - z-index: 2; - border-right: 2px solid #ddd; - color: #ffffff; - } + #drierTable th:nth-child(1), + #drierTable td:nth-child(1), + #drierTableSummaryId th:nth-child(1), + #drierTableSummaryId td:nth-child(1) { + position: sticky; + left: 0; + background-color: #00a65a; + z-index: 2; + border-right: 2px solid #ddd; + color: #ffffff; +} - #drierTable td:nth-child(1) { - position: sticky; - left: 0; - background-color:#00a65a; - z-index: 2; - border-right: 2px solid #ddd; - color: #ffffff; - } diff --git a/app/Views/gasStockDetails.php b/app/Views/gasStockDetails.php index 50bfdab8..1cbf79ae 100644 --- a/app/Views/gasStockDetails.php +++ b/app/Views/gasStockDetails.php @@ -615,12 +615,12 @@ const rowData = { date, - opening: rowCells.eq(1).text().trim()|| ' ', + opening: rowCells.eq(1).text().trim()|| ' ', purchaseBharath: rowCells.eq(2).text().trim()|| ' ', - purchaseIndian: rowCells.eq(3).text().trim()|| ' ', - total: rowCells.eq(4).text().trim()|| ' ', - consumption: rowCells.eq(5).text().trim()|| ' ', - balanceStock: rowCells.eq(6).text().trim()|| ' ' + purchaseIndian: rowCells.eq(3).text().trim()|| ' ', + total: rowCells.eq(4).text().trim()|| ' ', + consumption: rowCells.eq(5).text().trim()|| ' ', + balanceStock: rowCells.eq(6).text().trim()|| ' ' }; rows.push(rowData);