stock module latest today vadivel J 22-01-2025

This commit is contained in:
vadivelJ96 2025-01-22 18:03:23 +05:30
parent ac3d287519
commit fb7abc1b6e
2 changed files with 37 additions and 25 deletions

View File

@ -104,22 +104,35 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
} }
.celda_encabezado_general {
th.celda_encabezado_general {
background-color: #00a65a; background-color: #00a65a;
border: 1px solid #ccc; border: 1px solid #ccc;
color: #ffffff; color: #ffffff;
font-weight: bold; font-weight: bold;
padding: 2px 4px; padding: 2px 4px;
text-align: center; 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 { .celda_encabezado_total {
background-color:#ffffff; background-color:#ffffff;
border: 1px solid #ccc; border: 1px solid #ccc;
color: #ffffff; color: #ffffff;
font-weight: bold; font-weight: bold;
padding: 6px 10px; padding: 2px 4px;
text-align: center; 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 { ._Separador {
@ -135,10 +148,14 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
} }
.celda_normal { .celda_normal {
/*background-color: #fff;*/
/* <!-- ad9271 into ffffff brown-light to green-light --> */
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 2px 4px; 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*/ /*style excel*/
@ -170,23 +187,18 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
#drierTable th:nth-child(1) { #drierTable th:nth-child(1),
position: sticky; #drierTable td:nth-child(1),
left: 0; #drierTableSummaryId th:nth-child(1),
background-color: #00a65a; #drierTableSummaryId td:nth-child(1) {
z-index: 2; position: sticky;
border-right: 2px solid #ddd; left: 0;
color: #ffffff; 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;
}
</style> </style>

View File

@ -615,12 +615,12 @@
const rowData = { const rowData = {
date, date,
opening: rowCells.eq(1).text().trim()|| ' ', opening: rowCells.eq(1).text().trim()|| ' ',
purchaseBharath: rowCells.eq(2).text().trim()|| ' ', purchaseBharath: rowCells.eq(2).text().trim()|| ' ',
purchaseIndian: rowCells.eq(3).text().trim()|| ' ', purchaseIndian: rowCells.eq(3).text().trim()|| ' ',
total: rowCells.eq(4).text().trim()|| ' ', total: rowCells.eq(4).text().trim()|| ' ',
consumption: rowCells.eq(5).text().trim()|| ' ', consumption: rowCells.eq(5).text().trim()|| ' ',
balanceStock: rowCells.eq(6).text().trim()|| ' ' balanceStock: rowCells.eq(6).text().trim()|| ' '
}; };
rows.push(rowData); rows.push(rowData);