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

<div id="container">

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

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

<h3>{$action.title}</h3>

<form action="{$scriptName}" method="post">
  <input type="hidden" id="ac" name="action" value="">
 <table border="0" cellspacing="0" cellpadding="0" class="hyou">
    <tr>
      <th rowspan="3">チェック</th>
      <th>棚番ID</th>
      <th rowspan="3">受注番号<br /><br />タイトル</th>
      <th rowspan="3">数量</th>
      <th rowspan="3">受注日</th>     
      <th rowspan="3">配送</th>
      <th rowspan="3">購入者</th>
      <th rowspan="3">送付先情報,</th> 
    </tr>
    
    <tr>
      <th>品番</th>
    </tr>

       <tr>
      <th>JANコード</th>
    </tr>
    
    {foreach from=$action.instructionlist item=ist_list}
      <tr>
        <td colspan="1" rowspan="3"><input type="checkbox" name="orderno[]" value="{$ist_list.orderno}-{$ist_list.orderrowno}-{$ist_list.fwd_detail_updcnt}" checked ></td>
        <td>
              {$ist_list.rackid}&nbsp;
        </td>
        <td rowspan="3">
        <a href="{$scriptName}?action=admin_ordermanage_order_detail_form&odno={$ist_list.orderno}" target="_blank">{$ist_list.orderno}</a><br><br />
         {$ist_list.itemnm}&nbsp;{$ist_list.variationnm}
      </td>
      <td rowspan="3" align="center">{$ist_list.count}</td> 
      <td rowspan="3">{$ist_list.orderdate}</td>
      <td rowspan="3">{if $ist_list.depositdiv==3}コレクト{else}宅急便{/if}</td>
      <td rowspan="3">
        {if !empty($ist_list.ordermember)}
        <a href="{$scriptName}?action=admin_usermanage_customer_detail&membercd={$ist_list.ordermember}" target="_blank">{$ist_list.lastnm}{$ist_list.firstnm}<br />({$ist_list.ordermember})</a>
        {else}
        {$ist_list.sendbuyer}
        {/if}
      </td>
      <td rowspan="3">
        {$ist_list.sendpostalcd}<br />
        {$ist_list.prefnm}{$ist_list.sendaddr1}{$ist_list.sendaddr2}<br />
        {$ist_list.addressee}<br />
        {$ist_list.sendtelno1}
      </td>

      <tr><td>{$ist_list.makeritemcd}&nbsp;</td></tr>
      <tr><td>{$ist_list.jancd}&nbsp;</td></tr>
   
{foreachelse}
    データがありません<br>
{/foreach}
</table>




 <table border="0" cellspacing="0" cellpadding="0">
    <tr align="right">
      <td>チェックしたものを</td>
    </tr>
    <tr align="right">
      <td><input type="submit" name="dispatch_admin_ordermanage_instruction_forwarddone" value="更新">&nbsp;&nbsp;
          <input type="submit" name="dispatch_admin_ordermanage_instruction_export" value="データ出力＆更新"></td>
    </tr>
    <tr align="right">
      <td><input type="button" value="出荷指示リスト再出力（前回分）"
            onClick="location.href='{$scriptName}?action=admin_ordermanage_instruction_export_out';"></td>
    </tr>
    <tr align="right">
      <td><input type="button" value="出荷指示リスト再出力（未出荷分）"
            onClick="location.href='{$scriptName}?action=admin_ordermanage_instruction_list_export';"></td>
    </tr>
{* ↓ 仕様が明確ではないので非表示
    <tr align="right">
      <td><input type="submit" name="#" 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"}
