<header id="header" <?php /*?><meta http-equiv="Content-Type" content="text/html; charset=utf-8">class="navbar"<?php */?>>
  <div class="container" style="background-color:#000">
    <?php /*?><a class="navbar-brand" href="#"><span class="logo">
               <span class="pos-logo-lg">Baker's Choice</span>
               <span class="pos-logo-md">Baker's Choice</span></span></a><?php */?>
    <div class="header-nav">
      <ul class="nav nav-tabs navbar-nav tab-green no-print" id="myTab3">
          
          
          
        <!-- <li class="active"> <a data-toggle="tab" href="#Sales" style="padding:10px">
          <?php if($sale_id) echo 'EDIT SALE :'.$sale_details[0]['sale_reference_no'].' ['.$sale_id.' ]'; else echo ' NEW SALE' ?>
          </a> </li>
          -->
           <li class=""> <a target="_blank" href="<?php echo base_url("bar");?>" style="padding:10px">New Sale
          </a> </li>
          
          <li class=""> <a target="_blank" href="<?php echo base_url("dashboard");?>" style="padding:10px">Dashboard
          </a> </li>
          <li class=""> <a target="_blank" href="<?php echo base_url("products");?>" style="padding:10px">List Products
          </a> </li>
           <li class=""> <a target="_blank" href="<?php echo base_url("pos/hw_list");?>" style="padding:10px">List Sales
          </a> </li>
          
        <?php if(!$sale_id) { ?>
       <!-- <li> <a data-toggle="tab" href="#dine_in" style="padding:10px"><i class="fa fa-spoon"></i><i class="fa fa-circle-o"></i> Dine In </a> </li>
        <li> <a data-toggle="tab" href="#take_away" style="padding:10px"><i class="fa fa-money"></i> Take Away </a> </li>
        <li> <a data-toggle="tab" href="#delivery" style="padding:10px"><i class="fa fa-truck"></i> Delivery </a> </li>-->
        <li> <a data-toggle="tab" href="#add_product" style="padding:10px"><i class="fa fa-plus-square"></i> Add Product </a> </li>
        
         <li class=""> <a target="_blank" href="<?php echo base_url("hw_delivery/hw_list");?>" style="padding:10px">List store Note
          </a> </li>
      </ul>
      <?php }?>
      <ul class="nav navbar-nav pull-right">
        <li class="dropdown hidden-xs"> <a class="btn bred pos-tip" title="" data-placement="bottom" id="clearLS" href="#" data-original-title="Clear all locally saved data" tabindex="-1"> <i class="fa fa-eraser"></i> </a> </li>
        <li class="dropdown"> <a class="btn account dropdown-toggle" data-toggle="dropdown" href="#">
          <div class="user"> 
            <!--<img alt="" src="<?php echo image_url(); ?>/male.png" class="mini_avatar img-rounded">-->
            <span>Welcome! <?php echo $this->session->userdata['ss_user_first_name'] ?></span> </div>
          </a>
          <ul class="dropdown-menu pull-right">
            <li style="display:none"> <a href="#"> <i class="fa fa-user"></i> Profile </a> </li>
            <li style="display:none"> <a href="#"> <i class="fa fa-key"></i> Change Password </a> </li>
            <li class="divider" style="display:none"></li>
            <li> <a href="<?php echo base_url('logout'); ?>"> <i class="fa fa-sign-out"></i> Logout </a> </li>
            <li> <a href="<?php echo base_url('app_android/sales_print'); ?>" target="_blank" style="color:red;">  Pos Print </a> </li>
          </ul>
        </li>
      </ul>
      <ul class="nav navbar-nav pull-right">
        <li class="dropdown"> <a class="btn bblack" style="cursor: default;"><span id="display_time"></span></a> </li>
        <li class="dropdown hidden-sm"> <a class="btn pos-tip" title="" data-placement="bottom" href="#" data-toggle="modal" data-target="#sckModal" data-original-title="Shortcuts" tabindex="-1"> <i class="fa fa-key"></i> </a> </li>
        <li class="dropdown" style="display:none"> <a class="btn pos-tip" title="" data-placement="bottom" href="<?php echo base_url('pos/view_bill'); ?>" target="_blank" data-original-title="View Bill Screen" tabindex="-1"> <i class="fa fa-laptop"></i> </a> </li>
        <li class="dropdown"> <a class="btn byellow pos-tip" data-placement="bottom" href="<?php echo base_url('sales_return/custom'); ?>" target="new" data-original-title="Return" tabindex="-1"> <i class="fa fa-file"></i> </a></li>
        <li class="dropdown"> <a class="btn btn-info pos-tip" href="#" style="background:#15900c"  data-original-title="STN" tabindex="-1" onClick="myFunction()"> <i class="fa fa-print"></i>  </a></li>
        
        <button type="button" class="btn btn-danger" id="view_bill" tabindex="-1"> </button>
        
        <li class="dropdown"> <a class="btn bblue pos-tip" title="" data-placement="bottom" href="<?php echo base_url('dashboard'); ?>" target="new" data-original-title="Dashboard" tabindex="-1"> <i class="fa fa-dashboard"></i> </a> </li>
      </ul>
    </div>
  </div>
  <script>
function myFunction() {
  var myWindow = window.open("<?php echo base_url('store_notes/all'); ?>", "stn", "width=1400,height=600");
}
</script>
</header>
  <?php 
  if(is_logged_in()){
		}else {
			redirect(base_url(),'refresh');
			exit();
		} 
		
		?>

