access issue

This commit is contained in:
venbatechnologies@gmail.com 2018-01-31 17:11:10 +05:30
parent d47cea36b2
commit 4acb5e15a3

View File

@ -297,12 +297,12 @@ $(function() {
<?php }?>
<?php }
else{?>
else{ $check = 0;?>
<?php foreach($DepAccesslist as $dep){?>
<?php $assd=$dep->AssDep;
if($assd == STORE || $assd == QUALITY || $DEPCode == STORE || $DEPCode == QUALITY){?>
if($assd == STORE || $assd == QUALITY || $DEPCode == STORE || $DEPCode == QUALITY){ $check =1;?>
<li class="treeview">
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
@ -333,7 +333,7 @@ $(function() {
<?php }}?>
<?php } if($check == 1){break;} }?>
<?php }?>
@ -380,7 +380,7 @@ $(function() {
<?php }?>
<?php if($DEPCode == SALES){?>
<?php if($DEPCode == SALES || $DEPCode == ADMIN){?>
<li class="treeview">
<a href="<?php echo base_url(); ?>supplierListing" >
@ -812,7 +812,7 @@ $(function() {
<?php if(empty($DepAccesslist)){
if($DEPCode == STORE || $DEPCode == QUALITY || $DEPCode == ADMIN || $Designation == SECURITY){?>
if($DEPCode == STORE || $DEPCode == QUALITY || $Designation == SECURITY){?>
<li class="treeview">
<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">