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']['username'] = 'kasiram9_Siddh';
|
||||||
$db['default']['password'] = 'sidh@1234';
|
$db['default']['password'] = 'sidh@1234';
|
||||||
$db['default']['database'] = 'kasiram9_SIADEV';
|
$db['default']['database'] = 'kasiram9_SIADEV';
|
||||||
|
//$db['default']['database'] = 'kasiram9_SiddharthIndustries';
|
||||||
$db['default']['dbdriver'] = 'mysqli';
|
$db['default']['dbdriver'] = 'mysqli';
|
||||||
$db['default']['dbprefix'] = '';
|
$db['default']['dbprefix'] = '';
|
||||||
$db['default']['pconnect'] = TRUE;
|
$db['default']['pconnect'] = TRUE;
|
||||||
|
|||||||
@ -263,7 +263,7 @@ $(function() {
|
|||||||
|
|
||||||
|
|
||||||
<?php if(empty($DepAccesslist)){?>
|
<?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">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
||||||
@ -302,7 +302,7 @@ $(function() {
|
|||||||
|
|
||||||
<?php $assd=$dep->AssDep;
|
<?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">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>batchcard/HourlyListing">
|
<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>
|
<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">
|
||||||
<?php if($DEPCode == STORE || $DEPCode == QUALITY){?>
|
<?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">
|
<li class="treeview">
|
||||||
<a href="<?php echo base_url(); ?>Viewigr">
|
<a href="<?php echo base_url(); ?>Viewigr">
|
||||||
<i class="fa fa-eye"></i>
|
<i class="fa fa-eye"></i>
|
||||||
@ -831,6 +841,9 @@ $(function() {
|
|||||||
<span>View Material Inspection Report</span>
|
<span>View Material Inspection Report</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<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>
|
||||||
@ -852,18 +865,13 @@ $(function() {
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>Addigr">
|
<!-- <li class="treeview">
|
||||||
<i class="fa fa-upload"></i>
|
|
||||||
<span>Inward Gate Register Entry</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="treeview">
|
|
||||||
<a href="<?php echo base_url(); ?>ViewigrDetails">
|
<a href="<?php echo base_url(); ?>ViewigrDetails">
|
||||||
<i class="fa fa-upload"></i>
|
<i class="fa fa-upload"></i>
|
||||||
<span>View Inward Gate Register</span>
|
<span>View Inward Gate Register</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li> -->
|
||||||
|
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user