stock module latest today vadivel J 23-01-2025

This commit is contained in:
vadivelJ96 2025-01-23 12:02:22 +05:30
parent 60fd513598
commit c389761512
2 changed files with 75 additions and 45 deletions

View File

@ -113,8 +113,8 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
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 */
min-width: 120px; /* Set a fixed width */
max-width: 120px; /* 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 */
@ -123,13 +123,13 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
.celda_encabezado_total {
background-color:#ffffff;
border: 1px solid #ccc;
border: 1px solid #ffff;
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 */
min-width: 120px; /* Set a fixed width */
max-width: 120px; /* 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 */
@ -150,9 +150,9 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
.celda_normal {
border: 1px solid #ccc;
padding: 2px 4px;
min-width: 150px; /* Set a fixed width */
max-width: 150px; /* Ensure it doesn't exceed this width */
padding: 6px 4px;
min-width: 120px; /* Set a fixed width */
max-width: 120px; /* 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 */
@ -188,9 +188,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
#drierTable th:nth-child(1),
#drierTable td:nth-child(1),
#drierTableSummaryId th:nth-child(1),
#drierTableSummaryId td:nth-child(1) {
#drierTable td:nth-child(1) {
position: sticky;
left: 0;
background-color: #00a65a;
@ -200,6 +198,23 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
}
#drierTableSummaryId td:nth-child(1) {
position: sticky;
left: 0;
background-color: #ffffff;
z-index: 2;
border-right: 2px solid #ddd;
color: #ffffff;
}
.fht-table thead th {
position: sticky;
top: 0;
z-index: 5!important;
}
</style>
<div class="content-page">

View File

