header.php edited online for MENU CHANGE

This commit is contained in:
gandhimathi 2018-03-23 07:10:06 +00:00
parent 3b3ed890e2
commit d0b2f228f7

View File

@ -549,6 +549,88 @@ $(function() {
<!-- BATCH CARD MODULE-->
<!-- RESIN BATCH CARD MODULE-->
<?php if(empty($DepAccesslist)){?>
<?php if($DEPCode == PRODUCTION){?>
<li class="treeview">
<span id="menu" data-toggle="dropdown" ><i class="fa fa-credit-card"></i> Resin 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(); ?>resinbatchcard/resinBatchCardLisitng">
<i class="fa fa-cubes"></i>
<span>Resin Batchcard List</span>
</a>
</li>
<li class="treeview">
<a href="<?php echo base_url(); ?>resinbatchcard">
<i class="fa fa-cube"></i>
<span>Add New Batch Card</span>
</a>
</li>
</ul>
</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">
<span id="menu" data-toggle="dropdown" ><i class="fa fa-credit-card"></i> Resin Batch card<span class="caret"></span></span>
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
<li class="treeview">
<a href="<?php echo base_url(); ?>resinbatchcardlisting">
<i class="fa fa-cubes"></i>
<span>Resin Batchcard List</span>
</a>
</li>
<li class="treeview">
<a href="<?php echo base_url(); ?>addNewResinbatchcard">
<i class="fa fa-cube"></i>
<span>Add New Batch Card</span>
</a>
</li>
</ul>
</li>
<?php } if($check == 1){break;} }?>
<?php }?>
<!-- RESIN BATCH CARD MODULE-->
<!-- <?php print_r($DepAccesslist)?> -->
<?php if(empty($DepAccesslist)){ ?>