<?php
$page_title = "Money Request";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<div class="aside-heading">
					&nbsp;
				</div>
				&nbsp;
			</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>
						<?php $this -> echoMessage(); ?>
						<table class="table col bdr default odd w60p fontXS m_auto mb20">
							<colgroup>
								<col class="w40p">
								<col class="w60p">
							</colgroup>
							<tr>
								<th>Date of Application</th>
								<td><?php $this -> echoCreateTime(); ?></td>
							</tr>
							<tr>
								<th>Transaction Number</th>
								<td><?php $this -> echoTransactionNumber(); ?></td>
							</tr>
							<tr>
								<th>Application Amount</th>
								<td><?php $this -> echoCurrency();  ?> <?php $this -> dispAmount(); ?></td>
							</tr>
							<tr>
								<th>Fee</th>
								<td><?php $this -> echoCurrency();  ?> <?php $this -> dispToFee(); ?></td>
							</tr>
							<tr>
								<th>Name of the Requester</th>
								<td><?php $this -> echoToName(); ?></td>
							</tr>
							<tr>
								<th>Account Type of the Requester</th>
								<td><?php $this -> dispToAccountType(); ?></td>
							</tr>
							<tr>
								<th>Account Number of the Requester</th>
								<td><?php $this -> echoToAccountNumber(); ?></td>
							</tr>
							<tr>
								<th><p>Message from the Requester</p></th>
								<td><?php $this -> dispRequestMessage(); ?></td>
							</tr>
						</table>

						<table class="table col bdr default odd w60p fontXS m_auto mb20">
							<colgroup>
								<col class="w40p">
								<col class="w60p">
							</colgroup>
							<tr>
								<th>Request To</th>
								<td><?php $this -> echoFromName(); ?></td>
							</tr>
							<tr>
								<th>Account Type of the Request Receiver</th>
								<td><?php $this -> dispFromAccountType(); ?></td>
							</tr>
							<tr>
								<th>Account Number of the Request Receiver</th>
								<td><?php $this -> echoFromAccountNumber(); ?></td>
							</tr>
							<tr>
								<th>Processing Date</th>
								<td><?php $this -> echoUpdateTime(); ?></td>
							</tr>
							<tr>
								<th>Result</th>
								<td><?php $this -> dispStatus(); ?></td>
							</tr>
							<tr>
								<th>Payment Amount</th>
								<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
							</tr>
							<tr>
								<th>Exchange Rate</th>
								<td><?php $this -> echoRate(); ?></td>
							</tr>
							<tr>
								<th>Fee</th>
								<td><?php $this -> echoDebitCurrency();  ?> <?php $this -> dispFromFee(); ?></td>
							</tr>
							<tr>
								<th><p>Reply Message</p></th>
								<td><?php $this -> dispSendMessage(); ?></td>
							</tr>
						</table>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>Delete transaction</th>
									<td><input type="button" id="btnDelete" value="DELETE" class="btn bg-red font12 hi22 px80"></td>
								</tr>
							</table>
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<tr>
									<th>
										Remarks&emsp;
										<input type="button" id="btnSave" value="Save" class="btn bg-default font12 hi22 px80">
									</th>
								</tr>
								<tr>
									<td>
										<textarea rows="10" id="comment" name="comment" class="w100p"><?php $this -> echoComment(); ?></textarea>
									</td>
								</tr>
							</table>
							<input type="hidden" value="action" id="type" name="type" />
							<input type="hidden" value="<?php echo $this -> getRId(); ?>" name="r_id" />

							<!-- Language Transition Data (Anton) 04/23/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/request"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="detail"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- /Language Transition Data -->
						</form>
						<p class="calign mb20">
							<a href="javascript:actionBack();" class="btn bg-default">&laquo; Return</a>
						</p>
						<div class="article-bottom">
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/request.js"></script>
</body>
</html>
