<?php
$page_title = "Withdrawal Processing";
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">
					</div>
				</div>
			</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">
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>Tranasaction Number</th>
									<td><?php $this -> echoTransactionNumber(); ?></td>
								</tr>
								<tr>
									<th>Username</th>
									<td><?php $this -> echoUserName(); ?></td>
								</tr>
								<tr>
									<th>Withdrawal Amount</th>
									<td><?php $this -> dispCurrency(); ?> <?php $this -> echoAmount(); ?></td>
								</tr>
								<tr>
									<th>Withdrawal Currency Account</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
								</tr>
								<tr>
									<th>Exchange Rate</th>
									<td><?php $this -> echoRate(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Name</th>
									<td><?php $this -> echoAccountName(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Country</th>
									<td>
										<?php $this -> dispReceiptCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>Beneficiary Address</th>
									<td><?php $this -> echoReceiptAddress1(); ?></td>
								</tr>
								<tr>
									<th>Message</th>
									<td><?php $this -> echoReceiptMessage(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Bank</th>
									<td><?php $this -> echoReceiptBankName(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Bank Branch Code</th>
									<td><?php $this -> echoReceiptBranchCode(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Bank Branch Name</th>
									<td><?php $this -> echoReceiptBranchName(); ?></td>
								</tr>
								<tr>
									<th>SWIFT Code</th>
									<td><?php $this -> echoReceiptBankSwift(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Bank Country</th>
									<td>
										<?php $this -> dispReceiptBankCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>Beneficiary Bank Address</th>
									<td><?php $this -> echoReceiptBankAddress1(); ?></td>
								</tr>
								<tr>
									<th>Beneficiary Account Number</th>
									<td><?php $this -> echoAccountNumber(); ?></td>
								</tr>
								<tr>
									<th>Use of Intermediary Bank</th>
									<td>
										<?php $this -> dispIntermediaryFlg(); ?>
									</td>
								</tr>
								<tr>
									<th>Intermediary Bank</th>
									<td><?php $this -> echoIntermediaryBankName(); ?></td>
								</tr>
								<tr>
									<th>SWIFT Code</th>
									<td><?php $this -> echoIntermediaryBankSwift(); ?></td>
								</tr>
								<tr>
									<th>Intermediary Bank Country</th>
									<td>
										<?php $this -> dispIntermediaryBankCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>Intermediary Bank Address</th>
									<td><?php $this -> echoIntermediaryBankAddress1(); ?></td>
								</tr>
								<tr>
									<th>Intermediary Bank Message</th>
									<td><?php $this -> echoIntermediaryBankMessage(); ?></td>
								</tr>
								<tr>
									<th>Withdrawal Processing Fee</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFee(); ?></td>
								</tr>
								<tr>
									<th>Remittance Returned Processing Fee</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFeeRefund(); ?></td>
								</tr>
								<tr>
									<th>Withdrawal Status</th>
									<td>
										<?php $this -> echoStatus(); ?>&nbsp;
										<span id="txt_fee_refund" style="display:none;">Reassembly Fee: <input type="text" id="fee_refund" name="fee_refund" value="<?php $this -> echoFeeRefund(); ?>" /></span>
									</td>
								</tr>
								<tr>
									<th>Remittance Order Number</th>
									<td><input type="text" id="order_number" name="order_number" value="<?php $this -> echoOrderNumber(); ?>" class="px180" /></td>
								</tr>
								<tr>
									<th>Note</th>
									<td><textarea id="note" name="note" rows="5" class="w100p"><?php $this -> echoNote(); ?></textarea></td>
								</tr>
							</table>
							<p class="calign mb10"><input type="button" id="btnSave" value="Save" class="btn bg-grad px100 hi30"></p>
							<p class="calign"><a href="" class="btn bg-default">Return to List</a></p>
							<div class="article-bottom">
							</div>
							<input type="hidden" id="w_id" name="w_id" value="<?php $this -> echoWId(); ?>" />
							<input type="hidden" id="action" name="action" value="withdraw" />
							<input type="hidden" id="type" name="type" value="" />
							<input type="hidden" id="debit_currency" name="debit_currency" value="<?php $this -> echoDebitCurrency(); ?>" />
							<input type="hidden" id="detail_account" name="detail_account" />

							<!-- Language Transition Data (Anton) 04/23/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/withdraw"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="detail"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- /Language Transition Data -->
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/withdraw.js"></script>
</body>
</html>
