<?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_email" name="s_email" value="<?php $this -> echoSEmail(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>口座番号</th>
							<td><input type="text" id="s_account" name="s_account" value="<?php $this -> echoSUserAccount(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>インポート名</th>
							<td><input type="text" id="s_file_name" name="s_file_name" value="<?php $this -> echoSFileName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>通貨種別</th>
							<td>
								<select id="s_currency" name="s_currency" class="w100p">
									<option value="">--- すべて ---</option>
									<?php $this -> echoCurrencyList(); ?>
								</select>
							</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>
							<th>銀行名</th>
							<td><input type="text" id="s_bank" name="s_bank" value="<?php $this -> echoSBankName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">金額指定</span>
								<input type="text" id="s_min_amount" name="s_min_amount" value="<?php $this -> echoSMin(); ?>" class="px80"> - <input type="text" id="s_max_amount" name="s_max_amount" value="<?php $this -> echoSMax(); ?>" class="px80">
							</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>
					</table>
					<p class="calign"><input type="button" id="btnImport" value="インポート" class="btn bg-grad hi25 px100"></p>
					<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>
						<form id="acForm" action="" method="post">
							<div class="article-heading">
								<h2><?php echo $page_title; ?></h2>
								<?php $this -> dispPager(); ?>
							</div>
							<?php $this -> echoMessage(); ?>
							<table class="table col bdr default odd w30p fontXS calign mb20">
								<tr>
									<th class="w20p">通貨</th>
									<th class="w30p">件数</th>
									<th class="w50p">金額</th>
								</tr>
								<?php $this -> echoTotalList(); ?>
							</table>

								<table class="table col bdr default odd w100p fontXS calign">
									<tr>
										<th class="w10p">インポート日時</th>
										<th class="w15p">取引番号</th>
										<th class="w5p">口座番号</th>
										<th class="w5p">通貨</th>
										<th class="w5p">金額</th>
										<th class="w5p">手数料</th>
										<th class="w20p">銀行名</th>
										<th class="w10p">処理日時</th>
										<th class="w15p">インポートファイル名</th>
										<th class="w5p">エラー</th>
										<th class="w5p">チェック</th>
									</tr>
									<?php $this -> echoList(); ?>
								</table>
								<input type="hidden" value="action" id="type" name="type" />
								<input type="hidden" value="deposit" name="action" />
								<input type="hidden" id="d_id" name="d_id" />
								<input type="hidden" id="file_name" name="file_name" />
								<input type="hidden" value="" id="detail_account" name="detail_account" />
							<div class="article-bottom">
								<?php $this -> dispPager(); ?>
							</div>
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->

		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/deposit.js"></script>
</body>
</html>
