<?php
$page_title = "処理履歴";
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="すべて" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearchToday" value="本日" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
						</div>
					</div>
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w50p">
							<col class="w50p">
						</colgroup>
						<tr>
							<th>取引番号</th>
							<td><input type="text" id="transaction_number" name="transaction_number" value="<?php $this -> echoSTransactionNumber(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>出金口座名前</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>出金口座番号</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>入金口座名前</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>入金口座番号</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>エージェント</th>
							<td><input type="text" id="s_agent_code" name="s_agent_code" value="<?php $this -> echoSAgent(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>口座カテゴリー</th>
							<td>
								<select id="test_account_flg" name="test_account_flg" class="w100p">
									<option value="">--- すべて ---</option>
									<?php $this -> echoTestAccountFlg(); ?>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">日時指定</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">種別指定</span>
								<p>
									<?php $this -> dispStatuses(); ?>
								</p>
							</td>
						</tr>
						<tr>
							<th>取引科目</th>
							<td>
								<select name="s_type" class="w100p">
									<option value="">--- すべて ---</option>
									<?php $this -> dispTransactionTypeList(); ?>
								</select>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">取扱金額</span>
								<select 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">処理日時</th>
									<th rowspan="2" class="w10p">取引番号</th>
									<th rowspan="2" class="w10p">取引科目</th>
									<th colspan="5" class="w35p">出金口座情報</th>
									<th colspan="5" class="w35p">入金口座情報</th>
									<th rowspan="2" class="w5p">種別</th>
									<th rowspan="2" class="w5p">為替レート</th>
								</tr>
								<tr>
									<th class="w13p">名前</th>
									<th class="w7p">口座番号</th>
									<th class="w3p">通貨</th>
									<th class="w7p">金額</th>
									<th class="w5p">手数料</th>
									<th class="w13p">名前</th>
									<th class="w7p">口座番号</th>
									<th class="w3p">通貨</th>
									<th class="w7p">金額</th>
									<th class="w5p">手数料</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>
