<?php
$page_title = "Fee Setting";
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>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post">
							<p class="mb20">
								Pattern：<input type="text" id="name" name="name" value="<?php echo $this -> getName(); ?>" class="px180">&emsp;
								Target：<?php $this -> echoFeeType(); ?>
							</p>
							<table class="table col bdr default odd w100p fontXS calign mb20">
								<colgroup>
									<col class="w15p">
									<col class="w15p">
									<col class="w10p">
									<col class="w20p">
									<col class="w20p">
									<col class="w20p">
								</colgroup>
								<tr>
									<th rowspan="2">Monthly</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispMonthlyPersonFix(); ?> Definite Amount <input type="text" id="monthly_person_fix_value" name="monthly_person_fix_value" value="<?php echo $this -> getMonthlyPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispMonthlyPersonPercent(); ?> Percentage <input type="text" id="monthly_person_percent_value" name="monthly_person_percent_value" value="<?php echo $this -> getMonthlyPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="monthly_person_percent_max" name="monthly_person_percent_max" value="<?php echo $this -> getMonthlyPersonMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispMonthlyCorpFix(); ?> Definite Amount <input type="text" id="monthly_corp_fix_value" name="monthly_corp_fix_value" value="<?php echo $this -> getMonthlyCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispMonthlyCorpPercent(); ?> Percentage <input type="text" id="monthly_corp_percent_value" name="monthly_corp_percent_value" value="<?php echo $this -> getMonthlyCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="monthly_corp_percent_max" name="monthly_corp_percent_max" value="<?php echo $this -> getMonthlyCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Deposit</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDepositPersonFix(); ?> Definite Amount <input type="text" id="deposit_person_fix_value" name="deposit_person_fix_value" value="<?php echo $this -> getDepositPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDepositPersonPercent(); ?> Percentage <input type="text" id="deposit_person_percent_value" name="deposit_person_percent_value" value="<?php echo $this -> getDepositPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="deposit_person_percent_max" name="deposit_person_percent_max" value="<?php echo $this -> getDepositPersonPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDepositCorpFix(); ?> Definite Amount <input type="text" id="deposit_corp_fix_value" name="deposit_corp_fix_value" value="<?php echo $this -> getDepositCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDepositCorpPercent(); ?> Percentage <input type="text" id="deposit_corp_percent_value" name="deposit_corp_percent_value" value="<?php echo $this -> getDepositCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="deposit_corp_percent_max" name="deposit_corp_percent_max" value="<?php echo $this -> getDepositCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Withdrawal （Successful）</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispWithdrawSuccessPersonFix(); ?> Definite Amount <input type="text" id="withdraw_success_person_fix_value" name="withdraw_success_person_fix_value" value="<?php echo $this -> getWithdrawSuccessPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispWithdrawSuccessPersonPercent(); ?> Percentage <input type="text" id="withdraw_success_person_percent_value" name="withdraw_success_person_percent_value" value="<?php echo $this -> getWithdrawSuccessPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r">
										Minimum Value<input type="text" id="withdraw_success_person_percent_min" name="withdraw_success_person_percent_min" value="<?php echo $this -> getWithdrawSuccessPersonPercentMin(); ?>" class="px100 ralign">
									 	&nbsp;Maximum Value <input type="text" id="withdraw_success_person_percent_max" name="withdraw_success_person_percent_max" value="<?php echo $this -> getWithdrawSuccessPersonPercentMax(); ?>" class="px100 ralign">
									 </td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispWithdrawSuccessCorpFix(); ?> Definite Amount <input type="text" id="withdraw_success_corp_fix_value" name="withdraw_success_corp_fix_value" value="<?php echo $this -> getWithdrawSuccessCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispWithdrawSuccessCorpPercent(); ?> Percentage <input type="text" id="withdraw_success_corp_percent_value" name="withdraw_success_corp_percent_value" value="<?php echo $this -> getWithdrawSuccessCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r">
										Minimum Value<input type="text" id="withdraw_success_corp_percent_min" name="withdraw_success_corp_percent_min" value="<?php echo $this -> getWithdrawSuccessCorpPercentMin(); ?>" class="px100 ralign">
										&nbsp;Maximum Value <input type="text" id="withdraw_success_corp_percent_max" name="withdraw_success_corp_percent_max" value="<?php echo $this -> getWithdrawSuccessCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Withdrawal （Failed）</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispWithdrawRefundPersonFix(); ?> Definite Amount <input type="text" id="withdraw_refund_person_fix_value" name="withdraw_refund_person_fix_value" value="<?php echo $this -> getWithdrawRefundPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispWithdrawRefundPersonPercent(); ?> Percentage <input type="text" id="withdraw_refund_person_percent_value" name="withdraw_refund_person_percent_value" value="<?php echo $this -> getWithdrawRefundPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r">
										Minimum Value<input type="text" id="withdraw_refund_person_percent_min" name="withdraw_refund_person_percent_min" value="<?php echo $this -> getWithdrawRefundPersonPercentMin(); ?>" class="px100 ralign">
										&nbsp;Maximum Value <input type="text" id="withdraw_refund_person_percent_max" name="withdraw_refund_person_percent_max" value="<?php echo $this -> getWithdrawRefundPersonPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispWithdrawRefundCorpFix(); ?> Definite Amount <input type="text" id="withdraw_refund_corp_fix_value" name="withdraw_refund_corp_fix_value" value="<?php echo $this -> getWithdrawRefundCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispWithdrawRefundCorpPercent(); ?> Percentage <input type="text" id="withdraw_refund_corp_percent_value" name="withdraw_refund_corp_percent_value" value="<?php echo $this -> getWithdrawRefundCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r">
										Minimum Value<input type="text" id="withdraw_refund_corp_percent_min" name="withdraw_refund_corp_percent_min" value="<?php echo $this -> getWithdrawRefundCorpPercentMin(); ?>" class="px100 ralign">
										&nbsp;Maximum Value <input type="text" id="withdraw_refund_corp_percent_max" name="withdraw_refund_corp_percent_max" value="<?php echo $this -> getWithdrawRefundCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="4">Internal Transfer</th>
									<td>Individual → Corporate</td>
									<td><select name="transfer_c_to_b_app_flg"><?php $this -> dispTransferCToBAppFlg(); ?></select></td>
									<td><?php echo $this -> dispTransferCToBFix(); ?> Definite Amount <input type="text" id="transfer_c_to_b_fix_value" name="transfer_c_to_b_fix_value" value="<?php echo $this -> getTransferCToBFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispTransferCToBPercent(); ?> Percentage <input type="text" id="transfer_c_to_b_percent_value" name="transfer_c_to_b_percent_value" value="<?php echo $this -> getTransferCToBPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="transfer_c_to_b_percent_max" name="transfer_c_to_b_percent_max" value="<?php echo $this -> getTransferCtoBPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Individual → Individual</td>
									<td><select name="transfer_c_to_c_app_flg"><?php $this -> dispTransferCToCAppFlg(); ?></select></td>
									<td><?php echo $this -> dispTransferCToCFix(); ?> Definite Amount <input type="text" id="transfer_c_to_c_fix_value" name="transfer_c_to_c_fix_value" value="<?php echo $this -> getTransferCToCFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispTransferCToCPercent(); ?> Percentage <input type="text" id="transfer_c_to_c_percent_value" name="transfer_c_to_c_percent_value" value="<?php echo $this -> getTransferCToCPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="transfer_c_to_c_percent_max" name="transfer_c_to_c_percent_max" value="<?php echo $this -> getTransferCToCPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate → Individual</td>
									<td><select name="transfer_b_to_c_app_flg"><?php $this -> dispTransferBToCAppFlg(); ?></select></td>
									<td><?php echo $this -> dispTransferBToCFix(); ?> Definite Amount <input type="text" id="transfer_b_to_c_fix_value" name="transfer_b_to_c_fix_value" value="<?php echo $this -> getTransferBToCFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispTransferBToCPercent(); ?> Percentage <input type="text" id="transfer_b_to_c_percent_value" name="transfer_b_to_c_percent_value" value="<?php echo $this -> getTransferBToCPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="transfer_b_to_c_percent_max" name="transfer_b_to_c_percent_max" value="<?php echo $this -> getTransferBToCPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate → Corporate</td>
									<td><select name="transfer_b_to_b_app_flg"><?php $this -> dispTransferBToBAppFlg(); ?></select></td>
									<td><?php echo $this -> dispTransferBToBFix(); ?> Definite Amount <input type="text" id="transfer_b_to_b_fix_value" name="transfer_b_to_b_fix_value" value="<?php echo $this -> getTransferBToBFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispTransferBToBPercent(); ?> Percentage <input type="text" id="transfer_b_to_b_percent_value" name="transfer_b_to_b_percent_value" value="<?php echo $this -> getTransferBToBPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="transfer_b_to_b_percent_max" name="transfer_b_to_b_percent_max" value="<?php echo $this -> getTransferBToBPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Suspension</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDomantPersonFix(); ?> Definite Amount <input type="text" id="domant_person_fix_value" name="domant_person_fix_value" value="<?php echo $this -> getDomantPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDomantPersonPercent(); ?> Percentage <input type="text" id="domant_person_percent_value" name="domant_person_percent_value" value="<?php echo $this -> getDomantPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="domant_person_percent_max" name="domant_person_percent_max" value="<?php echo $this -> getDomantPersonPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDomantCorpFix(); ?> Definite Amount <input type="text" id="domant_corp_fix_value" name="domant_corp_fix_value" value="<?php echo $this -> getDomantCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDomantCorpPercent(); ?> Percentage <input type="text" id="domant_corp_percent_value" name="domant_corp_percent_value" value="<?php echo $this -> getDomantCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="domant_corp_percent_max" name="domant_corp_percent_max" value="<?php echo $this -> getDomantCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Deletion</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDeletePersonFix(); ?> Definite Amount <input type="text" id="delete_person_fix_value" name="delete_person_fix_value" value="<?php echo $this -> getDeletePersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDeletePersonPercent(); ?> Percentage <input type="text" id="delete_person_percent_value" name="delete_person_percent_value" value="<?php echo $this -> getDeletePersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="delete_person_percent_max" name="delete_person_percent_max" value="<?php echo $this -> getDeletePersonPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispDeleteCorpFix(); ?> Definite Amount <input type="text" id="delete_corp_fix_value" name="delete_corp_fix_value" value="<?php echo $this -> getDeleteCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispDeleteCorpPercent(); ?> Percentage <input type="text" id="delete_corp_percent_value" name="delete_corp_percent_value" value="<?php echo $this -> getDeleteCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="delete_corp_percent_max" name="delete_corp_percent_max" value="<?php echo $this -> getDeleteCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<th rowspan="2">Card Deposit</th>
									<td>Individual</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispCardDepositPersonFix(); ?> Definite Amount <input type="text" id="card_deposit_person_fix_value" name="card_deposit_person_fix_value" value="<?php echo $this -> getCardDepositPersonFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispCardDepositPersonPercent(); ?> Percentage <input type="text" id="card_deposit_person_percent_value" name="card_deposit_person_percent_value" value="<?php echo $this -> getCardDepositPersonPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="card_deposit_person_percent_max" name="card_deposit_person_percent_max" value="<?php echo $this -> getCardDepositPersonPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
								<tr>
									<td>Corporate</td>
									<td>&nbsp;</td>
									<td><?php echo $this -> dispCardDepositCorpFix(); ?> Definite Amount <input type="text" id="card_deposit_corp_fix_value" name="card_deposit_corp_fix_value" value="<?php echo $this -> getCardDepositCorpFixValue(); ?>" class="px100 ralign"></td>
									<td><?php echo $this -> dispCardDepositCorpPercent(); ?> Percentage <input type="text" id="card_deposit_corp_percent_value" name="card_deposit_corp_percent_value" value="<?php echo $this -> getCardDepositCorpPercentValue(); ?>" class="px100 ralign">%</td>
									<td class="r"> Maximum Value <input type="text" id="card_deposit_corp_percent_max" name="card_deposit_corp_percent_max" value="<?php echo $this -> getCardDepositCorpPercentMax(); ?>" class="px100 ralign"></td>
								</tr>
							</table>

							<input type="hidden" value="<?php echo $this -> getFId(); ?>" id="f_id" name="f_id" />
							<input type="hidden" value="<?php $this -> echoType(); ?>" id="type" name="type" />
							<input type="hidden" value="mst_fee_modify" id="action" name="action" />

							<!-- Language Transition Data (Anton) 04/23/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/mst_fee"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="edit"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- /Language Transition Data -->
						</form>
						<p class="calign">
							<input type="button" id="btnBack" value="Return to List" class="btn bg-default px100 hi22" />&emsp;<input type="button" id="btnRegist" value="Save" class="btn bg-default px100 hi22" />
						</p>
						<div class="article-bottom">
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/mst_fee.js"></script>
</body>
</html>
