<!-- $Id: sale_list.htm 7579 2007-03-26 01:47:37Z liry $ -->
{include file="pageheader.htm"}
<div class="form-div">
  <form name="TimeInterval" action="sale_list.php" method="post" style="margin:0px">
    {$lang.start_date}&nbsp;{html_select_date field_order="YMD" prefix="start_date" time=$start_date start_year="-10" end_year="+1" display_days=true month_format="%m"}&nbsp;&nbsp;
    {$lang.end_date}&nbsp;{html_select_date field_order="YMD" prefix="end_date" time=$end_date start_year="-10" end_year="+1" display_days=true month_format="%m"}&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"}