access control
This commit is contained in:
parent
b313b71e1c
commit
f800ce462b
@ -52,6 +52,7 @@ $db['default']['hostname'] = 'sidharthindustries.com';
|
||||
$db['default']['username'] = 'kasiram9_Siddh';
|
||||
$db['default']['password'] = 'sidh@1234';
|
||||
$db['default']['database'] = 'kasiram9_SIADEV';
|
||||
//$db['default']['database'] = 'kasiram9_SiddharthIndustries';
|
||||
$db['default']['dbdriver'] = 'mysqli';
|
||||
$db['default']['dbprefix'] = '';
|
||||
$db['default']['pconnect'] = TRUE;
|
||||
|
||||
@ -172,7 +172,7 @@ $(function() {
|
||||
</li> -->
|
||||
<!-- <?php echo $Designation;?> -->
|
||||
<!-- <?php echo $DEPCode;?> -->
|
||||
<!-- <?php print_r($DepAccesslist); echo $DEPCode?> -->
|
||||
<!-- <?php print_r($DepAccesslist); echo $DEPCode?> -->
|
||||
|
||||
<!-- <?php if(empty($DepAccesslist)){echo "empty";}
|
||||
|
||||
@ -263,7 +263,7 @@ $(function() {
|
||||
|
||||
|
||||
<?php if(empty($DepAccesslist)){?>
|
||||
<?php if($DEPCode == STORE || $DEPCode == FINANCE || $DEPCode == MANAGEMENT || $DEPCode == QUALITY){?>
|
||||
<?php if($DEPCode == STORE || $DEPCode == FINANCE || $DEPCode == MANAGEMENT || $DEPCode == QUALITY || $DEPCode == PRODUCTION){?>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
||||
@ -302,7 +302,7 @@ $(function() {
|
||||
|
||||
<?php $assd=$dep->AssDep;
|
||||
|
||||
if($assd == STORE || $assd == QUALITY || $DEPCode == STORE || $DEPCode == QUALITY){ $check =1;?>
|
||||
if($assd == STORE || $assd == QUALITY || $DEPCode == STORE || $DEPCode == QUALITY || $DEPCode == PRODUCTION || $assd == PRODUCTION){ $check =1;?>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
||||
@ -817,6 +817,16 @@ $(function() {
|
||||
<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">
|
||||
<?php if($DEPCode == STORE || $DEPCode == QUALITY){?>
|
||||
|
||||
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>Addigr">
|
||||
<i class="fa fa-upload"></i>
|
||||
<span>Inward Gate Register Entry</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>Viewigr">
|
||||
<i class="fa fa-eye"></i>
|
||||
@ -831,6 +841,9 @@ $(function() {
|
||||
<span>View Material Inspection Report</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>quality">
|
||||
<i class="fa fa-list-alt"></i>
|
||||
@ -852,18 +865,13 @@ $(function() {
|
||||
</li>
|
||||
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>Addigr">
|
||||
<i class="fa fa-upload"></i>
|
||||
<span>Inward Gate Register Entry</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
|
||||
<!-- <li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>ViewigrDetails">
|
||||
<i class="fa fa-upload"></i>
|
||||
<span>View Inward Gate Register</span>
|
||||
</a>
|
||||
</li>
|
||||
</li> -->
|
||||
|
||||
<?php }?>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user