
<header class="uc_head">
	<h3 class="current">我的退款</h3>
</header>
{set:$queryRefundmentDocList = Api::run('getRefundmentDocList',$this->user['user_id'])}
{set:$queryRefundmentDoc = $queryRefundmentDocList->find()}
{if:$queryRefundmentDoc}
<section class="uc_table">
	<table>
		<thead>
			<tr><th>退款订单</th><th>申请时间</th><th>处理状态</th><th>操作</th></tr>
		</thead>
		<tbody>
			{foreach:items = $queryRefundmentDoc}
			<tr>
				<td>{$item['order_no']}</td>
				<td>{$item['time']}</td>
				<td>{echo:Order_Class::refundmentText($item['pay_status'])}</td>
				<td>
					{if:$item['pay_status']==0}
					<a href='javascript:delModel({link:"{url:/ucenter/refunds_del/id/$item[id]}"})'>取消</a>
					|{/if}
					<a href="{url:/ucenter/refunds_detail/id/$item[id]}">查看</a>
				</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</section>
{else:}
<section class="nodata">暂无数据</section>
{/if}
{$queryRefundmentDocList->getPageBar()}
