<?php
$page_title = "Permintaan-Terima";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/id/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>Tanggal Pemrosesan</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>Peminta</th>
									<td><?php $this -> echoToAccount(); ?> <?php $this -> echoName(); ?></td>
								</tr>
								<tr>
									<th>Jumlah Yang Diminta</th>
									<td><?php $this -> echoCurrency(); ?> <?php $this -> dispAmount	(); ?></td>
								</tr>
								<tr>
									<th>Pesan</th>
									<td><?php echo nl2br($this -> getRequestMessage()); ?></td>
								</tr>
								<tr>
									<th>Pilih Mata Uang Debit</th>
									<td class="clr selectC">
										<?php $this -> dispBalances(); ?>
									</td>
								</tr>
								<tr>
									<th>Pesan</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="Terima" class="btn bg-grad px130" onclick="create2fa('received','getbtnSave','id','<?php echo $page_title;?>','','');">&emsp;
							<input type="button" id="btnRollBack" value="Tolak" class="btn bg-red px130">&emsp;
							<input type="button" id="btnListApply" value="Kembali" 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>
