{action->getDataExists assign=exists}
{include file="header.html"}


<div id="contents">

<div id="pankuzu">
<ul>
<li><a href="{$dirName}/index.php">トップ</a></li>
<li>&nbsp;&gt;&nbsp;<a href="{$dirName}/?action=seller_mypage">出品機能</a></li>
<li class="last">&nbsp;&gt;&nbsp;取引詳細情報</li>
</ul>
</div><!--End of pankuzu-->

<div id="etc">
<h3>取引詳細情報</h3>


<table border="0" cellspacing="0" cellpadding="0" class="entryform">
<tr>
<td colspan="2" class="non2">▼購入情報</td>
</tr>
<tr>
  <th>購入日</th>
  <td>{$action.consumerdate.orderdate|date_format:"%Y/%m/%d"}</td>
</tr>
<tr>
  <th>受注番号</th>
  <td>{$action.consumerdate.orderno}</td>
</tr>
<tr>
  <th>購入者</th>
  <td>
    {if $action.consumerdate.ordermember!=""}{$action.consumerdate.lastnm}{$action.consumerdate.firstnm}
    {else}{$action.consumerdate.sendbuyer}
    {/if}
  </td>
</tr>
<tr>
  <th>金額</th>
  <td>{$action.consumerdate.price|number_format}円</td>
</tr>
<tr>
  <th>評価</th>
  <td>{$action.consumerdate.valuation}</td>
</tr>
<tr>
  <th>コメント</th>
  <td>{$action.consumerdate.comment|escape|nl2br}</td>
</tr>
<tr>
<td colspan="2" class="non2">▼送付先情報</td>
</tr>
<tr>
  <th>郵便番号</th>
  <td>{$action.consumerdate.sendpostalcd}</td>
</tr>
<tr>
  <th>都道府県</th>
  <td>{$action.consumerdate.prefnm}</td>
</tr>
<tr>
  <th>住所１</th>
  <td>{$action.consumerdate.sendaddr1}</td>
</tr>
<tr>
  <th>住所２</th>
  <td>{$action.consumerdate.sendaddr2}</td>
</tr>
<tr>
  <th>電話番号</th>
  <td>{$action.consumerdate.sendtelno1}</td>
</tr>
<tr>
  <th>宛名</th>
  <td>{$action.consumerdate.addressee}</td>
</tr> 
<tr>
<td class="non">&nbsp;</td>
<td class="constatation2"><p>{if $action.preaction eq "seller_itemexhibit_untrans_list"}この商品を発送済みにしますか？{else}この購入者にメールを送りますか？{/if}</p>

		<form action="{$scriptName}" id="form1" method="POST">
		
		<input type="hidden" name="preinfo" value="{$action.preaction}">
		<input type="hidden" name="preaction" value="seller_itemexhibit_detail">
		<input type="hidden" name="infokey" value="{$action.orderno}">
		<input type="hidden" name="prepreaction" value="{$action.preaction}">
		<input type="hidden" name="checklist[]" value="{$action.orderno}">

		{if $action.preaction eq "seller_itemexhibit_untrans_list"}
        <input type="hidden" name="orderrow[{$action.orderno}][]" value="{$action.orderrowno}">
	
		<input type="image" name="dispatch_seller_itemexhibit_untrans_confirm"src="img/send_no_mail.gif" alt="発送済みにする（メール通知しない）" width="160" height="24" />
		<input type="image" name="dispatch_seller_itemexhibit_send_mail" src="img/send_mail.gif" alt="発送済みにしてメール通知する" width="160" height="24" />
		 {else}
		<input type="hidden" name="action" value="seller_itemexhibit_send_mail">
		<input type="image" name="dispatch_seller_itemexhibit_send_mail" src="img/mailto_btn.gif" alt="この購入者にメールを送る" width="200" height="24" />
      {/if}
      
      </form>
</td>
</tr>

</table>


<table border="0" cellspacing="0" cellpadding="0" class="entryform">
<tr>
<td colspan="3" class="non2">▼商品リスト</td>
</tr>
<th>出品番号</th>
<th>商品名</th>
<th>数量</th>
</tr>
 {foreach from=$action.orderdate key="key" item="order"}
      <tr class="moji1">
        <td>{$order.exno}</td>
        <td class="itemname">{$order.itemnm}</td>
        <td>{$order.count|number_format}</td>
      </tr>
  {foreachelse}
        <tr>
        <td colspan=3>商品が見つかりません。</td>
      </tr>
      {/foreach}
      
 <tr>
<td colspan="3" class="constatation2"><p>納品書・宛名ラベルを出力しますか？</p>
 <form action="{$scriptName}" name="form2" method="POST" target="_blank">
      <input type="hidden" name="action" value="seller_itemexhibit_deliprint">
      <input type="hidden" name="no" value="{$action.orderno}">
	  <input type="image" src="img/label_btn.gif" alt="納品書"></td>
</tr>
<tr>
<td colspan="3" class="constatation"><p>出品機能一覧ページへ戻る</p>
<a href="JavaScript:location.href='{$scriptName|replace:$smarty.const.SSL_URL_ROOT:$smarty.const.URL_ROOT}?action={$action.preaction}&page={$action.page}'"><img src="img/back_btn.gif" alt="戻る" width="116" height="24" /></a></td>
</tr>
</table>

</div>
<!-- etc -->
</div>
<!-- コンテンツ -->
{include file="footer.html"}
