<?php
$page_title = "請求された引落詳細";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/ja/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="pb10 pleft40"><?php $this -> echoMessage(); ?></div>
						<div class="pleft40">
						<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','ja','<?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>
						</div>
					</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>
