<?php
$page_title = "已收到的請款明細";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/tc/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd requestT fontM mb20">
								<tr>
									<th>處理日期</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>請款人</th>
									<td><?php $this -> echoToAccount(); ?> <?php $this -> echoName(); ?></td>
								</tr>
								<tr>
									<th>請款金額</th>
									<td><?php $this -> echoCurrency(); ?> <?php $this -> dispAmount	(); ?></td>
								</tr>
								<tr>
									<th>備註</th>
									<td><?php echo nl2br($this -> getRequestMessage()); ?></td>
								</tr>
								<tr>
									<th>選擇支付幣種</th>
									<td class="clr selectC">
										<?php $this -> dispBalances(); ?>
									</td>
								</tr>
								<tr>
									<th>備註</th>
									<td><textarea name="send_message" rows="5" class="w100p"><?php $this -> echoSendMessage(); ?></textarea></td>
								</tr>
							</table>

							<input type="hidden" id="type" name="type" value="" />
							<input type="hidden" value="apply" name="action" />
							<input type="hidden" value="<?php $this -> echoRId(); ?>" id="r_id" name="r_id" />
							<input type="hidden" value="" id="status" name="status" />
						</form>
						<p class="requestT calign">
							<input type="button" id="btn2faSubmit" value="接受" class="btn bg-grad px130" onclick="create2fa('received','getbtnSave','tc','<?php echo $page_title;?>','','');">&emsp;
							<input type="button" id="btnRollBack" value="拒絕" class="btn bg-red px130">&emsp;
							<input type="button" id="btnListApply" value="返回" class="btn bg-default px120">
						</p>
					</article>
					<div class="" id="secondAuth"></div>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/request.js"></script>
</body>
</html>
