changes in stock module 07-03-2025
This commit is contained in:
parent
82e00e2b3a
commit
725c96a123
@ -146,7 +146,7 @@ class TrpProductionModel extends Model
|
||||
$builder->join('t_trp_sand_use tsu', 'tsu.date = tpmd.date', 'left');
|
||||
|
||||
// Subquery: Coating Machine Gas Consumption
|
||||
$subquery1 = $this->db->table('t_coatingMachineDetails')
|
||||
$subquery1 = $this->db->table('t_coatingmachinedetails')
|
||||
->select('date, SUM(totalGasConsumption) AS totalGasConsumption')
|
||||
->groupBy('date')
|
||||
->getCompiledSelect(false); // Convert Query Builder to raw SQL;
|
||||
@ -154,7 +154,7 @@ class TrpProductionModel extends Model
|
||||
$builder->join("({$subquery1}) tcmd", 'tcmd.date = tpmd.date', 'left');
|
||||
|
||||
// Subquery: Drier Machine Gas Consumption
|
||||
$subquery2 = $this->db->table('t_drierMachineDetails')
|
||||
$subquery2 = $this->db->table('t_driermachinedetails')
|
||||
->select('date, SUM(total_gas_consumption) AS totalGasConsumption')
|
||||
->groupBy('date')
|
||||
->getCompiledSelect(false); // Convert Query Builder to raw SQL;
|
||||
|
||||
@ -235,6 +235,10 @@
|
||||
z-index: 5!important;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="content-page">
|
||||
@ -456,49 +460,26 @@
|
||||
|
||||
} ?>
|
||||
|
||||
<table id="coatingMachineStockDetailsTableSummaryId" class="fht-table table-hover table-bordered">
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> <?=$summary['totalMachineRunningHrs']?></td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "><?=$summary['totalCoating']?></td>
|
||||
<td class="celda_normal "><?=$summary['totalCoatingSandInKg']?></td>
|
||||
<td class="celda_normal "><?=$summary['totalGasConsumption']?></td>
|
||||
<td class="celda_normal "><?=number_format($summary['totalGasConsumption']/$summary['totalMachineRunningHrs'], 2)?> (avg)</td>
|
||||
<td class="celda_normal "><?=number_format($summary['totalCoatingSandInKg']/$summary['totalMachineRunningHrs'], 2)?> (avg)</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
|
||||
<thead >
|
||||
|
||||
<th class="celda_encabezado_total"
|
||||
style="padding: 10px; background-color:#ffff;"> Date </th>
|
||||
<th class="celda_encabezado_total" >Shift</th>
|
||||
<th class="celda_encabezado_total" >Machine On Time</th>
|
||||
<th class="celda_encabezado_total" >Machine Off Time</th>
|
||||
<th class="celda_encabezado_total" >Machine Running(hr)</th>
|
||||
<th class="celda_encabezado_total" >Customer Name </th>
|
||||
<th class="celda_encabezado_total" >Grade</th>
|
||||
<th class="celda_encabezado_total" >Total Coating</th>
|
||||
<th class="celda_encabezado_total" >Total Coating Sand(kg)</th>
|
||||
<th class="celda_encabezado_total" >Total Gas Consumption</th>
|
||||
<th class="celda_encabezado_total" >Hour Gas</th>
|
||||
<th class="celda_encabezado_total" >Hour QTY(kg)</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> <?=$summary['totalMachineRunningHrs']?></td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "> - </td>
|
||||
<td class="celda_normal "><?=$summary['totalCoating']?></td>
|
||||
<td class="celda_normal "><?=$summary['totalCoatingSandInKg']?></td>
|
||||
<td class="celda_normal "><?=$summary['totalGasConsumption']?></td>
|
||||
<td class="celda_normal "><?=number_format($summary['totalGasConsumption']/$summary['totalMachineRunningHrs'], 2)?> (avg)</td>
|
||||
<td class="celda_normal "><?=number_format($summary['totalCoatingSandInKg']/$summary['totalMachineRunningHrs'], 2)?> (avg)</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -235,6 +235,9 @@
|
||||
} */
|
||||
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -419,7 +422,7 @@
|
||||
</div>
|
||||
|
||||
<!-- hidden fields -->
|
||||
<input type="hidden" name="month" id="month" value="<?php echo "$month" ?>"
|
||||
<input type="hidden" name="month" value="<?php echo "$month" ?>"
|
||||
class="form-control mt-2" data-provide="datepicker"
|
||||
data-date-format="M-yyyy" data-date-min-view-mode="1">
|
||||
|
||||
@ -585,45 +588,27 @@
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="bagStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<thead >
|
||||
<th class="celda_encabezado_total">Total Sum</th>
|
||||
<?php foreach($summary as $each){ ?>
|
||||
<th class="celda_encabezado_total">Opening Stock</th>
|
||||
<th class="celda_encabezado_total">Receipt</th>
|
||||
<th class="celda_encabezado_total">Used</th>
|
||||
<th class="celda_encabezado_total">Balance Stock</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach($summary as $each){
|
||||
?>
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="celda_normal "><?=$each['opening']?></td>
|
||||
<td class="celda_normal "><?=$each['receipt']?></td>
|
||||
<td class="celda_normal "><?=$each['used']?></td>
|
||||
<td class="celda_normal "><?=$each['balanceStock']?></td>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<?php foreach($summary as $each){
|
||||
?>
|
||||
|
||||
|
||||
<td class="celda_normal "><?=$each['opening']?></td>
|
||||
<td class="celda_normal "><?=$each['receipt']?></td>
|
||||
<td class="celda_normal "><?=$each['used']?></td>
|
||||
<td class="celda_normal "><?=$each['balanceStock']?></td>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- this else condition work if groupedBagStockDetails is empty and creating new records
|
||||
with initial values 0 for entire month -->
|
||||
@ -1282,4 +1267,17 @@
|
||||
};
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#month').datepicker({
|
||||
format: "M-yyyy", // Format as "Jan-2025"
|
||||
minViewMode: 1, // Month-Year Picker
|
||||
autoclose: true,
|
||||
todayHighlight: true
|
||||
}).on('focus', function() {
|
||||
$(this).datepicker('show'); // Ensure it opens on focus
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -226,8 +226,9 @@
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
tfoot tr{
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -683,67 +684,40 @@ foreach ($period as $day) {
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="dieselStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<thead >
|
||||
|
||||
<th class="celda_encabezado_total" >Total Sum</th>
|
||||
|
||||
<th class="celda_encabezado_total"> Opening</th>
|
||||
<th class="celda_encabezado_total"> Purchase Diesel</th>
|
||||
<th class="celda_encabezado_total"> Filling Diesel</th>
|
||||
<th class="celda_encabezado_total"> Balance Stock</th>
|
||||
|
||||
<?php foreach($summary as $each){
|
||||
if(is_array($each)){
|
||||
?>
|
||||
<th class="celda_encabezado_total">Opening Reading</th>
|
||||
<th class="celda_encabezado_total">Closing Reading</th>
|
||||
<th class="celda_encabezado_total">Filling Diesel</th>
|
||||
<th class="celda_encabezado_total">Consumption</th>
|
||||
<th class="celda_encabezado_total">Running Hours</th>
|
||||
<th class="celda_encabezado_total">Mileage</th>
|
||||
<?php }
|
||||
} ?>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
|
||||
<td><?= $summary['opening_diesel'] ?></td>
|
||||
<td><?= $summary['totalPurchaseDiesel'] ?></td>
|
||||
<td><?= $summary['totalFillingDiesel'] ?></td>
|
||||
<td><?= $summary['balanceStock'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['opening_diesel'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['totalPurchaseDiesel'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['totalFillingDiesel'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['balanceStock'] ?></td>
|
||||
|
||||
<?php foreach($summary as $each){
|
||||
if(is_array($each)){
|
||||
?>
|
||||
<?php foreach($summary as $each){
|
||||
if(is_array($each)){
|
||||
?>
|
||||
|
||||
<td class="celda_normal "><?=$each['opening_reading']?> </td>
|
||||
<td class="celda_normal "><?=$each['closing_reading']?></td>
|
||||
<td class="celda_normal "><?=$each['filling_diesel']?></td>
|
||||
<td class="celda_normal "><?=$each['consumption']?></td>
|
||||
<td class="celda_normal "><?=$each['running_hours']?></td>
|
||||
<td class="celda_normal "><?=$each['mileage']?></td>
|
||||
<td class="celda_normal "><?=$each['opening_reading']?> </td>
|
||||
<td class="celda_normal "><?=$each['closing_reading']?></td>
|
||||
<td class="celda_normal "><?=$each['filling_diesel']?></td>
|
||||
<td class="celda_normal "><?=$each['consumption']?></td>
|
||||
<td class="celda_normal "><?=$each['running_hours']?></td>
|
||||
<td class="celda_normal "><?=$each['mileage']?></td>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- this else condition work if groupeddieselStockDetails is empty and creating new records
|
||||
with initial values 0 for entire month -->
|
||||
|
||||
@ -238,6 +238,10 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
z-index: 5!important;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="content-page">
|
||||
<div class="content">
|
||||
@ -503,62 +507,29 @@ $datefordropdown = format_date($datefordropdown, 0, 'M-Y');
|
||||
|
||||
|
||||
</tbody>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
<?php if(!empty($drierDetails)){ ?>
|
||||
|
||||
<table id="drierTableSummaryId" class="fht-table ">
|
||||
|
||||
<thead >
|
||||
|
||||
<tr>
|
||||
<th class="celda_encabezado_total"
|
||||
style="padding:5px; border:#ffffff; background-color: #ffffff;">Date value</th>
|
||||
<th class="celda_encabezado_total" >Drier On Time </th>
|
||||
<th class="celda_encabezado_total" >Drier Off Time</th>
|
||||
<th class="celda_encabezado_total" >Running Hrs</th>
|
||||
<th class="celda_encabezado_total" >Supplier Name </th>
|
||||
|
||||
<th class="celda_encabezado_total" >input Sand Qty (Metric Ton)</th>
|
||||
<th class="celda_encabezado_total" >inputp Sand Moisture(%)</th>
|
||||
<th class="celda_encabezado_total" >Sand Dried Qty (Metric Ton)</th>
|
||||
<th class="celda_encabezado_total" >Total Gas Consumption</th>
|
||||
<th class="celda_encabezado_total" >Gas Per Ton</th>
|
||||
<th class="celda_encabezado_total" >Qty Per Hrs (Metric Ton)</th>
|
||||
<th class="celda_encabezado_total" >Moisture Loss Qty (Metric Ton)</th>
|
||||
<th class="celda_encabezado_total" >Dust Qty (Metric Ton)</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal "><?=$summary['drier_running_hours']?></td>
|
||||
<td class="celda_normal ">-</td>
|
||||
|
||||
<td class="celda_normal "><?=$summary['input_sand_qty']?></td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal "><?=$summary['sand_dried_qty']?></td>
|
||||
<td class="celda_normal "><?=$summary['total_gas_consumption']?></td>
|
||||
<td class="celda_normal "></td>
|
||||
<td class="celda_normal "></td>
|
||||
<td class="celda_normal "><?=$summary['moisture_loss_qty']?></td>
|
||||
<td class="celda_normal "><?=$summary['dust_qty']?></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php } ?>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal "><?=$summary['drier_running_hours']?></td>
|
||||
<td class="celda_normal ">-</td>
|
||||
|
||||
<td class="celda_normal "><?=$summary['input_sand_qty']?></td>
|
||||
<td class="celda_normal ">-</td>
|
||||
<td class="celda_normal "><?=$summary['sand_dried_qty']?></td>
|
||||
<td class="celda_normal "><?=$summary['total_gas_consumption']?></td>
|
||||
<td class="celda_normal "></td>
|
||||
<td class="celda_normal "></td>
|
||||
<td class="celda_normal "><?=$summary['moisture_loss_qty']?></td>
|
||||
<td class="celda_normal "><?=$summary['dust_qty']?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
<?php if(empty($drierDetails)){ ?>
|
||||
<br><br>
|
||||
|
||||
@ -228,6 +228,10 @@
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -273,10 +277,9 @@
|
||||
data-date-format="M-yyyy" data-date-min-view-mode="1" readonly>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-success"> Change Month </button>
|
||||
</div>
|
||||
<div class="col-md-1"></div>
|
||||
<div class="col-6">
|
||||
<div class="dropdown float-right">
|
||||
<a href="#" class="dropdown-toggle arrow-none" data-toggle="dropdown"
|
||||
@ -378,9 +381,9 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;"> Total </td>
|
||||
<td class="celda_normal "><?=$summary['finalRough']?></td>
|
||||
<td class="celda_normal "><?=$summary['dust']?></td>
|
||||
<td class="celda_normal "><?=$summary['total']?></td>
|
||||
<td class="celda_normal "> <b> <?=$summary['finalRough']?> </b> </td>
|
||||
<td class="celda_normal "> <b> <?=$summary['dust']?> </b> </td>
|
||||
<td class="celda_normal "> <b> <?=$summary['total']?> </b> </td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
@ -680,3 +683,18 @@
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#month').datepicker({
|
||||
format: "M-yyyy", // Format as "Jan-2025"
|
||||
minViewMode: 1, // Month-Year Picker
|
||||
autoclose: true,
|
||||
todayHighlight: true,
|
||||
orientation: "auto" // Adjusts automatically, or use "top" / "bottom"
|
||||
}).on('focus', function() {
|
||||
$(this).datepicker('show'); // Ensure it opens on focus
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@ -217,6 +217,9 @@
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -501,50 +504,8 @@
|
||||
|
||||
} ?>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="gasStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
|
||||
|
||||
<thead class="celda_encabezado_total" style="padding: 10px;">
|
||||
|
||||
|
||||
<tr>
|
||||
<th class="celda_encabezado_total" rowspan="1" colspan="1">RIPL </th>
|
||||
<th class="celda_encabezado_total" colspan="6">Gas Stock </th>
|
||||
<th class="celda_encabezado_total">FBD 10 Ton Dryer</th>
|
||||
<th class="celda_encabezado_total">Sand Dried</th>
|
||||
<th class="celda_encabezado_total">Coating Machine</th>
|
||||
<th class="celda_encabezado_total">Sand Coated</th>
|
||||
<th class="celda_encabezado_total" colspan="2">TRP </th>
|
||||
<th class="celda_encabezado_total">Sand TRP</th>
|
||||
<th class="celda_encabezado_total">Rotary Drier </th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="celda_encabezado_total">Date </th>
|
||||
<th class="celda_encabezado_total">Opening Stock</th>
|
||||
<th class="celda_encabezado_total">Purchase(Bharath)</th>
|
||||
<th class="celda_encabezado_total">Purchase(Indian)</th>
|
||||
<th class="celda_encabezado_total">Total</th>
|
||||
<th class="celda_encabezado_total">Consumption </th>
|
||||
<th class="celda_encabezado_total">Balance Stock</th>
|
||||
<th class="celda_encabezado_total">Consumption </th>
|
||||
<th class="celda_encabezado_total">ton </th>
|
||||
<th class="celda_encabezado_total">Consumption</th>
|
||||
<th class="celda_encabezado_total">ton </th>
|
||||
<th class="celda_encabezado_total">Panel Consumption</th>
|
||||
<th class="celda_encabezado_total">Physical Consumption</th>
|
||||
<th class="celda_encabezado_total">ton </th>
|
||||
<th class="celda_encabezado_total">Consumption</th>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
@ -568,12 +529,8 @@
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
|
||||
|
||||
|
||||
@ -226,6 +226,9 @@
|
||||
z-index: 5!important;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -669,48 +672,14 @@
|
||||
} ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table id="incomingSilicaSandDetailsSummaryTable" class="fht-table table-striped " >
|
||||
<thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<th class="celda_encabezado_total"
|
||||
style="padding: 10px; border:#ffffff; background-color:#ffffff !important;">S.NO </th>
|
||||
<th class="celda_encabezado_total"
|
||||
style="padding: 10px; border:#ffffff; background-color:#ffffff !important;">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>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" style="display: none;" > -</td>
|
||||
<td class="celda_normal" style="background-color:rgb(189, 9, 6); color:#fff ;"> <h5 style="color:#fff;"> Total </h5> </td>
|
||||
|
||||
|
||||
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" > -</td>
|
||||
@ -718,6 +687,7 @@
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" > -</td>
|
||||
<td class="celda_normal" > -</td>
|
||||
|
||||
|
||||
<td class="celda_normal" ><?=$summary['Qty']?></td>
|
||||
@ -732,13 +702,11 @@
|
||||
<td class="celda_normal" ><?=$summary['moistureLossQty']?></td>
|
||||
<td class="celda_normal" ><?=$summary['sieveLossQty']?></td>
|
||||
<td class="celda_normal" ><?=$summary['salableQty']?></td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
@ -235,6 +235,12 @@
|
||||
min-width: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -685,71 +691,37 @@ foreach ($period as $day) {
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="powerStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<thead>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<tr>
|
||||
<th class="celda_encabezado_total" colspan="1">Date </th>
|
||||
<th class="celda_encabezado_total">Opening Reading </th>
|
||||
<th class="celda_encabezado_total">Final Reading</th>
|
||||
<th class="celda_encabezado_total">Total Reading</th>
|
||||
<th class="celda_encabezado_total">Total Units </th>
|
||||
<th class="celda_encabezado_total">Average PF</th>
|
||||
<th class="celda_encabezado_total">Present PF</th>
|
||||
<th class="celda_encabezado_total">MD </th>
|
||||
<th class="celda_encabezado_total">MF *60</th>
|
||||
<td class="celda_normal "><?= $summary['openingReading'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['finalReading'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['totalReading'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['totalUnits'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['averagePf'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['presentPf'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['md'] ?></td>
|
||||
<td class="celda_normal "><?= $summary['mf'] ?></td>
|
||||
|
||||
<?php foreach ($electricMachines as $powerMachine) { ?>
|
||||
<!-- this will loop till machines present -->
|
||||
<th class="celda_encabezado_total" style="display:none">Date</th>
|
||||
<th class="celda_encabezado_total" style="display:none"> Machine Id</th>
|
||||
<th class="celda_encabezado_total">Opening Units</th>
|
||||
<th class="celda_encabezado_total">Final Units</th>
|
||||
<th class="celda_encabezado_total">Total Units</th>
|
||||
<?php } ?>
|
||||
<?php foreach ($summary as $each) {
|
||||
if (is_array($each)) {
|
||||
?>
|
||||
|
||||
</tr>
|
||||
<td class="celda_normal "><?= $each['opening_units'] ?> </td>
|
||||
<td class="celda_normal "><?= $each['closing_units'] ?></td>
|
||||
<td class="celda_normal "><?= $each['total_units'] ?></td>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<td><?= $summary['openingReading'] ?></td>
|
||||
<td><?= $summary['finalReading'] ?></td>
|
||||
<td><?= $summary['totalReading'] ?></td>
|
||||
<td><?= $summary['totalUnits'] ?></td>
|
||||
<td><?= $summary['averagePf'] ?></td>
|
||||
<td><?= $summary['presentPf'] ?></td>
|
||||
<td><?= $summary['md'] ?></td>
|
||||
<td><?= $summary['mf'] ?></td>
|
||||
|
||||
<?php foreach ($summary as $each) {
|
||||
if (is_array($each)) {
|
||||
?>
|
||||
|
||||
<td class="celda_normal "><?= $each['opening_units'] ?> </td>
|
||||
<td class="celda_normal "><?= $each['closing_units'] ?></td>
|
||||
<td class="celda_normal "><?= $each['total_units'] ?></td>
|
||||
|
||||
<?php
|
||||
}
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
}
|
||||
?>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<!-- this else condition work if groupedpowerStockDetails is empty and creating new records
|
||||
with initial values 0 for entire month -->
|
||||
@ -862,6 +834,8 @@ foreach ($period as $day) {
|
||||
<?php } ?>
|
||||
|
||||
data-id="<?= $dateInMonth ?> <?= $powerMachine['id'] ?>">
|
||||
|
||||
|
||||
<?php
|
||||
foreach($previousMonthPowerConsumptionStockDetails as $index => $previousMonthPowerConsumptionStockDetail)
|
||||
{
|
||||
|
||||
@ -235,6 +235,10 @@
|
||||
min-width: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -569,44 +573,27 @@ foreach ($period as $day) {
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="resinStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<thead>
|
||||
<th class="celda_encabezado_total">Total Sum</th>
|
||||
<?php foreach ($summary as $each) { ?>
|
||||
<th class="celda_encabezado_total">Opening Stock</th>
|
||||
<th class="celda_encabezado_total">Receipt</th>
|
||||
<th class="celda_encabezado_total">Used</th>
|
||||
<th class="celda_encabezado_total">Balance Stock</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<?php foreach ($summary as $each) { ?>
|
||||
<?php foreach ($summary as $each) { ?>
|
||||
|
||||
|
||||
<td class="celda_normal "><?= $each['opening'] ?></td>
|
||||
<td class="celda_normal "><?= $each['receipt'] ?></td>
|
||||
<td class="celda_normal "><?= $each['used'] ?></td>
|
||||
<td class="celda_normal "><?= $each['balanceStock'] ?></td>
|
||||
<td class="celda_normal "><?= $each['opening'] ?></td>
|
||||
<td class="celda_normal "><?= $each['receipt'] ?></td>
|
||||
<td class="celda_normal "><?= $each['used'] ?></td>
|
||||
<td class="celda_normal "><?= $each['balanceStock'] ?></td>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</tr>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- this else condition work if groupedBagStockDetails is empty and creating new records
|
||||
with initial values 0 for entire month -->
|
||||
<?php } else { ?>
|
||||
|
||||
@ -230,6 +230,10 @@
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -1004,421 +1008,274 @@ $timeOtions[] = "12:00 AM";
|
||||
|
||||
|
||||
|
||||
<table id="trpProductionStockSummaryTableId" class="fht-table table-striped">
|
||||
|
||||
<thead class="celda_encabezado_general" style="padding: 10px;">
|
||||
|
||||
<tr>
|
||||
<!-- th:eq(0) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Date </th>
|
||||
<!-- th:eq(1) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Opening Time </th>
|
||||
<!-- th:eq(2) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Closing Time </th>
|
||||
<!-- th:eq(3) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Total Hours </th>
|
||||
<!-- th:eq(4) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Cold Start </th>
|
||||
<!-- th:eq(5) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Break Down Hours </th>
|
||||
<!-- th:eq(6) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Burner Firing Hours </th>
|
||||
<!-- th:eq(7) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Sand Feeding Hours </th>
|
||||
<!-- th:eq(8) -->
|
||||
<th class="celda_encabezado_total" colspan="2">Gas Receipt </th>
|
||||
<!-- th:eq(9) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Physical Gas Consumption </th>
|
||||
<!-- th:eq(10) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Drier Gas Consumption </th>
|
||||
<!-- th:eq(11) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Coating Gas Consumption </th>
|
||||
<!-- th:eq(12) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">TRP plus Drier Gas Consumption </th>
|
||||
<!-- th:eq(13) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">TRP Physical Gas Per Ton </th>
|
||||
<!-- th:eq(14) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Panel Gas Consumption </th>
|
||||
<!-- th:eq(15) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Panel Gas Per Ton </th>
|
||||
|
||||
<!-- th:eq(16) -->
|
||||
|
||||
<?php if(count($wcsSupplierList)>0){?>
|
||||
<th class="celda_encabezado_total" colspan="<?=count($wcsSupplierList)?>">Incoming Sand/ Lump details </th>
|
||||
<?php } ?>
|
||||
|
||||
<!-- th:eq(17) -->
|
||||
<th class="celda_encabezado_total" colspan="3">ED details </th>
|
||||
<!-- th:eq(18) -->
|
||||
<th class="celda_encabezado_total" colspan="2">TRP Sand </th>
|
||||
|
||||
<th class="celda_encabezado_total" rowspan="2">Coating </th>
|
||||
|
||||
<!-- th:eq(19) -->
|
||||
|
||||
<?php if(count($crsClientList)>0){?>
|
||||
<th class="celda_encabezado_total" colspan="<?=count($crsClientList)?>">Usage </th>
|
||||
<?php } ?>
|
||||
|
||||
<!-- th:eq(20) -->
|
||||
<th class="celda_encabezado_total" colspan="2">Water </th>
|
||||
<!-- th:eq(21) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">EB Reading </th>
|
||||
<!-- th:eq(22) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">EB Unit Per Ton </th>
|
||||
<!-- th:eq(23) -->
|
||||
<th class="celda_encabezado_total" colspan="4">Working Persons </th>
|
||||
<!-- th:eq(24) -->
|
||||
<th class="celda_encabezado_total" colspan="2"> Maintanence Details </th>
|
||||
<!-- th:eq(25) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Description </th>
|
||||
<!-- th:eq(26) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">MS Seperation </th>
|
||||
<!-- th:eq(27) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">ED Waste </th>
|
||||
<!-- th:eq(28) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Cooler Bags </th>
|
||||
<!-- th:eq(29) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">ED +20 Waste </th>
|
||||
<!-- th:eq(30) -->
|
||||
<th class="celda_encabezado_total" rowspan="2">Cyclone Waste </th>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<!-- th:eq(0) -->
|
||||
<th class="celda_encabezado_total" style="z-index:11;">BG</th>
|
||||
<!-- th:eq(1) -->
|
||||
<th class="celda_encabezado_total">PG </th>
|
||||
|
||||
<?php foreach($wcsSupplierList as $supplier){ ?>
|
||||
|
||||
<th class="celda_encabezado_total"><?=$supplier?> </th>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<!-- th:eq(10) -->
|
||||
<th class="celda_encabezado_total">Running Hours </th>
|
||||
<!-- th:eq(11) -->
|
||||
<th class="celda_encabezado_total">Production </th>
|
||||
<!-- th:eq(12) -->
|
||||
<th class="celda_encabezado_total">Usage </th>
|
||||
<!-- th:eq(13) -->
|
||||
<th class="celda_encabezado_total">Production </th>
|
||||
<!-- th:eq(14) -->
|
||||
<th class="celda_encabezado_total">Production Per Hour </th>
|
||||
<!-- th:eq(15) -->
|
||||
|
||||
<!-- th:eq(16) -->
|
||||
|
||||
<?php foreach($crsClientList as $client){ ?>
|
||||
|
||||
<th class="celda_encabezado_total"><?=$client?> </th>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- th:eq(21) -->
|
||||
<th class="celda_encabezado_total">Receipt </th>
|
||||
<!-- th:eq(22) -->
|
||||
<th class="celda_encabezado_total">Consumption </th>
|
||||
<!-- th:eq(23) -->
|
||||
<th class="celda_encabezado_total">Engineers </th>
|
||||
<!-- th:eq(24) -->
|
||||
<th class="celda_encabezado_total">Supervisors</th>
|
||||
<!-- th:eq(25) -->
|
||||
<th class="celda_encabezado_total">Operators </th>
|
||||
<!-- th:eq(26) -->
|
||||
<th class="celda_encabezado_total">Roller Drivers </th>
|
||||
<!-- th:eq(27) -->
|
||||
<th class="celda_encabezado_total">Nature Of Maintenance </th>
|
||||
<!-- th:eq(28) -->
|
||||
<th class="celda_encabezado_total">Location </th>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody style="background-color: #fff;">
|
||||
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<!-- Total -->
|
||||
<!-- td:eq(0) -->
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
<!-- Total -->
|
||||
<!-- td:eq(0) -->
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<!-- openingTime -->
|
||||
<!-- td:eq(1) -->
|
||||
<td class="celda_normal">
|
||||
|
||||
</td>
|
||||
<!-- openingTime -->
|
||||
<!-- td:eq(1) -->
|
||||
<td class="celda_normal">
|
||||
|
||||
</td>
|
||||
|
||||
<!-- closingTime -->
|
||||
<!-- td:eq(2) -->
|
||||
<td class="celda_normal">
|
||||
<!-- closingTime -->
|
||||
<!-- td:eq(2) -->
|
||||
<td class="celda_normal">
|
||||
|
||||
</td>
|
||||
</td>
|
||||
|
||||
<!-- totalHours -->
|
||||
<!-- td:eq(3) -->
|
||||
<td class="celda_normal ">
|
||||
<?= $summary['totalHours'] ?>
|
||||
</td>
|
||||
<!-- totalHours -->
|
||||
<!-- td:eq(3) -->
|
||||
<td class="celda_normal ">
|
||||
<?= $summary['totalHours'] ?>
|
||||
</td>
|
||||
|
||||
<!-- coldStart -->
|
||||
<!-- td:eq(4) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coldStart']?>
|
||||
</td>
|
||||
<!-- coldStart -->
|
||||
<!-- td:eq(4) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coldStart']?>
|
||||
</td>
|
||||
|
||||
<!-- breakdownHours -->
|
||||
<!-- td:eq(5) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['breakdownHours']?>
|
||||
</td>
|
||||
<!-- breakdownHours -->
|
||||
<!-- td:eq(5) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['breakdownHours']?>
|
||||
</td>
|
||||
|
||||
<!-- burnerFiringHours -->
|
||||
<!-- td:eq(6) -->
|
||||
<td class="celda_normal ">
|
||||
<?= $summary['burnerFiringHours'] ?>
|
||||
</td>
|
||||
<!-- burnerFiringHours -->
|
||||
<!-- td:eq(6) -->
|
||||
<td class="celda_normal ">
|
||||
<?= $summary['burnerFiringHours'] ?>
|
||||
</td>
|
||||
|
||||
<!-- sandFeedingHours -->
|
||||
<!-- td:eq(7) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['sandFeedingHours'] ?>
|
||||
</td>
|
||||
<!-- sandFeedingHours -->
|
||||
<!-- td:eq(7) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['sandFeedingHours'] ?>
|
||||
</td>
|
||||
|
||||
<!-- gasReceiptBg -->
|
||||
<!-- td:eq(8) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['gasReceiptBg'] ?>
|
||||
</td>
|
||||
<!-- gasReceiptBg -->
|
||||
<!-- td:eq(8) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['gasReceiptBg'] ?>
|
||||
</td>
|
||||
|
||||
<!-- gasReceiptPg -->
|
||||
<!-- td:eq(9) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['gasReceiptPg'] ?>
|
||||
</td>
|
||||
<!-- gasReceiptPg -->
|
||||
<!-- td:eq(9) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['gasReceiptPg'] ?>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<!-- physicalGasConsumption -->
|
||||
<!-- td:eq(10) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['physicalGasConsumption']?>
|
||||
</td>
|
||||
<!-- physicalGasConsumption -->
|
||||
<!-- td:eq(10) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['physicalGasConsumption']?>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<!-- drierGasConsumption -->
|
||||
<!-- td:eq(11) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['drierGasConsumption']?>
|
||||
</td>
|
||||
<!-- drierGasConsumption -->
|
||||
<!-- td:eq(11) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['drierGasConsumption']?>
|
||||
</td>
|
||||
|
||||
<!-- coatingGasConsumption -->
|
||||
<!-- td:eq(12) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coatingGasConsumption'] ?>
|
||||
</td>
|
||||
<!-- coatingGasConsumption -->
|
||||
<!-- td:eq(12) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coatingGasConsumption'] ?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- trpPlusDrierGasConsumption -->
|
||||
<!-- td:eq(13) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpPlusDrierGasConsumption']?>
|
||||
</td>
|
||||
<!-- trpPlusDrierGasConsumption -->
|
||||
<!-- td:eq(13) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpPlusDrierGasConsumption']?>
|
||||
</td>
|
||||
|
||||
<!-- trpPhysicalGasPerTon -->
|
||||
<!-- td:eq(14) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpPhysicalGasPerTon']?>
|
||||
</td>
|
||||
<!-- trpPhysicalGasPerTon -->
|
||||
<!-- td:eq(14) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpPhysicalGasPerTon']?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- panelGasConsumption -->
|
||||
<!-- td:eq(15) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['panelGasConsumption'] ?>
|
||||
</td>
|
||||
<!-- panelGasConsumption -->
|
||||
<!-- td:eq(15) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['panelGasConsumption'] ?>
|
||||
</td>
|
||||
|
||||
<!-- panelGasPerTon -->
|
||||
<!-- td:eq(16) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['panelGasPerTon']?>
|
||||
</td>
|
||||
<!-- panelGasPerTon -->
|
||||
<!-- td:eq(16) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['panelGasPerTon']?>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
foreach($wcsSupplierList as $supplier){ ?>
|
||||
<td class="celda_normal">
|
||||
<?=$summary[$supplier]?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
<?php
|
||||
foreach($wcsSupplierList as $supplier){ ?>
|
||||
<td class="celda_normal">
|
||||
<?=$summary[$supplier]?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- edRunningHours -->
|
||||
<!-- td:eq(24) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['edRunningHours']?>
|
||||
</td>
|
||||
<!-- edRunningHours -->
|
||||
<!-- td:eq(24) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['edRunningHours']?>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<!-- edProduction -->
|
||||
<!-- td:eq(25) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['edProduction'] ?>
|
||||
</td>
|
||||
<!-- edProduction -->
|
||||
<!-- td:eq(25) -->
|
||||
<td class="celda_normal">
|
||||
<?= $summary['edProduction'] ?>
|
||||
</td>
|
||||
|
||||
<!-- edUsage -->
|
||||
<!-- td:eq(26) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edUsage'] ?>
|
||||
</td>
|
||||
<!-- edUsage -->
|
||||
<!-- td:eq(26) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edUsage'] ?>
|
||||
</td>
|
||||
|
||||
<!-- trpProduction -->
|
||||
<!-- td:eq(27) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpProduction'] ?>
|
||||
</td>
|
||||
<!-- trpProduction -->
|
||||
<!-- td:eq(27) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpProduction'] ?>
|
||||
</td>
|
||||
|
||||
<!-- trpProductionPerHour -->
|
||||
<!-- td:eq(28) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpProductionPerHour'] ?>
|
||||
</td>
|
||||
<!-- trpProductionPerHour -->
|
||||
<!-- td:eq(28) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['trpProductionPerHour'] ?>
|
||||
</td>
|
||||
|
||||
<!-- coating -->
|
||||
<!-- td:eq(29) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coating'] ?>
|
||||
</td>
|
||||
|
||||
|
||||
<?php
|
||||
foreach($crsClientList as $client){ ?>
|
||||
<td class="celda_normal">
|
||||
<?=$summary[$client]?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
<!-- coating -->
|
||||
<!-- td:eq(29) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coating'] ?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- waterReceipt -->
|
||||
<!-- td:eq(35) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['waterReceipt'] ?>
|
||||
</td>
|
||||
|
||||
<!-- waterConsumption -->
|
||||
<!-- td:eq(36) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['waterConsumption'] ?>
|
||||
</td>
|
||||
|
||||
<!-- ebReading -->
|
||||
<!-- td:eq(37) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['ebReading'] ?>
|
||||
</td>
|
||||
|
||||
<!-- ebReadingPerUnitTon -->
|
||||
<!-- td:eq(38) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['ebReadingPerUnitTon'] ?>
|
||||
</td>
|
||||
<?php
|
||||
foreach($crsClientList as $client){ ?>
|
||||
<td class="celda_normal">
|
||||
<?=$summary[$client]?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- workingPersonEngineers -->
|
||||
<!-- td:eq(39) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonEngineers'] ?>
|
||||
</td>
|
||||
<!-- waterReceipt -->
|
||||
<!-- td:eq(35) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['waterReceipt'] ?>
|
||||
</td>
|
||||
|
||||
<!-- workingPersonSupervisiors -->
|
||||
<!-- td:eq(40) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonSupervisiors'] ?>
|
||||
</td>
|
||||
<!-- waterConsumption -->
|
||||
<!-- td:eq(36) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['waterConsumption'] ?>
|
||||
</td>
|
||||
|
||||
<!-- workingPersonOperators -->
|
||||
<!-- td:eq(41) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonOperators'] ?>
|
||||
</td>
|
||||
<!-- ebReading -->
|
||||
<!-- td:eq(37) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['ebReading'] ?>
|
||||
</td>
|
||||
|
||||
<!-- rollerDrivers -->
|
||||
<!-- td:eq(42) -->
|
||||
<td class="celda_normal">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
|
||||
<!-- natureOfMaintenance -->
|
||||
<!-- td:eq(43) -->
|
||||
<td class="celda_normal">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
|
||||
<!-- location -->
|
||||
<!-- td:eq(44) -->
|
||||
<td class="celda_normal location">
|
||||
<?=" "?>
|
||||
</td>
|
||||
|
||||
<!-- description -->
|
||||
<!-- td:eq(45) -->
|
||||
<td class="celda_normal description">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
<!-- ebReadingPerUnitTon -->
|
||||
<!-- td:eq(38) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['ebReadingPerUnitTon'] ?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- msSeperation -->
|
||||
<!-- td:eq(46) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['msSeperation'] ?>
|
||||
</td>
|
||||
<!-- workingPersonEngineers -->
|
||||
<!-- td:eq(39) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonEngineers'] ?>
|
||||
</td>
|
||||
|
||||
<!-- edWaste -->
|
||||
<!-- td:eq(47) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edWaste'] ?>
|
||||
</td>
|
||||
<!-- workingPersonSupervisiors -->
|
||||
<!-- td:eq(40) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonSupervisiors'] ?>
|
||||
</td>
|
||||
|
||||
<!-- coolerBags -->
|
||||
<!-- td:eq(48) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coolerBags'] ?>
|
||||
</td>
|
||||
<!-- workingPersonOperators -->
|
||||
<!-- td:eq(41) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['workingPersonOperators'] ?>
|
||||
</td>
|
||||
|
||||
<!-- edPlus20Waste -->
|
||||
<!-- td:eq(49) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edPlus20Waste'] ?>
|
||||
</td>
|
||||
<!-- rollerDrivers -->
|
||||
<!-- td:eq(42) -->
|
||||
<td class="celda_normal">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
|
||||
<!--cycloneWaste -->
|
||||
<!-- td:eq(50) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['cycloneWaste'] ?>
|
||||
</td>
|
||||
<!-- natureOfMaintenance -->
|
||||
<!-- td:eq(43) -->
|
||||
<td class="celda_normal">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
|
||||
<!-- location -->
|
||||
<!-- td:eq(44) -->
|
||||
<td class="celda_normal location">
|
||||
<?=" "?>
|
||||
</td>
|
||||
|
||||
<!-- description -->
|
||||
<!-- td:eq(45) -->
|
||||
<td class="celda_normal description">
|
||||
<?=" " ?>
|
||||
</td>
|
||||
|
||||
|
||||
<!-- msSeperation -->
|
||||
<!-- td:eq(46) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['msSeperation'] ?>
|
||||
</td>
|
||||
|
||||
<!-- edWaste -->
|
||||
<!-- td:eq(47) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edWaste'] ?>
|
||||
</td>
|
||||
|
||||
<!-- coolerBags -->
|
||||
<!-- td:eq(48) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['coolerBags'] ?>
|
||||
</td>
|
||||
|
||||
<!-- edPlus20Waste -->
|
||||
<!-- td:eq(49) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['edPlus20Waste'] ?>
|
||||
</td>
|
||||
|
||||
<!--cycloneWaste -->
|
||||
<!-- td:eq(50) -->
|
||||
<td class="celda_normal">
|
||||
<?=$summary['cycloneWaste'] ?>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</tfoot>
|
||||
|
||||
<br><br><br>
|
||||
|
||||
|
||||
@ -222,6 +222,11 @@
|
||||
min-width: 150px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
tfoot tr {
|
||||
background-color:rgb(235, 236, 203);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@ -378,35 +383,27 @@
|
||||
|
||||
} ?>
|
||||
|
||||
<div class="table-responsive" >
|
||||
<tfoot>
|
||||
|
||||
<table id="trpSandUseStockDetailsTableSummaryId" class="fht-table table-striped">
|
||||
<tr class="total_row">
|
||||
|
||||
<thead >
|
||||
<th class="celda_encabezado_total" >Total </th>
|
||||
<th class="celda_encabezado_total" >Rough Kgs </th>
|
||||
<th class="celda_encabezado_total" >Fine Kgs </th>
|
||||
<th class="celda_encabezado_total" >Total Kgs </th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<tr>
|
||||
<td class="celda_normal "><b><?=$summary['rough_kgs']?></b></td>
|
||||
<td class="celda_normal "><b><?=$summary['fine_kgs']?></b></td>
|
||||
<td class="celda_normal "><b><?=$summary['total_kgs']?></b></td>
|
||||
<td class="celda_normal "> </td>
|
||||
</tr>
|
||||
|
||||
<td style="background-color:rgb(189, 9, 6); color:#ffff;">
|
||||
<b> Total </b>
|
||||
</td>
|
||||
|
||||
<td class="celda_normal "><?=$summary['rough_kgs']?></td>
|
||||
<td class="celda_normal "><?=$summary['fine_kgs']?></td>
|
||||
<td class="celda_normal "><?=$summary['total_kgs']?></td>
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user