<?php
$page_title = "Agent Reward Details";
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">
					&nbsp;
				</div>
				&nbsp;
			</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>
						</div>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd calign w60p fontXS m_auto mb20">
								<tr>
									<th class="w40p">Fee Type</th>
									<?php $this -> echoAgentCommissionHeader(); ?>
								</tr>
								<?php $this -> echoAgentCommissionList(); ?>
							</table>

							<p class="mb20 calign">
								Period <select id="date" name="date">
										<?php $this -> dispSearchDate(); ?>
									</select>&emsp;
							</p>
							<table class="table col bdr default odd calign w60p fontXS m_auto mb20">
								<tr>
									<th class="w70p">iWallet Card</th>
									<th class="w30p">USD</th>
								</tr>
								<tr>
									<td>Settlement success fee (per transaction) ※Outside UK</td>
									<td class="r"><input type="text" id="card_commission_1" name="card_commission_1" value="<?php $this -> echoCardCommission(VAL_INT_1); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Settlement failure fee (per transaction)</td>
									<td class="r"><input type="text" id="card_commission_2" name="card_commission_2" value="<?php $this -> echoCardCommission(VAL_INT_2); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>ATM withdrawal ※Within UK</td>
									<td class="r"><input type="text" id="card_commission_3" name="card_commission_3" value="<?php $this -> echoCardCommission(VAL_INT_3); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>ATM withdrawal ※Outside UK</td>
									<td class="r"><input type="text" id="card_commission_4" name="card_commission_4" value="<?php $this -> echoCardCommission(VAL_INT_4); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Card to card transfer via SMS/Internet</td>
									<td class="r"><input type="text" id="card_commission_5" name="card_commission_5" value="<?php $this -> echoCardCommission(VAL_INT_5); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Card load (Payzone/Alphyra)</td>
									<td class="r"><input type="text" id="card_commission_6" name="card_commission_6" value="<?php $this -> echoCardCommission(VAL_INT_6); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Card load post office</td>
									<td class="r"><input type="text" id="card_commission_7" name="card_commission_7" value="<?php $this -> echoCardCommission(VAL_INT_7); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>ATM balance inquiry fee</td>
									<td class="r"><input type="text" id="card_commission_8" name="card_commission_8" value="<?php $this -> echoCardCommission(VAL_INT_8); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Cash deposit over the counter ※Within UK</td>
									<td class="r"><input type="text" id="card_commission_9" name="card_commission_9" value="<?php $this -> echoCardCommission(VAL_INT_9); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Cash deposit over the counter ※Outside UK</td>
									<td class="r"><input type="text" id="card_commission_10" name="card_commission_10" value="<?php $this -> echoCardCommission(VAL_INT_10); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Balance inquiry via SMS (per transaction)</td>
									<td class="r"><input type="text" id="card_commission_11" name="card_commission_11" value="<?php $this -> echoCardCommission(VAL_INT_11); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Next IVR PIN Request</td>
									<td class="r"><input type="text" id="card_commission_12" name="card_commission_12" value="<?php $this -> echoCardCommission(VAL_INT_12); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Inquire to Customer Service Team via Call/Email</td>
									<td class="r"><input type="text" id="card_commission_13" name="card_commission_13" value="<?php $this -> echoCardCommission(VAL_INT_13); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Card purchase/card exchange</td>
									<td class="r"><input type="text" id="card_commission_14" name="card_commission_14" value="<?php $this -> echoCardCommission(VAL_INT_14); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Monthly service fee</td>
									<td class="r"><input type="text" id="card_commission_15" name="card_commission_15" value="<?php $this -> echoCardCommission(VAL_INT_15); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Monthly unused maintenance cost</td>
									<td class="r"><input type="text" id="card_commission_16" name="card_commission_16" value="<?php $this -> echoCardCommission(VAL_INT_16); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Cancellation/Management fee</td>
									<td class="r"><input type="text" id="card_commission_17" name="card_commission_17" value="<?php $this -> echoCardCommission(VAL_INT_17); ?>" class="ralign" /></td>
								</tr>
								<tr>
									<td>Currency exchange markup</td>
									<td class="r"><input type="text" id="card_commission_18" name="card_commission_18" value="<?php $this -> echoCardCommission(VAL_INT_18); ?>" class="ralign" /></td>
								</tr>
								<tr class="sum">
									<th>Total</th>
									<td class="r" id="total"><?php $this -> dispTotal(); ?></td>
								</tr>
							</table>
							<input type="hidden" id="agent_code" name="agent_code" value="<?php $this -> echoAgentCode(); ?>" />
							<input type="hidden" id="type" name="type" />

							<!-- Language Transition Data (Anton) -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/agent"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="commission"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- The intention is to make the language transition runs smoothly. will remove if not appropriate. -->
						</form>

						<p class="calign">
							<a href="#" class="btn bg-default" id="btnList">&laquo; Return</a>&emsp;
							<input type="button" id="btnUpdate" value="Edit" class="btn bg-grad px80 hi25">
						</p>
						<div class="article-bottom">
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/agent.js"></script>
</body>
</html>
