stock module latest today vadivel J 07-02-2025

This commit is contained in:
vadivelJ96 2025-02-07 11:35:09 +05:30
parent 254a6c0b51
commit 337736dd6a
12 changed files with 135 additions and 63 deletions

View File

@ -185,7 +185,7 @@ class StockController extends BaseController
$data['month'] = $formattedDate;
return $this->loadViews("CoatingMachineDetail", $this->global, $data, NULL);
return $this->loadViews("stock/CoatingMachineDetail", $this->global, $data, NULL);
}
public function addNewCoatingMachineDetails()
@ -513,7 +513,7 @@ class StockController extends BaseController
$data['remark'] = $remark;
return $this->loadViews("incomingSilicaSandDetails", $this->global, $data, NULL);
return $this->loadViews("stock/incomingSilicaSandDetails", $this->global, $data, NULL);
}
public function updateIncomingSilicaSandDetails()
@ -836,7 +836,7 @@ class StockController extends BaseController
$data['month'] = $formattedDate;
return $this->loadViews("bagStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/bagStockDetails", $this->global, $data, NULL);
}
public function updateBagStockDetails()
@ -945,7 +945,7 @@ class StockController extends BaseController
$data['month'] = $formattedDate;
return $this->loadViews("dustAndRoughStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/dustAndRoughStockDetails", $this->global, $data, NULL);
}
public function updateDustAndRoughStockDetails()
@ -1149,7 +1149,7 @@ class StockController extends BaseController
$data['month'] = $formattedDate;
return $this->loadViews("resinStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/resinStockDetails", $this->global, $data, NULL);
}
public function updateResinStockDetails()
@ -1306,7 +1306,7 @@ class StockController extends BaseController
$data['month'] = DateTime::createFromFormat('Y-m', $month)->format('M-Y');
return $this->loadViews("gasStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/gasStockDetails", $this->global, $data, NULL);
}
public function updateGasStockDetails()
@ -1539,7 +1539,7 @@ class StockController extends BaseController
$data['month'] = $formattedDate;
return $this->loadViews("trpSandUseStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/trpSandUseStockDetails", $this->global, $data, NULL);
}
@ -1677,7 +1677,7 @@ class StockController extends BaseController
// return $this->response->setJSON($data);
return $this->loadViews("trpProductionStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/trpProductionStockDetails", $this->global, $data, NULL);
@ -1988,7 +1988,7 @@ class StockController extends BaseController
$data['datefordropdown'] = $currentMonth;
$this->global['pageTitle'] = 'Drier Details';
$this->loadViews("drierMachineDetails", $this->global, $data, NULL);
$this->loadViews("stock/drierMachineDetails", $this->global, $data, NULL);
}
@ -2288,7 +2288,7 @@ class StockController extends BaseController
// return $this->response->setJSON(['status' =>'success' ,'message' => $data['electricMachines']]);
return $this->loadViews("powerConsumptionDetails", $this->global, $data, NULL);
return $this->loadViews("stock/powerConsumptionDetails", $this->global, $data, NULL);
}
@ -2578,7 +2578,7 @@ class StockController extends BaseController
// return $this->response->setJSON(['status' =>'success' ,'message' => $data['dieselMachines']]);
return $this->loadViews("dieselStockDetails", $this->global, $data, NULL);
return $this->loadViews("stock/dieselStockDetails", $this->global, $data, NULL);

View File

