<?php
$page_title = "Internal Transfer Processing";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<form id="searchForm" action="" method="post">
				<div class="aside-heading">
					<div class="btns">
						<input type="button" id="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearchToday" value="Today" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
						<input type="button" id="btnCreate" value="Transfer" class="btn bg-default px50 hi22">
					</div>
				</div>
				<table class="conditions fontS w100p">
					<colgroup>
						<col class="w50p">
						<col class="w50p">
					</colgroup>
					<tr>
						<th>Transaction Number</th>
						<td><input type="text" id="transaction_number" name="transaction_number" value="<?php $this -> echoSTransactionNumber(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>Remitter Account Number</th>
						<td><input type="text" name="s_from_account" id="s_from_account" value="<?php $this -> echoSFromAccount(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>Receiver Destination Account Number</th>
						<td><input type="text" name="s_to_account" id="s_to_account" value="<?php $this -> echoSToAccount(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>Account Category</th>
						<td>
							<select id="test_account_flg" name="test_account_flg" class="w100p">
								<option value="">--- All ---</option>
								<?php $this -> echoTestAccountFlg(); ?>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<span class="th">Specify Date</span>
							<p>
								<input type="text" name="s_from" id="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="Date"> - <input type="text" name="s_to" id="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="Date">
							</p>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<span class="th">Specify Type</span>
							<label><input type="checkbox" name="s_process_type[]" value="0" <?php $this -> echoSProcessType(0); ?>> User</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="1" <?php $this -> echoSProcessType(1); ?>> Admin</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="2" <?php $this -> echoSProcessType(2); ?>> API</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="3" <?php $this -> echoSProcessType(3); ?>> Batch</label>
						</td>
					</tr>
				</table>
				<input type="hidden" value="" id="s_type" name="type" />
				</form>
			</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>
							<?php $this -> dispPager(); ?>
						</div>
<!-- 						<p class="red"><span class="fa fa-times-circle fa-lg"></span> No result.</p> -->
						<form id="acForm" action="" method="post">
						<table class="table col bdr default odd w50p fontXS calign mb20">
							<tr>
								<th class="w20p">Currency</th>
								<th class="w10p">Number (Remitter)</th>
								<th class="w30p">Amount (Remitter)</th>
								<th class="w10p">Number (Remittance Destination)</th>
								<th class="w30p">Amount (Remittance Destination)</th>
							</tr>
							<?php $this -> echoTotalList(); ?>
						</table>
						<table class="table col bdr default odd w100p fontXS calign">
							<tr>
								<th rowspan="2" class="w10p">Processing Date</th>
								<th rowspan="2" class="w10p">Transaction Number</th>
								<th colspan="5" class="w30p">Remitter Information</th>
								<th colspan="5" class="w30p">Remittance Destination Information</th>
								<th rowspan="2" class="w10p">Type</th>
								<th rowspan="2" class="w10p">Exchange Rate</th>
							</tr>
							<tr>
								<th class="w13p">Name</th>
								<th class="w7p">Account Number</th>
								<th class="w3p">Currency</th>
								<th class="w7p">Amount</th>
								<th class="w5p">Fee</th>
								<th class="w13p">Name</th>
								<th class="w7p">Account Number</th>
								<th class="w3p">Currency</th>
								<th class="w7p">Amount</th>
								<th class="w5p">Fee</th>
							</tr>
							<?php $this -> echoList(); ?>
						</table>
						<input type="hidden" value="account_edit" id="action" name="action" />
						<input type="hidden" value="" id="type" name="type" />
						<input type="hidden" value="" id="t_id" name="t_id" />
						<input type="hidden" value="" id="detail_account" name="detail_account" />
						</form>
						<div class="article-bottom">
						<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/transfer.js"></script>
</body>
</html>
