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

<div id="container">

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

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

<!--↓エラーメッセージ -->
{errorList->getMessages assign=errmsg}
{if $errmsg}
<div class="error">
  <ul class="alert">
  {foreach from=$errmsg item=msg}
    <li>{$msg|escape}</li>
  {/foreach}
  </ul>
</div>
{/if}
<!--↑エラーメッセージ -->

<form action="admin.php">
<input type="hidden" id="ac" name="action" value="">
<input type="hidden" id="odno" name="odno" value="">
<input type="hidden" id="order_date_start" name="order_date_start" value="{$action.order_date_start}">
<input type="hidden" id="order_date_end"   name="order_date_end"   value="{$action.order_date_end}">
<input type="hidden" id="order_time_start" name="order_time_start" value="{$action.order_time_start}">
<input type="hidden" id="order_time_end"   name="order_time_end"   value="{$action.order_time_end}">
<input type="hidden" id="orderno_start"    name="orderno_start"    value="{$action.orderno_start}">
<input type="hidden" id="orderno_end"      name="orderno_end"      value="{$action.orderno_end}">
<input type="hidden" id="ordermember"      name="ordermember"      value="{$action.ordermember}">
<input type="hidden" id="mailaddr"         name="mailaddr"         value="{$action.mailaddr}">
<input type="hidden" id="state"            name="state"            value="{$action.state}">
<input type="hidden" id="display"          name="display"          value="{$action.display}">
<input type="hidden" id="from"             name="from"          value="{$action.from}">
<!--↓結果-->

 <table border="0" cellspacing="0" cellpadding="0">
 <tr>
		<td align="center">
		
		{if $action.ms == "fwerror"}
		出荷
		{elseif $action.ms == "fwnoup"}
		既に出荷済みの為、出荷
		{elseif $action.ms =="depositsate2"}
		既に入金済みの為、入金
		{elseif $action.ms =="depositsate0"}
		対象指定がない為、入金
		{elseif $action.ms =="cancel"}
		既にキャンセルされている為、入金
		{elseif $action.ms =="nocheck"}
		対象指定がない為、出荷
		{elseif $action.ms =="noupdate"}
		更新対象に該当するものがない為、出荷
		{else}
		入金
		{/if}
		済みに変更できませんでした。<br />
		</td>
</tr>

<tr>
		<td align="center">
		{if $action.fromdetail == "set"}
		  <input value="詳細画面へ" type="submit" onclick="document.getElementById('ac').value='admin_ordermanage_order_detail_form'; document.getElementById('odno').value='{$action.orderno}';">
		{else}
		  <input value="一覧画面へ" type="submit" onClick="document.getElementById('ac').value='admin_ordermanage_order_list_list';">
		{/if}
		</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"}
