Requistion Code
This commit is contained in:
parent
34530cee51
commit
612e68ba64
@ -34,11 +34,15 @@
|
||||
<script type="text/javascript" src="<?php echo base_url();?>assets/js/tsort.min.js"></script>
|
||||
<!-- For Searchable dropdown -->
|
||||
<script src="<?php echo base_url();?>assets/plugins/select2/select2.full.min.js"></script>
|
||||
<script src="<?php echo base_url();?>assets/plugins/daterangepicker/moment.js"></script>
|
||||
<script src="<?php echo base_url();?>assets/plugins/daterangepicker/moment.min.js"></script>
|
||||
<script src="<?php echo base_url();?>assets/plugins/daterangepicker/daterangepicker.js"></script>
|
||||
|
||||
|
||||
<script src="<?php echo base_url();?>assets/dist/sweetalert.min.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>dist/sweetalert.css">
|
||||
|
||||
|
||||
<link href="<?php echo base_url();?>assets/css/default.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo base_url();?>assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo base_url();?>assets/css/animate.css" rel="stylesheet" type="text/css" />
|
||||
@ -61,6 +65,7 @@
|
||||
<link href="<?php echo base_url(); ?>assets/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Searchable dropdown -->
|
||||
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/select2/select2.min.css">
|
||||
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/daterangepicker/daterangepicker.css">
|
||||
<!-- fullCalendar 2.2.5 -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
|
||||
<script src="<?php echo base_url(); ?>assets/plugins/fullcalendar/fullcalendar.min.js"></script>
|
||||
@ -137,13 +142,13 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown"><i class="fa fa-database" aria-hidden="true"></i> Master Details<span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
|
||||
|
||||
<?php
|
||||
if($role == ROLE_ADMIN || $role == ROLE_MANAGER || $role == ROLE_SALES || $role == ROLE_ACCOUNTS )
|
||||
if($role == ROLE_ADMIN || $role == ROLE_SALES || $role == ROLE_ACCOUNTS )
|
||||
{
|
||||
?>
|
||||
<?php
|
||||
@ -173,7 +178,7 @@
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($role != ROLE_ACCOUNTS )
|
||||
if($role == ROLE_ACCOUNTS )
|
||||
{
|
||||
?>
|
||||
<li class="treeview">
|
||||
@ -224,12 +229,13 @@
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
if($role != ROLE_ACCOUNTS)
|
||||
if($role == ROLE_ADMIN || $role == ROLE_MANAGER || $role == ROLE_SALES || $role == ROLE_ACCOUNTS)
|
||||
{
|
||||
?>
|
||||
<li class="treeview">
|
||||
@ -241,19 +247,26 @@
|
||||
<span>Raise Requisition </span>
|
||||
</a>
|
||||
</li>
|
||||
<?php if($role == ROLE_MANAGER)
|
||||
{ ?>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionlistapproval/requisitionlistapproval">
|
||||
<a href="<?php echo base_url(); ?>ApproveRequisition">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Approve Requisition </span>
|
||||
</a>
|
||||
</li>
|
||||
<?Php }
|
||||
if($role == ROLE_ACCOUNTS)
|
||||
{
|
||||
?>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionlist/requisition">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Purchase Order Requisition</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?Php } ?>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user