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

<div id="container">

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

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

<h3>返金処理　確認</h3>



<table border="0" cellspacing="0" cellpadding="0">
 <tr>
   <td>
  本当に返金処理を行いますか？
  </td>
 </tr>
</table>

<form method="GET" action="{$scriptName}">
<table border="0" cellspacing="0" cellpadding="0" class="hyou">
  <tr>
    <th>受注番号</th>
    <th>受注日</th>
    <th>購入者</th>
    <th>出品者</th>
    <th>返品依頼日</th>
    <th>ステータス</th>
    <th>金額</th>
    <th>コメント</th>
  </tr>
  {foreach item=repayment from=$action.repaymentlist}
  <input type="hidden" name="checklist[]" value="{$repayment.orderno}">
  <tr>
    <td><a href="{$scriptName}?action=admin_ordermanage_order_detail_form&odno={$repayment.orderno}&state=1&display=">{$repayment.orderno}</a></td>
    <td>{$repayment.orderdate|date_format:"%Y/%m/%d"}</td>
    <td>
      {if $repayment.ordermembercd!=""}
      <a href="{$scriptName}?action=admin_usermanage_customer_detail&membercd={$repayment.ordermembercd}&from=customerlist">{$repayment.orderlastnm}{$repayment.orderfirstnm}<br />({$repayment.ordermembercd})</a>
      {else}
      {$repayment.sendbuyer}
      {/if}
    </td>
    {if $repayment.sellerlastnm != "" || $repayment.sellerfirstnm != ""}
    <td><a href="{$scriptName}?action=admin_usermanage_customer_detail&membercd={$repayment.sellermembercd}&from=customerlist">{$repayment.sellerlastnm}{$repayment.sellerfirstnm}<br />({$repayment.sellermembercd})</a></td>
    {else}
    <td>運営ショップ</td>
    {/if}
    <td>{$repayment.refundreqdate|date_format:"%Y/%m/%d"}</td>
    <td>
    {if $repayment.refundprice lt $repayment.orderprice}
    一部
    {else}
    全額
    {/if}
    </td>
    <td>{$repayment.refundprice|number_format}円</td>
    <td>{$repayment.refundreason|escape|nl2br}</td>
  </tr>
  {foreachelse}
    <tr>
      <td height="30" colspan=9>返金依頼はありません。</td>
    </tr>
  {/foreach}
  <tr>
    <td align="right" colspan=9>
		<input type="hidden" name="action" value="admin_moneymanage_repaymentlist_complete">
		<input type="hidden" name="{token->getName}" value="{token->getValue}">
		<input type="submit" value="処理する">
		<input type="submit" name="dispatch_admin_moneymanage_repaymentlist_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"}
