<?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('item_stock')==1){ ?>
        <li class="nav-item"><a title="Stock List" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/stock_list.php','#stockhome',0);"><i class="fa fa-fw fa-calculator"></i><?php echo language(53);?></a></li>|
        <?php } if(per('item_imei_stock')==1){ ?>
         <li class="nav-item"><a title="Stock List" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/stock_imei_list.php','#stockhome',0);"><i class="fa fa-fw fa-calculator"></i><?php echo  language(394);?></a></li>|
        <?php } if(per('item_add')==1){ ?>
        <li class="nav-item"><a title="Item Add" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/item_index.php','#stockhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(55); ?> </a></li>|
        <?php } if(per('item_adj')==1){ ?>
        <li class="nav-item"><a title="item Adjustment" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemadjust/adjust_index.php','#stockhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(199);?> </a></li>|
        <?php } if(per('item_price_adj')==1){ ?>
        <li class="nav-item"><a title="item Price Adjustment" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemadjust/price_index.php','#stockhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(296)?></a></li>|
       <?php } ?>


 
       <?php if(per('item_trns')==1){ ?>
        <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" data-toggle="tab" href="#" onclick="pagecall('../item_transfer/select_wharehouse.php','#stockhome');"><i class="fa fa-exchange"></i> <?php echo language(180); ?> </a></li>|
       <?php } ?>

        <?php if(per('item_p_setup')==1){ ?>
        <li class="nav-item"><a title="Item primary Setting" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/stock_setup.php','#stockhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(54); ?></a></li>|
        <?php } if(per('item_uom')==1){ ?>
        <li class="nav-item"><a title="Unit Create" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/unit_index.php','#stockhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(56); ?>   </a></li>|
        <?php } ?>  

        <?php if(per('item_setting')==1){ ?>
        <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../itemstock/setting.php','#stockhome');"> <i class="fas fa-eye-slash"></i> <?php echo language(235); ?></a></li>|
        <?php } ?>
        
        <!--<li class="nav-item"><a style="padding: 0px 8px;background:#a52a2a;color:white;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../demo_itemadjust/adjust_index.php','#stockhome');"> <i class="fas fa-hand"></i> <?php echo "Demo Adjustment"; ?></a></li>|-->
    
  </ul>
</section>
<section class="content">
  <div id="stockhome"></div>
</section>