{action->getSupplier assign=supplier}

{include file="admin/header.html"}
{include file="admin/gnavi.html"}

<div id="container">

{include file="admin/menu/submenu_item.html"}

<!-- ↓段組み　メイン側 -->
<div id="main">

<h3>商品納品入力 検索</h3>


<!--↓エラーメッセージ -->
<!--↑エラーメッセージ -->

<!--↓カレンダー -->
 <script language="JavaScript"><!--
var ddf;
ddf = new JKL.Calendar("ddf","form1","deliverydatefrom");
ddt = new JKL.Calendar("ddt","form1","deliverydateto");
 //--></script>
<!--↑カレンダー -->

<!-- ↓商品検索 -->
<form name="form1" id="form1" method="GET">
    <table border="0" cellspacing="0" cellpadding="0" class="hyou">
  <tr>
    <th>仕入先</th>
    <td>
      <select name="suppliercode">
      {foreach from=$supplier item=one}
        <option value="{$one.suppliercd}" {if $action.suppliercode == $one.suppliercd}selected{/if}>{$one.suppliernm}</option>
      {/foreach}      
      </select>
      <font color="red">※必須入力</font>
    </td>
  </tr>
  <tr>
    <th>発注日</th>
    <td>
      <input type="text" name="deliverydatefrom" id="startdate" value="{$action.deliverydatefrom}">
      <img id="calendar-button" src="./images/calendar.png" width="16" height="16" align="middle" onclick="ddf.write();">
      <span id="ddf"></span>
      ～
      <input type="text" name="deliverydateto"  id="startdate" value="{$action.deliverydateto}">
      <img id="calendar-button" src="./images/calendar.png" width="16" height="16" align="middle" onclick="ddt.write();">
      <span id="ddt"></span>
    </td>
  </tr>
  <tr>
    <th>注文番号</th>
    <td>
      <input type="text" name="ordernumber" value="{$action.ordernumber}">
    </td>
  </tr>
  <tr>
    <th>JANコード</th>
    <td>
      <input type="text" name="jancode" value="{$action.jancode}"><br />
      ※関連するデータを抽出
    </td>
  </tr>

<!-- ↑商品検索 -->
<tr>
 <td align="right" colspan="2">
  <input type="submit" name="dispatch_admin_itemmanage_delivery_list" value="検索">
  </td>
 </tr>
</table>

</form>

<div class="pagetop" title="ページトップへ"><a href="#top">ページトップへ</a></div>

</div>
<!--End of main-->

<div class="cr"></div>
</div>
<!--End of container-->

{include file="admin/footer.html"}
