{assign var="orderinfo" value=$action.orderinfo}
{include file="header.html"}
<!-- ↑ヘッダ -->

<!--↓コンテンツ-->
<div id="contents">

<div id="pankuzu">
<ul>
<li><a href="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>

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

<table border="0" cellspacing="0" cellpadding="0" class="entryform">
<tr>
<td colspan="2" class="non2">▼購入情報</td>
</tr>
<tr>
  <th>購入日</th>
  <td>{$orderinfo.orderdate|date_format:"%Y/%m/%d"}</td>
</tr>
<tr>
  <th>受注番号</th>
  <td>{$orderinfo.orderno}</td>
</tr>
<tr>
  <th>購入者</th>
  {if $orderinfo.ordermember != "" }
  <td>{$orderinfo.ordernm}</td>
  {else}
  <td>{$orderinfo.sendbuyer}</td>
  {/if}
</tr>
<tr>
  <th>金額</th>
  <td>{$orderinfo.allprice|number_format}円</td>
</tr>
<tr>
  <th>評価</th>
  <td>{$orderinfo.valuation}</td>
</tr>
<tr>
  <th>コメント</th>
  <td>{$orderinfo.comment|escape|nl2br}</td>
</tr>
<tr>
<td colspan="2" class="non2">▼送付先情報</td>
</tr>
<tr>
  <th>郵便番号</th>
  <td>{$orderinfo.sendpostalcd}</td>
</tr>
<tr>
  <th>都道府県</th>
  <td>{$orderinfo.prefnm}</td>
</tr>
<tr>
  <th>住所１</th>
  <td>{$orderinfo.sendaddr1}</td>
</tr>
<tr>
  <th>住所２</th>
  <td>{$orderinfo.sendaddr2}</td>
</tr>
<tr>
  <th>電話番号</th>
  <td>{$orderinfo.sendtelno1}</td>
</tr>
<tr>
  <th>宛名</th>
  <td>{$orderinfo.addressee}</td>
</tr> 
</table>


<table border="0" cellspacing="0" cellpadding="0" class="entryform">
<tr>
<td colspan="4" class="non2">▼商品リスト</td>
</tr>
<tr>
<th>出品番号</th>
<th>商品名</th>
<th>数量</th>
<th>金額</th>
</tr> 
    {foreach from=$action.data item=data}
        <tr>
          <td>{$data.exno}</td>
          <td class="itemname">{$data.itemnm}&nbsp;{$data.variationnm}</td>
          <td>{$data.count|number_format}</td>
          <td>{$data.price|number_format}円</td>
        </tr>
        {/foreach}


<form action="{$scriptName}" method="GET">
<input type="hidden" name="action" value="seller_itemexhibit_refund_complete">
<input type="hidden" name="{token->getName}" value="{token->getValue}">
<input type="hidden" name="orderno" value="{$action.orderno}">
<input type="hidden" name="refundtype" value="{$action.refundtype}">
<input type="hidden" name="refundprice" value="{$action.refundprice}">
<input type="hidden" name="comment" value="{$action.comment}">

  <tr>
    <th>返金額</th>
    <td colspan="3"><p>
        {$action.refundprice|number_format}円</p>
    </td>
 </tr>
 <tr>
    <th>コメント</th>
    <td colspan="3">
    <p>{$action.comment|escape|nl2br}</p>
    </td>
  </tr>

  <tr>
    <td colspan="4" class="constatation2"><p>この内容で返金処理をしてよろしいですか？</p>
    <input src="img/entry_btn.gif" alt="登録" border="0" type="image"></td>
  </tr>
 <tr>
    <td colspan="4" class="constatation"><p>前のページへ戻る</p>
    <input name="dispatch_seller_itemexhibit_refund_form" src="img/back_btn.gif" alt="入力画面へ" border="0" type="image"></td>
 </tr>
</table>

</form>

{include file="footer.html"}