@ -113,15 +113,19 @@
font-weight: bold;
padding: 2px 4px;
text-align: center;
min-width: 120px;
max-width: 120px;
}
.celda_encabezado_total {
background-color:#ffffff;
border: 1px solid #ccc;
border: 1px solid #ffffff;
color: #ffffff;
font-weight: bold;
padding: 6px 10px;
text-align: center;
min-width: 120px;
max-width: 120px;
}
._Separador {
@ -139,6 +143,8 @@
.celda_normal {
border: 1px solid #ccc;
padding: 2px 4px;
min-width: 120px;
max-width: 120px;
}
/*style excel*/
@ -175,6 +181,17 @@
text-align: right
}
.table-responsive {
overflow-y: auto;
max-height: 450px;
}
.fht-table thead th {
position: sticky;
top: 0;
z-index: 5!important;
}
@ -262,15 +279,15 @@
<table id="incomingSilicaSandDetailsTable" class="fht-table table table-striped " >
<thead>
<tr>
<th class="celda_encabezado_general" style="padding: 10px;">S.NO </th>
<th class="celda_encabezado_general" style="padding: 10px;">IGR No </th>
<th class="celda_encabezado_general" style="padding: 10px;">Invoice No</th>
<th class="celda_encabezado_general" style="padding: 10px;">Invoice Date</th>
<th class="celda_encabezado_general" style="padding: 10px;">Received Date</th>
<th class="celda_encabezado_general" style="padding: 10px;">Supplier Name</th>
<th class="celda_encabezado_general" style="padding: 10px; min-width : 300px; max-width:300px;">Supplier Name</th>
<th class="celda_encabezado_general" style="padding: 10px;">Grade </th>
<th class="celda_encabezado_general" style="padding: 10px;">Grade Condition</th>
<th class="celda_encabezado_general" style="padding: 10px; min-width : 200px; max-width:200px;">Grade Condition</th>
<th class="celda_encabezado_general" style="padding: 10px;">Vehicle No</th>
<th class="celda_encabezado_general" style="padding: 10px;">Qty</th>
<th class="celda_encabezado_general" style="display:none">___10___</th>
@ -296,7 +313,7 @@
<th class="celda_encabezado_general" style="padding: 10px;">Moisture loss Qty</th>
<th class="celda_encabezado_general" style="padding: 10px;">Sieve Loss Qty</th>
<th class="celda_encabezado_general" style="padding: 10px;">Salable Qty</th>
<th class="celda_encabezado_general" style="padding: 10px;">Remark</th>
<th class="celda_encabezado_general" style="padding: 10px; min-width : 200px; max-width:200px;">Remark</th>
<th class="celda_encabezado_general" style="display:none;">MaterialCode</th>
<th class="celda_encabezado_general" style="display:none">id</th>
<th class="celda_encabezado_general" style="display:none">testedBy</th>
@ -370,7 +387,7 @@
</td>
<!-- 'td:eq(5)' -->
<td class="celda_normal">
<td class="celda_normal" style="padding: 10px; min-width : 300px; max-width:300px;">
<?php echo $record['SupplierName']??''; ?>
</td>
@ -380,8 +397,8 @@
</td>
<!-- 'td:eq(7)' -->
<td class="celda_normal" style="color:#02d0eb; background:white;" contenteditable="true">
<select class="status grade-condition select2" id="gradeCondition" style="width:100px;">
<td class="celda_normal" style="color:#02d0eb; background:white; min-width : 200px; max-width:200px;" contenteditable="true">
<select class="status grade-condition select2" id="gradeCondition" style="min-width : 180px; max-width:180px;">
<option value="">Select</option>
<option value="wet"
<?php echo ($record['gradeCondition'] == 'wet') ? "selected":''; ?>
@ -525,8 +542,8 @@
<!-- need to check the status and select values before hand -->
<!-- 'td:eq(33)' -->
<td class="celda_normal" style="color:#02d0eb; background:white;" contenteditable="true">
<select class="status sand-status select2" style="width:210px;">
<td class="celda_normal" style="color:#02d0eb; background:white; min-width : 200px; max-width:200px;" contenteditable="true">
<select class="status sand-status select2" style=" min-width : 180px; max-width:180px;">
<option value="noRemark">Select</option>
<option value="accepted"
<?php echo ($record['remark'] == 'accepted') ? "selected":''; ?>
@ -604,34 +621,32 @@
</tbody>
</table>
<table id="incomingSilicaSandDetailsSummaryTable" class="fht-table table table-striped " >
<table id="incomingSilicaSandDetailsSummaryTable" class="fht-table table-striped " >
<thead>
<tr>
<th class="celda_encabezado_total" style="padding: 10px;">total </th>
<th class="celda_encabezado_total" style="padding: 10px;">IGR No-xxx</th>
<th class="celda_encabezado_total" style="padding: 10px;">Invoice No-123</th>
<th class="celda_encabezado_total" style="padding: 10px;">22-01-2025</th>
<th class="celda_encabezado_total" style="padding: 10px;"> Received Date </th>
<th class="celda_encabezado_total" style="padding: 10px;">MADRAS ENGINEERING INDUSTRIES PRIVATE LIMITED</th>
<th class="celda_encabezado_total" style="padding: 10px;"> Silica Sand </th>
<th class="celda_encabezado_total" style="padding: 10px;">Grade Condition</th>
<th class="celda_encabezado_total" style="padding: 10px;"> Tn 25 bb 6988</th>
<th class="celda_encabezado_total" style="padding: 10px;">Qty</th>
<th class="celda_encabezado_total" style="padding: 10px;">Lab Report</th>
<th class="celda_encabezado_total" style="padding: 10px;">AFS Spec</th>
<th class="celda_encabezado_total" style="padding: 10px;">AFS Actual</th>
<th class="celda_encabezado_total" style="padding: 10px;">Plus 20 loss%</th>
<th class="celda_encabezado_total" style="padding: 10px;">Plus 30 Loss %</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture % Spec</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture Actual</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture Loss</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture loss Qty</th>
<th class="celda_encabezado_total" style="padding: 10px;">S.NO </th>
<th class="celda_encabezado_total" style="padding: 10px;">IGR No </th>
<th class="celda_encabezado_total" style="padding: 10px;">Invoice No</th>
<th class="celda_encabezado_total" style="padding: 10px;">Invoice Date</th>
<th class="celda_encabezado_total" style="padding: 10px;">Received Date</th>
<th class="celda_encabezado_total" style="padding: 10px; min-width : 300px; max-width:300px;">Supplier Name</th>
<th class="celda_encabezado_total" style="padding: 10px;">Grade </th>
<th class="celda_encabezado_total" style="padding: 10px; min-width : 200px; max-width:200px;">Grade Condition</th>
<th class="celda_encabezado_total" style="padding: 10px;">Vehicle No</th>
<th class="celda_encabezado_total" style="padding: 10px;">Qty</th>
<th class="celda_encabezado_total" style="padding: 10px;">Lab Report</th>
<th class="celda_encabezado_total" style="padding: 10px;">AFS Spec</th>
<th class="celda_encabezado_total" style="padding: 10px;">AFS Actual</th>
<th class="celda_encabezado_total" style="padding: 10px;">Plus 20 loss%</th>
<th class="celda_encabezado_total" style="padding: 10px;">Plus 30 Loss %</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture % Spec</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture Actual</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture Loss</th>
<th class="celda_encabezado_total" style="padding: 10px;">Moisture loss Qty</th>
<th class="celda_encabezado_total" style="padding: 10px;">Sieve Loss Qty</th>
<th class="celda_encabezado_total" style="padding: 10px;">Salable Qty</th>
</tr>
</thead>