
<!--jscript-->
<script type="text/javascript" src="../jscript/go_to_url.js"></script>

<?php
//$table_name = $_SESSION['db_prefix']."_saved_store_reports";
//$store_report_query = "SELECT saved_report_id FROM $table_name WHERE department = 'stores' AND user_name = '".$_SESSION['username']."' AND read_done = 'no' ";
//$store_report_result = mySQL_query($store_report_query);
//$store_report_num = mysql_num_rows($store_report_result);
//if ($store_report_num>5) { $store_report_num=6; }
$store_report_num = 0;
?>


<div class="side_frame"><br />
 <div class="menu_block_frame">
 
    <div class="side_menu_caption">Input</div>
    
    <a href="../store/new_select_store.php">
    <div class="side_menu_button">New</div>
    </a>
     
    <a href="../store/receivingWiz0.php">
    <div class="side_menu_button">Receive</div>
    </a>
         
    <a href="../store/order_deliver_list.php?date=">
    <div class="side_menu_button">Deliver order</div>
    </a>
    
    <a href="../store/return_select_store.php">
    <div class="side_menu_button">Returns</div>
    </a>
    
    <a href="../store/internal_supply_select_store.php">
    <div class="side_menu_button">Internal</div>
    </a>  
    
    <!--<a href="">
    <div class="side_menu_button"></div>
    </a> -->
    
    <a href="">
    <div class="side_menu_button" onClick="MM_goToURL('parent','../store/stockCountWiz0.php');return document.MM_returnValue">Stock count</div>
    </a> 
    
    <a href="">
    <div class="side_menu_button" onClick="MM_goToURL('parent','../store/edit_select_store.php');return document.MM_returnValue">Edit</div>
    </a> 
    
    <br />
    <div class="side_menu_caption">Reporting</div>
    
    <a href="../store/select_stores.php">
    <div class="side_menu_button">Store list</div>
    </a>
    
    <!--<a href="../store/select_stock_report.php">
    <div class="side_menu_button">Stock reports</div>
    </a>-->
    
    <a href="../store/orders_select.php">
    <div class="side_menu_button">Orders</div>
    </a>
    
    <a href="../store/received_select_store.php">
    <div class="side_menu_button">Receivals</div>
    </a>
     
    
        
   <!-- <a href="../store/internal_supplied_select_store.php?date=">
    <div class="side_menu_button">Internal supplies</div>
    </a>-->
    
    <a href="../store/delivered_select_store.php?date=">
    <div class="side_menu_button">Deliveries</div>
    </a> 
     
    
    
    <a href="../store/account_select.php">
    <div class="side_menu_button">Accounts</div>
    </a> 
    
    <a href="../store/store_alerts_list.php?date=&set=&delete="> 
     <div class="side_menu_button"><div align="center">
      <table width="85" border="0" >
        <tr>
        <td height="30" align="center" valign="top" <?php if ($stores_alert_num>0) {?> style="background-image:url(../images/alert_circle_<?php echo $stores_alert_num ?>.png); background-repeat:no-repeat;" <?php } ?>>Alerts</td>
        </tr>
        </table>
</div>
</div>
</a>

<a href="../store/select_store_report.php">
<div class="side_menu_button"><div align="center">
      <table width="85" border="0" >
        <tr>
        <td height="30" align="center" valign="top" <?php if ($store_report_num>0) {?> style="background-image:url(../images/alert_circle_<?php echo $sales_report_num ?>.png); background-repeat:no-repeat;" <?php } ?>>Reports</td>
        </tr>
        </table>
</div>
</div>
</a> 
</div>
</div>
