<?php require_once('../auth/auth.php'); ?>
<section class="content" style="padding-bottom:28px;">
 <ul class="nav nav-pills" style="background-color: honeydew;padding: 2px 0;border-bottom:1px solid #dee2e6;margin-left: 2px;position:fixed;z-index: 1030;width:100%;">
   <?php if(per('g_received')==1){ ?>
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/re_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(42);?></a></li>|
  <?php } if(per('i_received')==1){ ?> 
    <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/ins_received_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(43);?></a></li>|
  <?php } if(per('s_payment')==1){ ?>
   <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/pay_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(44);?></a></li>|
 <?php } if(per('m_payment')==1){ ?>
   <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/m_pay_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(45);?></a></li>|
 <?php } if(per('Journal')==1){ ?>
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/jur_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i><?php echo language(46);?></a></li>|
<?php } if(per('contra')==1){ ?>
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/con_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(47);?></a></li>|
<?php } if($administrator == 'primary'){ ?>
  <!--<li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" <?php if( $brid_check > 1 ||  $multi_brid > 1) { ?> onclick="pagecall('../voucher/cash_zero_search.php','#mview');" <?php } else { ?>onclick="pagecall('../voucher/cash_zero.php','#mview');" <?php } ?>><i class="fa fa-fw fa-calculator"></i> <?php echo language(336);?></a></li>|-->
<?php } if(per('g_opening')==1){ ?>
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/op_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(48);?></a></li>|
<?php } if(per('i_opening')==1){ ?>
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/ins_op_voucher_index.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(49);?></a></li>|
<?php } if(per('bc_transfer')==1){ ?> 
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/voucher_historyx.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(50);?></a></li>|
<?php } if(per('v_history')==1){ ?> 
  <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../voucher/voucher_history.php','#mview');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(51);?></a></li>|
  <?php } ?>  </ul>
</section>
<section class="content">
 <div id="mview"></div>
</section>