Commit b18dcacc authored by Anthony.Suerte's avatar Anthony.Suerte

AUI User Details Optimization [DEBUG]

parent 05e100ec
......@@ -9,56 +9,9 @@ include_once('template/base_head.php');
<input type="hidden" id="detail_account" name="detail_account" value="<?php $this -> echoAccountNumber(); ?>">
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
<input type="button" id="btnSearchToday" value="Today" class="btn bg-default px50 hi22">&nbsp;
<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
<input type="button" id="btnSeeTransactions" value="See Transactions" class="btn bg-default px120 hi22">&nbsp;
</div>
</div>
<table class="conditions fontS w100p">
<colgroup>
<col class="w50p">
<col class="w50p">
</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>Email Address</th>
<td><input type="text" id="s_email" name="s_email" value="<?php $this -> echoSEmail(); ?>" class="w100p"></td>
</tr>
<tr>
<th>Account Number</th>
<td><input type="text" id="s_account" name="s_account" value="<?php $this -> echoSUserAccount(); ?>" class="w100p"></td>
</tr>
<tr>
<th>Currency Type</th>
<td>
<select id="s_currency" name="s_currency" class="w100p">
<option value="">--- All ---</option>
<?php $this -> echoCurrencyList(); ?>
</select>
</td>
</tr>
<tr>
<th>Transaction Type</th>
<td>
<select name="transaction_type" id="transaction_type" class="w100p">
<option value="">--- All ---</option>
<?php $this -> dispTransactionTypeList(); ?>
</select>
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">Processing Date</span>
<p>
<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="日付"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="日付">
</p>
</td>
</tr>
</table>
<p class="calign"><input type="button" id="btnExport" value="Export" class="btn bg-grad hi25 px100"></p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
......@@ -309,8 +262,7 @@ include_once('template/base_head.php');
<p class="calign mb20">
<a href="javascript:actionBack();" class="btn bg-default">&laquo; Back</a>
</p>
<?php $this -> dispHistoryList(); ?>
<div class="article-bottom">
</div>
</article>
......
......@@ -58,6 +58,13 @@ $(function() {
submitForm();
});
$("#btnSeeTransactions").click(function(){
var currentUrl = window.location.href;
var modifiedBase = currentUrl.substring(0, currentUrl.lastIndexOf("/") + 1)
window.location.href = modifiedBase+"account_transactions?detail_account="+$("#detail_account").val()
})
$('#btnEdit').click(function() {
$('#type').val('action');
submitForm();
......@@ -158,35 +165,6 @@ $(function() {
}
});
$('#btnSearch').click(function() {
$('#s_type').val('search');
submitForm('searchForm');
});
$('#btnSearchAll').click(function() {
$('#s_type').val('search');
$('#s_from:text').datepicker().datepicker('setDate', prevTwoMonths);
$('#s_to:text').datepicker().datepicker('setDate', 'today');
$('#s_email').val('');
$('#s_account').val('');
$('#transaction_number').val('');
$('#transaction_type').val('');
$('#s_currency').val('');
submitForm('searchForm');
});
$('#btnSearchToday').click(function() {
$('#s_type').val('search');
$('#s_from:text').datepicker().datepicker('setDate', 'today');
$('#s_to:text').datepicker().datepicker('setDate', 'today');
$('#s_email').val('');
$('#s_account').val('');
$('#transaction_number').val('');
$('#transaction_type').val('');
$('#s_currency').val('');
submitForm('searchForm');
});
$('#s_from').datepicker({
// カレンダーの設定
dateFormat : 'yy/mm/dd'
......
......@@ -132,11 +132,7 @@ class LogicAccountEdit extends AccountEditModelClass {
$this -> updateKycValidateStatus();
}
$this -> setType(TYPE_COMPLETE);
} else if ($this -> getType() == TYPE_EXPORT) {
$this -> selectExport();
} else if ($this -> getType() == TYPE_ADMIN_PAGING) {
$this -> selectPaging();
}
}
} catch (Exception $e) {
throw $e;
......@@ -303,8 +299,7 @@ class LogicAccountEdit extends AccountEditModelClass {
// Mikko 2019 0103 start
$this -> setLinkUser($this -> accessSelect('SELECT_USER_LINK', array($this -> getDetailAccount())));
// Mikko 2019 0103 end
$this -> lists(1, 0);
}
/*-------------------------------------------------------------------------
......
......@@ -9,56 +9,10 @@ include_once('template/base_head.php');
<input type="hidden" id="detail_account" name="detail_account" value="<?php $this -> echoAccountNumber(); ?>">
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnSearchAll" value="すべて" class="btn bg-default px50 hi22">&nbsp;
<input type="button" id="btnSearchToday" value="本日" class="btn bg-default px50 hi22">&nbsp;
<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
<input type="button" id="btnSeeTransactions" value="取引を見る" class="btn bg-default px120 hi22">
</div>
</div>
<table class="conditions fontS w100p">
<colgroup>
<col class="w50p">
<col class="w50p">
</colgroup>
<tr>
<th>取引番号</th>
<td><input type="text" id="transaction_number" name="transaction_number" value="<?php $this -> echoSTransactionNumber(); ?>" class="w100p"></td>
</tr>
<tr>
<th>メールアドレス</th>
<td><input type="text" id="s_email" name="s_email" value="<?php $this -> echoSEmail(); ?>" class="w100p"></td>
</tr>
<tr>
<th>口座番号</th>
<td><input type="text" id="s_account" name="s_account" value="<?php $this -> echoSUserAccount(); ?>" class="w100p"></td>
</tr>
<tr>
<th>通貨種別</th>
<td>
<select id="s_currency" name="s_currency" class="w100p">
<option value="">--- すべて ---</option>
<?php $this -> echoCurrencyList(); ?>
</select>
</td>
</tr>
<tr>
<th>取引科目</th>
<td>
<select name="transaction_type" id="transaction_type" class="w100p">
<option value="">--- すべて ---</option>
<?php $this -> dispTransactionTypeList(); ?>
</select>
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">処理日時指定</span>
<p>
<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="日付"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="日付">
</p>
</td>
</tr>
</table>
<p class="calign"><input type="button" id="btnExport" value="エクスポート" class="btn bg-grad hi25 px100"></p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
......@@ -312,7 +266,6 @@ include_once('template/base_head.php');
<a href="javascript:actionBack();" class="btn bg-default">&laquo; 戻る</a>
</p>
<?php $this -> dispHistoryList(); ?>
<div class="article-bottom">
</div>
</article>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment