<?php
$page_title = "Processing History";
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">
						</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>Withdrawal Account Name</th>
							<td><input type="text" id="s_withdraw_account_name" name="s_withdraw_account_name" value="<?php $this -> echoSWithdrawAccountName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Withdrawal Account Number</th>
							<td><input type="text" id="s_withdraw_account_number" name="s_withdraw_account_number" value="<?php $this -> echoSWithdrawAccountNumber(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Deposit Account Name</th>
							<td><input type="text" id="s_deposit_account_name" name="s_deposit_account_name" value="<?php $this -> echoSDepositAccountName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Deposit Account Number</th>
							<td><input type="text" id="s_deposit_account_number" name="s_deposit_account_number" value="<?php $this -> echoSDepositAccountNumber(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Agent</th>
							<td><input type="text" id="s_agent_code" name="s_agent_code" value="<?php $this -> echoSAgent(); ?>" 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>
									<?php $this -> dispProcessFlg(); ?>
									<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="日時"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="日時">
								</p>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Specify Type</span>
								<p>
									<?php $this -> dispStatuses(); ?>
								</p>
							</td>
						</tr>
						<tr>
							<th>Transaction Type</th>
							<td>
								<select id="s_type" name="s_type" class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> dispTransactionTypeList(); ?>
								</select>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Amount Handled</span>
								<select id="s_currency" name="s_currency" class="px60">
									<option value="">   </option>
									<?php $this -> dispCurrencyList(); ?>
								</select>
								<input type="text" id="s_min_amount" name="s_min_amount" value="<?php $this -> echoSMinAmount(); ?>" class="px80"> - <input type="text" id="s_max_amount" name="s_max_amount" value="<?php $this -> echoSMaxAmount(); ?>" class="px80">
							</td>
						</tr>
					</table>

					<input type="hidden" value="" id="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>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post">
							<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 rowspan="2" class="w10p">Transaction Type</th>
									<th colspan="5" class="w35p">Withdrawal Account Information</th>
									<th colspan="5" class="w35p">Deposit Account Information</th>
									<th rowspan="2" class="w5p">Type</th>
									<th rowspan="2" class="w5p">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="" id="type" name="type" />
							<input type="hidden" value="" id="action" name="action" />
							<input type="hidden" id="detail_account" name="detail_account" />
							<input type="hidden" id="t_id" name="t_id" />
							<input type="hidden" id="d_id" name="d_id" />
							<input type="hidden" id="w_id" name="w_id" />
							<input type="hidden" id="r_id" name="r_id" />
					
						</form>
						<div class="article-bottom">
							<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/transaction.js"></script>
</body>
</html>
