HEADER CHANGED FOR INPROCESS MODULE
This commit is contained in:
parent
bb340935e0
commit
a02bb5e21b
@ -265,32 +265,7 @@ $(function() {
|
|||||||
<?php if(empty($DepAccesslist)){?>
|
<?php if(empty($DepAccesslist)){?>
|
||||||
<?php if($DEPCode == STORE || $DEPCode == FINANCE || $DEPCode == MANAGEMENT || $DEPCode == QUALITY || $DEPCode == PRODUCTION){?>
|
<?php if($DEPCode == STORE || $DEPCode == FINANCE || $DEPCode == MANAGEMENT || $DEPCode == QUALITY || $DEPCode == PRODUCTION){?>
|
||||||
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
|
||||||
<i class="fa fa-upload"></i>
|
|
||||||
<span>Batchcard - HourlyListing</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>batchcard/dailyListing">
|
|
||||||
<i class="fa fa-upload"></i>
|
|
||||||
<span>Batchcard - DailyListing</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>batchcard/getStockDetails">
|
|
||||||
<i class="fa fa-upload"></i>
|
|
||||||
<span>Batchcard - StockDetails</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>batchcard/getMaintListing">
|
|
||||||
<i class="fa fa-upload"></i>
|
|
||||||
<span>Batchcard - Maintenance/Breakdown</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<?php if($DEPCode == STORE){?>
|
<?php if($DEPCode == STORE){?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>storerequisitionlisting">
|
<a href="<?php echo base_url(); ?>storerequisitionlisting">
|
||||||
@ -352,8 +327,8 @@ $(function() {
|
|||||||
|
|
||||||
<!-- INPROCESS MODULE-->
|
<!-- INPROCESS MODULE-->
|
||||||
|
|
||||||
<?php if($DEPCode != HR){?>
|
<?php if($DEPCode == QUALITY){?>
|
||||||
<?php if($DEPCode != SECURITY){?>
|
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa fa-first-order"></i> In Process Inspection<span class="caret"></span></span>
|
<span id="menu" data-toggle="dropdown" ><i class="fa fa fa-first-order"></i> In Process Inspection<span class="caret"></span></span>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||||
@ -364,7 +339,7 @@ $(function() {
|
|||||||
|
|
||||||
|
|
||||||
<?php if(empty($DepAccesslist)){?>
|
<?php if(empty($DepAccesslist)){?>
|
||||||
<?php if($DEPCode == STORE || $DEPCode == FINANCE || $DEPCode == MANAGEMENT || $DEPCode == QUALITY || $DEPCode == PRODUCTION){?>
|
<?php if($DEPCode == QUALITY){?>
|
||||||
|
|
||||||
|
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
@ -398,7 +373,7 @@ $(function() {
|
|||||||
|
|
||||||
<?php $assd=$dep->AssDep;
|
<?php $assd=$dep->AssDep;
|
||||||
|
|
||||||
if($assd == STORE || $assd == QUALITY || $DEPCode == STORE || $DEPCode == QUALITY || $DEPCode == PRODUCTION || $assd == PRODUCTION){ $check =1;?>
|
if($assd == QUALITY || $DEPCode == QUALITY){ $check =1;?>
|
||||||
|
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>inprocess">
|
<a href="<?php echo base_url(); ?>inprocess">
|
||||||
@ -430,10 +405,107 @@ $(function() {
|
|||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?php }?>
|
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
|
||||||
<!-- INPROCESS MODULE-->
|
<!-- INPROCESS MODULE-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- BATCH CARD MODULE-->
|
||||||
|
|
||||||
|
<?php if($DEPCode == PRODUCTION){?>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<span id="menu" data-toggle="dropdown" ><i class="fa fa-clone"></i> TRP Batch card<span class="caret"></span></span>
|
||||||
|
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php if(empty($DepAccesslist)){?>
|
||||||
|
<?php if($DEPCode == PRODUCTION){?>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - HourlyListing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/dailyListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - DailyListing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/getStockDetails">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - StockDetails</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/getMaintListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - Maintenance/Breakdown</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php }
|
||||||
|
else{ $check = 0;?>
|
||||||
|
<?php foreach($DepAccesslist as $dep){?>
|
||||||
|
|
||||||
|
<?php $assd=$dep->AssDep;
|
||||||
|
|
||||||
|
if($assd == PRODUCTION || $DEPCode == PRODUCTION){ $check =1;?>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - HourlyListing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/dailyListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - DailyListing</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/getStockDetails">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - StockDetails</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="treeview">
|
||||||
|
<a href="<?php echo base_url(); ?>batchcard/getMaintListing">
|
||||||
|
<i class="fa fa-upload"></i>
|
||||||
|
<span>Batchcard - Maintenance/Breakdown</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
<?php } if($check == 1){break;} }?>
|
||||||
|
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
|
<!-- BATCH CARD MODULE-->
|
||||||
|
|
||||||
<!-- <?php print_r($DepAccesslist)?> -->
|
<!-- <?php print_r($DepAccesslist)?> -->
|
||||||
<?php if(empty($DepAccesslist)){ ?>
|
<?php if(empty($DepAccesslist)){ ?>
|
||||||
@ -945,8 +1017,9 @@ $(function() {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
|
<?php if($DEPCode == QUALITY){?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>quality">
|
<a href="<?php echo base_url(); ?>quality">
|
||||||
<i class="fa fa-list-alt"></i>
|
<i class="fa fa-list-alt"></i>
|
||||||
@ -966,8 +1039,8 @@ $(function() {
|
|||||||
<span>Inward Material Test Report</span>
|
<span>Inward Material Test Report</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php }?>
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
<!-- <li class="treeview">
|
<!-- <li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>ViewigrDetails">
|
<a href="<?php echo base_url(); ?>ViewigrDetails">
|
||||||
@ -1018,7 +1091,7 @@ $(function() {
|
|||||||
|
|
||||||
//echo $assd;
|
//echo $assd;
|
||||||
|
|
||||||
if($assd == STORE || $DEPCode == QUALITY || $assd == QUALITY || DEPCode == STORE || $DEPCode == SECURITY || $assd == SECURITY){ $check = $check+1;?>
|
if($assd == STORE || $DEPCode == QUALITY || $assd == QUALITY || $DEPCode == STORE || $DEPCode == SECURITY || $assd == SECURITY){ $check = $check+1;?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-check-square-o"></i> Inspection<span class="caret"></span></span>
|
<span id="menu" data-toggle="dropdown" ><i class="fa fa-check-square-o"></i> Inspection<span class="caret"></span></span>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
|
||||||
@ -1036,6 +1109,7 @@ $(function() {
|
|||||||
<span>View Material Inspection Report</span>
|
<span>View Material Inspection Report</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php if($DEPCode == QUALITY){?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>quality">
|
<a href="<?php echo base_url(); ?>quality">
|
||||||
<i class="fa fa-list-alt"></i>
|
<i class="fa fa-list-alt"></i>
|
||||||
@ -1048,7 +1122,7 @@ $(function() {
|
|||||||
<span>Product Test Report</span>
|
<span>Product Test Report</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php } ?>
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>qualityreportlistinward">
|
<a href="<?php echo base_url(); ?>qualityreportlistinward">
|
||||||
<i class="fa fa-hand-o-down"></i>
|
<i class="fa fa-hand-o-down"></i>
|
||||||
|
|||||||
@ -122,10 +122,18 @@ $index = 0;
|
|||||||
{
|
{
|
||||||
$index++;
|
$index++;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if($master->description == 'AFS'){?>
|
||||||
|
|
||||||
|
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td>
|
||||||
|
<td colspan="3"><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
||||||
|
<?php }else{ ?>
|
||||||
|
|
||||||
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td><td><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php if(!empty($master->act2)){ echo $master->act2; } else {echo '0.00';}?></td> <td><?php if(!empty($master->act3)){ echo $master->act3; } else {echo '0.00';}?></td> <td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td><td><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php if(!empty($master->act2)){ echo $master->act2; } else {echo '0.00';}?></td> <td><?php if(!empty($master->act3)){ echo $master->act3; } else {echo '0.00';}?></td> <td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -134,7 +142,7 @@ $index = 0;
|
|||||||
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><th rowspan="2">S.NO</th><th width="160">HEATING TIME</th><th width="110">TEMP</th><th width="115">CRUCIBLE WEIGHT</th><th>BEFORE HEATING WEIGHT</th><th>AFTER HEATING WEIGHT</th> <th rowspan="2">L.O.I (%)</th><th rowspan="2">Remarks</th> </tr>
|
<tr><th rowspan="2">S.NO</th><th width="160">HEATING TIME</th><th width="110">TEMP</th><th width="115">CRUCIBLE WEIGHT</th><th>BEFORE HEATING WEIGHT</th><th>AFTER HEATING WEIGHT</th> <th rowspan="2">L.O.I (%)</th><th rowspan="2">Remarks</th> </tr>
|
||||||
<tr><th>START TIME - END TIME</th><th>*C</th> <th>W1(g)</th> <th>W2(g)</th> <th>W3(g)</th></tr>
|
<tr><th>START TIME - END TIME</th><th>°C</th> <th>W1(g)</th> <th>W2(g)</th> <th>W3(g)</th></tr>
|
||||||
<?php
|
<?php
|
||||||
$indexx = 0;
|
$indexx = 0;
|
||||||
foreach($reportdata['masterreportloi'] as $loi)
|
foreach($reportdata['masterreportloi'] as $loi)
|
||||||
|
|||||||
@ -114,10 +114,18 @@ $index = 0;
|
|||||||
{
|
{
|
||||||
$index++;
|
$index++;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if($master->description == 'AFS'){?>
|
||||||
|
|
||||||
|
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td>
|
||||||
|
<td colspan="3"><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
||||||
|
<?php }else{ ?>
|
||||||
|
|
||||||
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td><td><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php if(!empty($master->act2)){ echo $master->act2; } else {echo '0.00';}?></td> <td><?php if(!empty($master->act3)){ echo $master->act3; } else {echo '0.00';}?></td> <td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
<tr> <td><?php echo $index;?></td> <td style="text-align:left;"><?php echo $master->description;?></td><td><?php if($master->min == 0 || $master->min == '') { echo "-"; } else { echo $master->min;} ?></td> <td><?php if($master->max == 0 || $master->max == '') { echo '-'; } else { echo $master->max; }?></td> <td><?php echo $master->UOM;?></td><td><?php if(!empty($master->act1)){ echo $master->act1; }else {echo '0.00';}?></td><td><?php if(!empty($master->act2)){ echo $master->act2; } else {echo '0.00';}?></td> <td><?php if(!empty($master->act3)){ echo $master->act3; } else {echo '0.00';}?></td> <td><?php echo $master->average;?></td> <td><?php echo $master->result;?></td> <td style="text-align:left;"><?php echo $master->remarks;?></td> </tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -126,7 +134,7 @@ $index = 0;
|
|||||||
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
<table style="border-collapse: collapse;border-left-style:hidden;" border="1" cellspacing="0" cellpadding="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><th rowspan="2">S.NO</th><th width="160">HEATING TIME</th><th width="110">TEMP</th><th width="115">CRUCIBLE WEIGHT</th><th>BEFORE HEATING WEIGHT</th><th>AFTER HEATING WEIGHT</th> <th rowspan="2">L.O.I (%)</th><th rowspan="2">Remarks</th> </tr>
|
<tr><th rowspan="2">S.NO</th><th width="160">HEATING TIME</th><th width="110">TEMP</th><th width="115">CRUCIBLE WEIGHT</th><th>BEFORE HEATING WEIGHT</th><th>AFTER HEATING WEIGHT</th> <th rowspan="2">L.O.I (%)</th><th rowspan="2">Remarks</th> </tr>
|
||||||
<tr><th>START TIME - END TIME</th><th>*C</th> <th>W1(g)</th> <th>W2(g)</th> <th>W3(g)</th></tr>
|
<tr><th>START TIME - END TIME</th><th>°C</th> <th>W1(g)</th> <th>W2(g)</th> <th>W3(g)</th></tr>
|
||||||
<?php
|
<?php
|
||||||
$indexx = 0;
|
$indexx = 0;
|
||||||
foreach($reportdata['masterreportloi'] as $loi)
|
foreach($reportdata['masterreportloi'] as $loi)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user