<?php
$page_title = "Money Request List";
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">
					<div class="btns">
						<input type="button" id="btnSearchAll" name="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearchToday" name="btnSearchToday" value="Today" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearch" name="btnSearch" value="Search" class="btn bg-default px50 hi22">
					</div>
				</div>
				<form id="searchForm" action="" method="post">
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w40p">
							<col class="w60p">
						</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>Search for</th>
							<td>
								<select id="s_request_type" name="s_request_type" class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> echoRequestTypeList(); ?>
								</select>
							</td>
						</tr>
						<tr>
							<th>Account Number</th>
							<td><input type="text" id="s_account" name="s_account" value="<?php $this -> echoSAccount(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Account Name</th>
							<td><input type="text" id="s_account_name" name="s_account_name" value="<?php $this -> echoSAccountName(); ?>" 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>
							<th>Currency</th>
							<td>
								<select id="s_currency" name="s_currency" class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> echoCurrencyList(); ?>
								</select>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Status</span>
								<label><?php $this -> dispSStatusProc(); ?></label>&emsp;
								<label><?php $this -> dispSStatusComp(); ?></label>&emsp;
								<label><?php $this -> dispSStatusRefund(); ?></label>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Specify Date</span>
								<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110">
							</td>
						</tr>
					</table>
					<input type="hidden" 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>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd w100p fontXS calign">
								<tr>
									<th class="w10p">Date of Application</th>
									<th class="w5p">Transaction Number</th>
									<th class="w10p">Applicant Name</th>
									<th class="w5p">Applicant Account Number</th>
									<th class="w5p">Currency</th>
									<th class="w5p">Application Amount</th>
									<th class="w5p">Fee</th>
									<th class="w10p">Supporter Name</th>
									<th class="w5p">Supporter Account Number</th>
									<th class="w10p">Processing Date</th>
									<th class="w5p">Currency</th>
									<th class="w5p">Payment Amount</th>
									<th class="w5p">Rate</th>
									<th class="w5p">Fee</th>
									<th class="w5p">Processing Type</th>
									<th class="w5p">Status</th>
									<th class="w5p">Details</th>
								</tr>
								<?php $this -> echoListDBPager(); ?>
							</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="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/request.js"></script>
</body>
</html>
