<!-- $Id: sale_list.htm 12673 2007-10-08 08:41:38Z liupeng $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<div class="form-div">
  <form name="TimeInterval" action="sale_list.php" method="post" style="margin:0px">
    {$lang.start_date}&nbsp;
    <input name="start_date" type="text" id="start_date" size="15" value='{$start_date}' readonly="readonly" /><input name="selbtn1" type="button" id="selbtn1" onclick="return showCalendar('start_date', '%Y-%m-%d', false, false, 'selbtn1');" value="{$lang.btn_select}" class="button"/>&nbsp;&nbsp;
    {$lang.end_date}&nbsp;
    <input name="end_date" type="text" id="end_date" size="15" value='{$end_date}' readonly="readonly" /><input name="selbtn2" type="button" id="selbtn2" onclick="return showCalendar('end_date', '%Y-%m-%d', false, false, 'selbtn2');" value="{$lang.btn_select}" class="button"/>&nbsp;&nbsp;
    <input type="submit" name="submit" value="{$lang.query}" class="button" />
  </form>
</div>
<div class="list-div">
  <table width="100%" cellpadding="3" cellspacing="1">
     <tr>
      <th>{$lang.goods_name}</th>
      <th>{$lang.order_sn}</th>
      <th>{$lang.amount}</th>
      <th>{$lang.sell_price}</th>
      <th>{$lang.sell_date}</th>
    </tr>
  {foreach from=$goods_sales_list item=list}
    <tr align="center">
      <td align="left"><a href="../goods.php?id={$list.goods_id}" target="_blank">{$list.goods_name}</a></td>
      <td><a href="order.php?act=info&order_id={$list.order_id}">{$list.order_sn}</a></td>
      <td align="right">{$list.goods_num}</td>
      <td align="right">{$list.sales_price}</td>
      <td>{$list.sales_time}</td>
    </tr>
  {foreachelse}
    <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
  {/foreach}
  </table>
</div>
<script type="text/javascript" language="JavaScript">
<!--
{literal}
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
{/literal}
//-->
</script>
{include file="pagefooter.htm"}