<?php
$page_title = "出金処理";
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>取引番号</th>
									<td><?php $this -> echoTransactionNumber(); ?></td>
								</tr>
								<tr>
									<th>アカウント名</th>
									<td><?php $this -> echoUserName(); ?></td>
								</tr>
								<tr>
									<th>出金額</th>
									<td><?php $this -> dispCurrency(); ?> <?php $this -> echoAmount(); ?></td>
								</tr>
								<tr>
									<th>出金通貨口座</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
								</tr>
								<tr>
									<th>為替レート</th>
									<td><?php $this -> echoRate(); ?></td>
								</tr>
								<tr>
									<th>口座名義</th>
									<td><?php $this -> echoAccountName(); ?></td>
								</tr>
								<tr>
									<th>受取人国</th>
									<td>
										<?php $this -> dispReceiptCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>住所</th>
									<td><?php $this -> echoReceiptAddress1(); ?></td>
								</tr>
								<tr>
									<th>メッセージ</th>
									<td><?php $this -> echoReceiptMessage(); ?></td>
								</tr>
								<tr>
									<th>受取銀行名</th>
									<td><?php $this -> echoReceiptBankName(); ?></td>
								</tr>
								<tr>
									<th>受取銀行支店コード</th>
									<td><?php $this -> echoReceiptBranchCode(); ?></td>
								</tr>
								<tr>
									<th>受取銀行支店名</th>
									<td><?php $this -> echoReceiptBranchName(); ?></td>
								</tr>
								<tr>
									<th>SWIFTコード</th>
									<td><?php $this -> echoReceiptBankSwift(); ?></td>
								</tr>
								<tr>
									<th>受取銀行国</th>
									<td>
										<?php $this -> dispReceiptBankCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>受取銀行住所</th>
									<td><?php $this -> echoReceiptBankAddress1(); ?></td>
								</tr>
								<tr>
									<th>口座番号</th>
									<td><?php $this -> echoAccountNumber(); ?></td>
								</tr>
								<tr>
									<th>中継銀行の利用</th>
									<td>
										<?php $this -> dispIntermediaryFlg(); ?>
									</td>
								</tr>
								<tr>
									<th>中継銀行名</th>
									<td><?php $this -> echoIntermediaryBankName(); ?></td>
								</tr>
								<tr>
									<th>SWIFTコード</th>
									<td><?php $this -> echoIntermediaryBankSwift(); ?></td>
								</tr>
								<tr>
									<th>中継銀行国</th>
									<td>
										<?php $this -> dispIntermediaryBankCountry(); ?>
									</td>
								</tr>
								<tr>
									<th>中継銀行住所</th>
									<td><?php $this -> echoIntermediaryBankAddress1(); ?></td>
								</tr>
								<tr>
									<th>中継銀行メッセージ</th>
									<td><?php $this -> echoIntermediaryBankMessage(); ?></td>
								</tr>
								<tr>
									<th>送金手数料</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFee(); ?></td>
								</tr>
								<tr>
									<th>差戻し手数料</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFeeRefund(); ?></td>
								</tr>
								<tr>
									<th>出金ステータス</th>
									<td>
										<?php $this -> echoStatus(); ?>&nbsp;
										<span id="txt_fee_refund" style="display:none;">組戻し手数料: <input type="text" id="fee_refund" name="fee_refund" value="<?php $this -> echoFeeRefund(); ?>" /></span>
									</td>
								</tr>
								<tr>
									<th>送金注文番号</th>
									<td><input type="text" id="order_number" name="order_number" value="<?php $this -> echoOrderNumber(); ?>" class="px180" /></td>
								</tr>
								<tr>
									<th>備考</th>
									<td><textarea id="note" name="note" rows="5" class="w100p"><?php $this -> echoNote(); ?></textarea></td>
								</tr>
							</table>
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>取引を削除する</th>
									<td><input type="button" id="btnDelete" value="削除する" class="btn bg-red font12 hi22 px80"></td>
								</tr>
							</table>
							<p class="calign mb10"><input type="button" id="btnSave" value="保存する" class="btn bg-grad px100 hi30"></p>
							<p class="calign"><a href="" class="btn bg-default">リストへ戻る</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="/en/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>
