<?php require_once('../auth/auth.php'); ?>
<section class="content pb-1">
 <ul class="nav nav-pills" style="background-color: honeydew;padding: 2px 0;border-bottom:1px solid #dee2e6;margin-left: 2px;">
   <?php if(per('g_purchase')==1){ ?>  
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" onclick="pagecall('../g_purchase/g_purchase_index.php','#purmview');" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(325); ?>  </a></li>|

  <?php } if(per('g_project')==1){ ?> 
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" onclick="pagecall('../g_purchase/project_add.php','#purmview');" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(326); ?>  </a></li>|
    

  <?php } if(per('epur_add')==1){ ?> 
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" onclick="pagecall('../purchase/sup_select.php','#purmview');" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(57);?></a></li>|


  <?php } if(per('epur_ret')==1){ ?> 
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" onclick="pagecall('../purchase_retrun/sup_select_ret.php','#purmview');" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(58);?></a></li>|


  <?php } if(per('epur_draft')==1){ ?> 
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" onclick="pagecall('../purchase/draft_list.php','#purmview');" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(61);?> </a></li>|


  <?php } if(per('epur_reg_list')==1){ ?>
   <li class="nav-item" onclick="pagecall('../display_report/purchase_register.php?itype=EPUR','#purmview');"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-list"></i> <?php echo language(185);?></a></li>|

  <?php } if(per('epur_ireg_list')==1){ ?>
   <li class="nav-item" onclick="pagecall('../display_report/item_purchase_register.php','#purmview');"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-list"></i> <?php echo language(313);?></a></li>|

 <?php } if(per('epur_sett')==1){ ?>
   <li class="nav-item" onclick="pagecall('../purchase/setting.php','#purmview');"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-eye-slash"></i> <?php echo language(60);?> </a></li>|
 <?php } ?>
 


 
 
</ul>
</section>
<section class="content">
 <div id="purmview"></div>
</section>