@ -226,7 +226,7 @@
.table-responsive {
overflow-y: auto;
max-height: 450px;
max-height: 500px;
}
.fht-table thead th {

View File

@ -206,7 +206,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -597,9 +597,11 @@
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -208,7 +208,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -759,9 +759,11 @@ foreach ($period as $day) {
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -259,7 +259,7 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -604,8 +604,8 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success btn-md px-3" id="save" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="save" value="save">
</div>
</div>

View File

@ -210,7 +210,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -459,9 +459,11 @@
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -18,7 +18,7 @@
}
.fht-table td:hover {
background-color: #00a65a;
background-color: #50bbd9;
color: #ffffff;
}
@ -99,15 +99,6 @@
width: 100%;
}
.celda_encabezado_general {
background-color: #00a65a;
border: 1px solid #ccc;
color: #ffffff;
font-weight: bold;
padding: 6px 10px;;
text-align: center;
}
._Separador {
@ -122,13 +113,7 @@
width: 4px;
}
.celda_normal {
/*background-color: #fff;*/
/* <!-- ad9271 into ffffff brown-light to green-light --> */
text-align: center;
border: 1px solid #ccc;
padding: 2px 4px;
}
/*style excel*/
.excel_cell {
@ -156,17 +141,84 @@
height: 20px;
}
#gasStockDetailsTableId th:nth-child(1),
#gasStockDetailsTableId td:nth-child(1)
{
.celda_encabezado_general {
background-color: #50bbd9;
border: 1px solid #ccc;
color: #ffffff;
font-weight: bold;
padding: 6px 10px;
text-align: center;
}
.celda_encabezado_total {
background-color:#ffffff !important;
border: 1px solid #ffffff;
color: #ffffff !important;
font-weight: bold;
padding: 6px 10px;
text-align: center;
}
.celda_normal {
/*background-color: #fff;*/
/* <!-- ad9271 into ffffff brown-light to green-light --> */
text-align: center;
border: 1px solid #ccc;
padding: 10px 6px;
}
/* Make entire thead sticky */
.fht-table thead {
position: sticky;
top: 0;
z-index: 20; /* Ensure the entire header stays above table rows */
background-color: #50bbd9; /* Header background color */
}
.dropdown-menu {
z-index :25 ;
}
/* Ensure each <th> in thead stays sticky */
.fht-table thead th {
position: sticky;
top: 0;
z-index: 11; /* Higher than table rows but lower than first column */
background-color: #50bbd9; /* Green background */
color: #ffffff;
border: 1px solid #ddd;
padding: 10px;
}
/* Sticky First Column */
.fht-table th:nth-child(1),
.fht-table td:nth-child(1) {
position: sticky;
left: 0;
background-color: #00a65a;
z-index: 2;
background-color: #50bbd9;
z-index: 15; /* Ensures it stays above other cells */
border-right: 2px solid #ddd;
color: #ffffff;
}
/* Table Wrapper for Scrolling */
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 500px; /* Adjust as needed */
position: relative;
}
td{
min-width: 100px;
max-width: 100px;
}
</style>
<div class="content-page">
@ -440,10 +492,13 @@
</tbody>
</table>
</div>
<br>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -115,6 +115,7 @@
text-align: center;
min-width: 120px;
max-width: 120px;
}
.celda_encabezado_total {
@ -206,7 +207,7 @@
.table-responsive {
overflow-y: auto;
max-height: 450px;
max-height: 500px;
}
.fht-table thead th {
@ -742,9 +743,11 @@
</h5>
<?php }?>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="save" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="save" value="save">
</div>
</div>

View File

@ -208,7 +208,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -814,9 +814,11 @@ foreach ($period as $day) {
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -207,7 +207,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -564,9 +564,11 @@ foreach ($period as $day) {
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -217,7 +217,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px;
max-height: 500px;
/* Adjust as needed */
position: relative;
}
@ -1518,9 +1518,11 @@ $timeOtions[] = "12:00 AM";
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>

View File

@ -212,7 +212,7 @@
.table-responsive {
overflow-x: auto;
overflow-y: auto;
max-height: 450px; /* Adjust as needed */
max-height: 500px; /* Adjust as needed */
position: relative;
}
@ -491,9 +491,11 @@
</table>
</div>
<br>
<div class="row">
<div class="col-md-12 text-right">
<input type="button" class="btn btn-success" id="saveId" value="save">
<div class="col-md-12 text-center">
<input type="button" class="btn btn-success px-4" id="saveId" value="save">
</div>
</div>