Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anthony.Suerte
iwl-live
Commits
b18dcacc
Commit
b18dcacc
authored
May 04, 2021
by
Anthony.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AUI User Details Optimization [DEBUG]
parent
05e100ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
135 deletions
+13
-135
tmp_account_edit.php
system/en/template/tmp_account_edit.php
+2
-50
account_edit.js
system/js/account_edit.js
+7
-29
logic.php
system/logic/account_edit/logic.php
+2
-7
tmp_account_edit.php
system/template/tmp_account_edit.php
+2
-49
No files found.
system/en/template/tmp_account_edit.php
View file @
b18dcacc
...
...
@@ -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"
>
<input
type=
"button"
id=
"btnSearchToday"
value=
"Today"
class=
"btn bg-default px50 hi22"
>
<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"
>
</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"
>
«
Back
</a>
</p>
<?php
$this
->
dispHistoryList
();
?>
<div
class=
"article-bottom"
>
</div>
</article>
...
...
system/js/account_edit.js
View file @
b18dcacc
...
...
@@ -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
'
...
...
system/logic/account_edit/logic.php
View file @
b18dcacc
...
...
@@ -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
);
}
/*-------------------------------------------------------------------------
...
...
system/template/tmp_account_edit.php
View file @
b18dcacc
...
...
@@ -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"
>
<input
type=
"button"
id=
"btnSearchToday"
value=
"本日"
class=
"btn bg-default px50 hi22"
>
<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"
>
«
戻る
</a>
</p>
<?php
$this
->
dispHistoryList
();
?>
<div
class=
"article-bottom"
>
</div>
</article>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment