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
73e18b10
Commit
73e18b10
authored
May 10, 2021
by
Anthony.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All Currency Option @ User Transaction [FIRST COMMIT]
parent
cc605885
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
885 additions
and
269 deletions
+885
-269
transaction_history.php
system/api/transaction_history.php
+171
-0
tmp_account_transactions.php
system/en/template/tmp_account_transactions.php
+59
-5
account_transactions.js
system/js/account_transactions.js
+381
-7
literals.php
system/lib/core/literals.php
+5
-0
literals_en.php
system/lib/core/literals_en.php
+5
-0
sql.xml
system/lib/sql.xml
+9
-9
model.php
system/logic/account_list/model.php
+4
-1
logic.php
system/logic/account_transactions/logic.php
+2
-15
model.php
system/logic/account_transactions/model.php
+188
-225
tmp_account_transactions.php
system/template/tmp_account_transactions.php
+61
-7
No files found.
system/api/transaction_history.php
0 → 100644
View file @
73e18b10
<?php
header
(
"Content-type: text/json"
);
include_once
'config.php'
;
class
TransactionHistory
extends
System
{
private
$detailAccount
;
private
$transactionNumber
;
private
$emailAddress
;
private
$userAccount
;
private
$currency
;
private
$transactionType
;
private
$dateFrom
;
private
$dateTo
;
private
$page
;
public
function
__construct
(){
parent
::
__construct
();
$this
->
init
();
}
public
function
init
(){
$this
->
setParameter
();
$this
->
validation
();
}
private
function
setParameter
(){
$this
->
detailAccount
=
$this
->
getDataPost
(
"detailAccount"
);
$this
->
transactionNumber
=
$this
->
getDataPost
(
"txnNum"
);
$this
->
emailAddress
=
$this
->
getDataPost
(
"email"
);
$this
->
userAccount
=
$this
->
getDataPost
(
"userAccount"
);
$this
->
currency
=
$this
->
getDataPost
(
"cur"
);
$this
->
transactionType
=
$this
->
getDataPost
(
"txnType"
);
$this
->
dateFrom
=
$this
->
getDataPost
(
"from"
);
$this
->
dateTo
=
$this
->
getDataPost
(
"to"
);
$this
->
page
=
!
empty
(
$this
->
getDataPost
(
"page"
))
?
$this
->
getDataPost
(
"page"
)
:
1
;
}
private
function
validation
(){
if
(
$_SERVER
[
'REQUEST_METHOD'
]
!=
'POST'
){
die
(
json_encode
([
"error_code"
=>
1
,
"message"
=>
"Invalid Request Method [
{
$_SERVER
[
'REQUEST_METHOD'
]
}
]"
]));
}
}
private
function
getWhere
()
{
$rtn
=
[];
$rtn
[]
=
$this
->
detailAccount
;
$rtn
[]
=
$this
->
currency
;
$whereStr
=
NO_STRING
;
// 取引番号
if
(
$this
->
transactionNumber
!=
NO_STRING
)
{
$whereStr
.=
' AND transaction_number = (\')'
.
$this
->
transactionNumber
.
'(\')'
;
}
// メールアドレス
if
(
$this
->
emailAddress
!=
NO_STRING
)
{
$whereStr
.=
' AND (withdraw_user.mail LIKE (\')%'
.
$this
->
emailAddress
.
'%(\') OR deposit_user.mail LIKE (\')%'
.
$this
->
emailAddress
.
'%(\'))'
;
}
// 口座番号
if
(
$this
->
userAccount
!=
NO_STRING
)
{
$whereStr
.=
' AND (deposit_account_number = (\')'
.
$this
->
userAccount
.
'(\') OR withdraw_account_number = (\')'
.
$this
->
userAccount
.
'(\'))'
;
}
// 開始日
if
(
$this
->
dateFrom
!=
NO_STRING
)
{
$whereStr
.=
' AND transaction_time >= (\')'
.
$this
->
dateFrom
.
'(\')'
;
}
else
{
$whereStr
.=
' AND transaction_time >= (\')'
.
date
(
'Y/m/01'
,
strtotime
(
'-2 month'
))
.
'(\')'
;
}
// 終了日
if
(
$this
->
dateTo
!=
NO_STRING
)
{
$whereStr
.=
' AND transaction_time < DATE_ADD((\')'
.
$this
->
dateTo
.
'(\'), INTERVAL 1 DAY)'
;
}
else
{
$whereStr
.=
' AND transaction_time < DATE_ADD((\')'
.
date
(
'Y/m/d'
)
.
'(\'), INTERVAL 1 DAY)'
;
}
// anton
if
(
$this
->
transactionType
!=
NO_STRING
)
{
switch
(
$this
->
transactionType
){
case
VAL_INT_1
:
$whereStr
.=
' AND transaction_type = (\')1(\')'
;
// 入金
break
;
case
VAL_INT_2
:
$whereStr
.=
' AND (transaction_type IN ((\')9(\'), (\')10(\'), (\')12(\')) OR (transaction_type = (\')2(\') AND type = (\')0(\')))'
;
// 出金
break
;
case
VAL_INT_3
:
$whereStr
.=
' AND transaction_type IN ((\')3(\'), (\')4(\'))'
;
// 通貨両替
break
;
case
VAL_INT_4
:
$whereStr
.=
' AND (transaction_type IN ((\')5(\'), (\')6(\')) OR (transaction_type = (\')2(\') AND type = (\')3(\')))'
;
// 口座振替
break
;
case
VAL_INT_5
:
$whereStr
.=
' AND transaction_type IN ((\')7(\'), (\')8(\'))'
;
// 引き落し
break
;
case
VAL_INT_6
:
$whereStr
.=
' AND (transaction_type = (\')11(\') OR trans.type = (\')1(\'))'
;
// 引き落し
break
;
}
}
$rtn
[]
=
$whereStr
;
return
$rtn
;
}
public
function
result
(){
$startTime
=
microtime
(
true
);
$where
=
$this
->
getWhere
();
$defaultPageCount
=
VAR_DEFAULT_PAGE_COUNT
;
$rowCount
=
$this
->
getColumnData
(
$this
->
getRowData
(
$this
->
accessSelect
(
'SELECT_USER_TRANSACTION_ADMIN_COUNT'
,
$where
),
0
),
"overall_total"
);
$start
=
(
$this
->
page
-
VAL_INT_1
)
*
$defaultPageCount
;
$where
[]
=
" LIMIT
{
$start
}
,
{
$defaultPageCount
}
"
;
$totalPage
=
$this
->
getTotalPageCommon
(
$defaultPageCount
,
$rowCount
);
$fetched
=
$this
->
accessSelect
(
'LIST_USER_TRANSACTION_ADMIN'
,
$where
);
if
(
$this
->
isLoopData
(
$fetched
)){
foreach
(
$fetched
as
&
$data
){
if
(
$this
->
getColumnData
(
$data
,
COLUMN_DEPOSIT_AMOUNT
)
!=
NO_STRING
)
{
$data
[
COLUMN_DEPOSIT_AMOUNT
]
=
$this
->
formatCurrency
(
floatval
(
$this
->
getColumnData
(
$data
,
COLUMN_DEPOSIT_AMOUNT
)),
$this
->
currency
);
}
if
((
strlen
(
$this
->
getColumnData
(
$data
,
COLUMN_ACCOUNT_NUMBER
)
>
0
))){
$data
[
COLUMN_ACCOUNT_NUMBER
]
=
'<a href="account_edit?detail_account='
.
$this
->
getColumnData
(
$data
,
COLUMN_ACCOUNT_NUMBER
)
.
'">'
.
$this
->
getColumnData
(
$data
,
COLUMN_ACCOUNT_NUMBER
)
.
'</a>'
;
}
if
(
$this
->
getColumnData
(
$data
,
COLUMN_WITHDRAW_AMOUNT
)
!=
NO_STRING
)
{
$data
[
COLUMN_WITHDRAW_AMOUNT
]
=
$this
->
formatCurrency
(
floatval
(
$this
->
getColumnData
(
$data
,
COLUMN_WITHDRAW_AMOUNT
)),
$this
->
currency
);
}
$data
[
COLUMN_FEE
]
=
$this
->
formatCurrency
(
$this
->
getColumnData
(
$data
,
COLUMN_FEE
),
$this
->
currency
);
$data
[
COLUMN_MESSAGE
]
=
(
$this
->
getColumnData
(
$data
,
COLUMN_MESSAGE
)
!=
NULL
)
?
$this
->
getColumnData
(
$data
,
COLUMN_MESSAGE
)
:
$this
->
getColumnData
(
$data
,
COLUMN_METHOD
);
$data
[
COLUMN_BALANCE
]
=
$this
->
formatCurrency
(
$this
->
getColumnData
(
$data
,
COLUMN_BALANCE
),
$this
->
currency
);
}
}
$result
=
[
"row_count"
=>
$rowCount
,
"total_page"
=>
$totalPage
,
"current_page"
=>
$this
->
page
,
"start_row"
=>
$start
+
1
,
"elapsed_time"
=>
(
microtime
(
true
)
-
$startTime
),
"result"
=>
$fetched
,
];
echo
json_encode
(
$result
);
}
}
$txn
=
new
TransactionHistory
();
$txn
->
result
();
system/en/template/tmp_account_transactions.php
View file @
73e18b10
...
@@ -14,6 +14,56 @@ include_once('template/base_head.php');
...
@@ -14,6 +14,56 @@ include_once('template/base_head.php');
<input
type=
"button"
id=
"btnSearch"
value=
"Search"
class=
"btn bg-default px50 hi22"
>
<input
type=
"button"
id=
"btnSearch"
value=
"Search"
class=
"btn bg-default px50 hi22"
>
</div>
</div>
</div>
</div>
<table
class=
"conditions fontS w100p"
>
<colgroup>
<col
class=
"w50p"
>
<col
class=
"w50p"
>
</colgroup>
<tr>
<td>
Account Name:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"account_name"
)
?>
</strong></td>
</tr>
<tr>
<td>
Username:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"user_name"
)
?>
</strong></td>
</tr>
<tr>
<td>
Date of Birth:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"birth_string"
)
?>
</strong></td>
</tr>
<tr>
<td>
Account Type:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"account_type"
)
?>
</strong></td>
</tr>
<tr>
<td>
Account Status:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"status"
)
?>
</strong></td>
</tr>
<tr>
<td>
KYC Status:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"kyc_validate_status"
)
?>
</strong></td>
</tr>
<tr>
<td>
Risk Level:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"risk_level"
)
?>
</strong></td>
</tr>
<tr>
<td>
Tier Level:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"tier_level"
)
?>
</strong></td>
</tr>
<tr>
<td>
Remarks
</td>
<td><i>
<?php
$this
->
echoAccountInfo
(
"note"
)
?>
</i></td>
</tr>
<tr>
<td>
Risk Remarks
</td>
<td><i>
<?php
$this
->
echoAccountInfo
(
"risk"
)
?>
</i></td>
</tr>
</table>
<hr/>
<table
class=
"conditions fontS w100p"
>
<table
class=
"conditions fontS w100p"
>
<colgroup>
<colgroup>
<col
class=
"w50p"
>
<col
class=
"w50p"
>
...
@@ -35,6 +85,7 @@ include_once('template/base_head.php');
...
@@ -35,6 +85,7 @@ include_once('template/base_head.php');
<th>
Currency Type
</th>
<th>
Currency Type
</th>
<td>
<td>
<select
id=
"s_currency"
name=
"s_currency"
class=
"w100p"
>
<select
id=
"s_currency"
name=
"s_currency"
class=
"w100p"
>
<option
value=
""
>
--- All ---
</option>
<?php
$this
->
echoCurrencyList
();
?>
<?php
$this
->
echoCurrencyList
();
?>
</select>
</select>
</td>
</td>
...
@@ -63,6 +114,10 @@ include_once('template/base_head.php');
...
@@ -63,6 +114,10 @@ include_once('template/base_head.php');
<input
type=
"button"
id=
"btnBack"
value=
"Back"
class=
"btn bg-grad hi25 px100"
>
<input
type=
"button"
id=
"btnBack"
value=
"Back"
class=
"btn bg-grad hi25 px100"
>
</p>
</p>
<input
type=
"hidden"
value=
""
id=
"s_type"
name=
"type"
/>
<input
type=
"hidden"
value=
""
id=
"s_type"
name=
"type"
/>
<span
style=
"display:none;"
id=
"file_exporter_prog"
>
Exporting File...
</span>
</form>
</form>
</aside>
</aside>
...
@@ -72,12 +127,11 @@ include_once('template/base_head.php');
...
@@ -72,12 +127,11 @@ include_once('template/base_head.php');
<article>
<article>
<div
class=
"article-heading"
>
<div
class=
"article-heading"
>
<h2>
<?php
echo
$page_title
;
?>
[
<?php
$this
->
echoDetailAccount
();
?>
]
</h2>
<h2>
<?php
echo
$page_title
;
?>
[
<?php
$this
->
echoDetailAccount
();
?>
]
</h2>
<?php
$this
->
dispPager
();
?>
</div>
<?php
$this
->
echoList
()
?>
<div
class=
"article-bottom"
>
<?php
$this
->
dispPager
();
?>
</div>
</div>
<?php
echo
$this
->
echoTransactionTables
()
?>
<?php
echo
$this
->
echoJavascriptLabels
()
?>
</article>
</article>
</div>
</div>
</div>
</div>
...
...
system/js/account_transactions.js
View file @
73e18b10
This diff is collapsed.
Click to expand it.
system/lib/core/literals.php
View file @
73e18b10
...
@@ -386,6 +386,11 @@ define('VAL_STR_2FA_PROF_CHANGE', 'プロフィール変更');
...
@@ -386,6 +386,11 @@ define('VAL_STR_2FA_PROF_CHANGE', 'プロフィール変更');
define
(
'VAL_STR_2FA_MONEY_OUT'
,
'出金'
);
define
(
'VAL_STR_2FA_MONEY_OUT'
,
'出金'
);
define
(
'VAL_STR_2FA_TEXT'
,
'2段階メール確認(法人口座)'
);
define
(
'VAL_STR_2FA_TEXT'
,
'2段階メール確認(法人口座)'
);
define
(
'VAL_STR_DEFAULT_ACCESS'
,
'デフォルトアクセス'
);
define
(
'VAL_STR_DEFAULT_ACCESS'
,
'デフォルトアクセス'
);
define
(
'VAL_STR_ELAPSED_TIME'
,
'経過時間'
);
define
(
'VAL_STR_SECONDS'
,
'秒'
);
define
(
'VAL_STR_ACCOUNT_DETAILS'
,
'口座詳細'
);
define
(
'VAL_STR_ACCOUNT_TRANSACTIONS'
,
'口座取引'
);
define
(
'VAL_STR_LOADING_TRANSACTIONS'
,
'取引が読み込み中。。。'
);
define
(
'VAL_STR_SEARCH_MESSAGE'
,
'検索結果はございません。'
);
define
(
'VAL_STR_SEARCH_MESSAGE'
,
'検索結果はございません。'
);
define
(
'VAL_STR_IMPORT_MESSAGE'
,
'インポートデータがありません。'
);
define
(
'VAL_STR_IMPORT_MESSAGE'
,
'インポートデータがありません。'
);
define
(
'VAL_STR_ADMIN_EDIT'
,
'編集'
);
define
(
'VAL_STR_ADMIN_EDIT'
,
'編集'
);
...
...
system/lib/core/literals_en.php
View file @
73e18b10
...
@@ -385,6 +385,11 @@ define('VAL_STR_2FA_PROF_CHANGE', 'Profile Changing');
...
@@ -385,6 +385,11 @@ define('VAL_STR_2FA_PROF_CHANGE', 'Profile Changing');
define
(
'VAL_STR_2FA_MONEY_OUT'
,
'Money-Out'
);
define
(
'VAL_STR_2FA_MONEY_OUT'
,
'Money-Out'
);
define
(
'VAL_STR_2FA_TEXT'
,
'2 Step E-Mail Verification (Corporate Account)'
);
define
(
'VAL_STR_2FA_TEXT'
,
'2 Step E-Mail Verification (Corporate Account)'
);
define
(
'VAL_STR_DEFAULT_ACCESS'
,
'Default Access'
);
define
(
'VAL_STR_DEFAULT_ACCESS'
,
'Default Access'
);
define
(
'VAL_STR_ELAPSED_TIME'
,
'Elapsed Time'
);
define
(
'VAL_STR_SECONDS'
,
'sec(s).'
);
define
(
'VAL_STR_LOADING_TRANSACTIONS'
,
'Loading Transactions...'
);
define
(
'VAL_STR_ACCOUNT_DETAILS'
,
'Account Details'
);
define
(
'VAL_STR_ACCOUNT_TRANSACTIONS'
,
'Account Transactions'
);
define
(
'VAL_STR_SEARCH_MESSAGE'
,
'0 Results Found.'
);
define
(
'VAL_STR_SEARCH_MESSAGE'
,
'0 Results Found.'
);
define
(
'VAL_STR_IMPORT_MESSAGE'
,
'No Import Data.'
);
define
(
'VAL_STR_IMPORT_MESSAGE'
,
'No Import Data.'
);
define
(
'VAL_STR_ADMIN_EDIT'
,
'Edit'
);
define
(
'VAL_STR_ADMIN_EDIT'
,
'Edit'
);
...
...
system/lib/sql.xml
View file @
73e18b10
...
@@ -4996,19 +4996,19 @@ WHERE
...
@@ -4996,19 +4996,19 @@ WHERE
AND user_account = '__ELEMENT01__'
AND user_account = '__ELEMENT01__'
AND debit_currency = '__ELEMENT02__'
AND debit_currency = '__ELEMENT02__'
AND TYPE = '11'
AND TYPE = '11'
) AS trans
_in
) AS trans
LEFT OUTER JOIN v_users_all AS withdraw_user
LEFT OUTER JOIN v_users_all AS withdraw_user
ON (trans
_in
.withdraw_account_number = withdraw_user.user_account)
ON (trans.withdraw_account_number = withdraw_user.user_account)
LEFT OUTER JOIN v_users_all AS deposit_user
LEFT OUTER JOIN v_users_all AS deposit_user
ON (trans
_in
.deposit_account_number = deposit_user.user_account)
ON (trans.deposit_account_number = deposit_user.user_account)
WHERE 1
WHERE 1
__ELEMENT03__
__ELEMENT03__
</SELECT_USER_TRANSACTION_ADMIN_COUNT>
</SELECT_USER_TRANSACTION_ADMIN_COUNT>
<LIST_USER_TRANSACTION_ADMIN_COUNT_REVISED>
<LIST_USER_TRANSACTION_ADMIN_COUNT_REVISED>
SELECT
SELECT
count(trans
_in
.currency) total,
count(trans.currency) total,
trans
_in
.currency as currency
trans.currency as currency
FROM
FROM
(
(
SELECT
SELECT
...
@@ -5185,12 +5185,12 @@ WHERE
...
@@ -5185,12 +5185,12 @@ WHERE
v_withdrawal_unified_for_balance
v_withdrawal_unified_for_balance
WHERE
WHERE
user_account = '__ELEMENT01__'
user_account = '__ELEMENT01__'
) AS trans
_in
) AS trans
LEFT OUTER JOIN v_users_all AS withdraw_user ON (trans
_in
.withdraw_account_number = withdraw_user.user_account)
LEFT OUTER JOIN v_users_all AS withdraw_user ON (trans.withdraw_account_number = withdraw_user.user_account)
LEFT OUTER JOIN v_users_all AS deposit_user ON (trans
_in
.deposit_account_number = deposit_user.user_account)
LEFT OUTER JOIN v_users_all AS deposit_user ON (trans.deposit_account_number = deposit_user.user_account)
WHERE 1
WHERE 1
__ELEMENT0
2
__
__ELEMENT0
3
__
GROUP BY currency
GROUP BY currency
ORDER BY currency DESC
ORDER BY currency DESC
...
...
system/logic/account_list/model.php
View file @
73e18b10
...
@@ -453,7 +453,10 @@ class AccountListModelClass extends ModelClassEx {
...
@@ -453,7 +453,10 @@ class AccountListModelClass extends ModelClassEx {
.
'<td>'
.
$this
->
getColumnData
(
$row
,
COLUMN_CLOSE_TIME
)
.
'</td>'
.
'<td>'
.
$this
->
getColumnData
(
$row
,
COLUMN_CLOSE_TIME
)
.
'</td>'
.
'<td>'
.
$this
->
getColumnData
(
$row
,
COLUMN_SUSPENSION_TIME
)
.
'</td>'
.
'<td>'
.
$this
->
getColumnData
(
$row
,
COLUMN_SUSPENSION_TIME
)
.
'</td>'
// . '<td class="blocka"><a href="javascript:actionDetail(\'' . $this -> getColumnData($row, COLUMN_USER_ACCOUNT) . '\');"><span class="fa fa-info-circle fa-lg"></span></a></td>'
// . '<td class="blocka"><a href="javascript:actionDetail(\'' . $this -> getColumnData($row, COLUMN_USER_ACCOUNT) . '\');"><span class="fa fa-info-circle fa-lg"></span></a></td>'
.
'<td class="blocka"><a href="account_edit?detail_account='
.
$this
->
getColumnData
(
$row
,
COLUMN_USER_ACCOUNT
)
.
'"><span class="fa fa-info-circle fa-lg"></span></a></td>'
.
'<td class="blocka">'
.
'<a href="account_edit?detail_account='
.
$this
->
getColumnData
(
$row
,
COLUMN_USER_ACCOUNT
)
.
'" title="'
.
VAL_STR_ACCOUNT_DETAILS
.
'"><span class="fa fa-info-circle fa-lg"></span></a> '
.
'<a href="account_transactions?detail_account='
.
$this
->
getColumnData
(
$row
,
COLUMN_USER_ACCOUNT
)
.
'" title="'
.
VAL_STR_ACCOUNT_TRANSACTIONS
.
'"><span class="fa fa-university fa-lg"></span></a>'
.
'</td>'
.
'</tr>'
;
.
'</tr>'
;
}
}
...
...
system/logic/account_transactions/logic.php
View file @
73e18b10
...
@@ -10,7 +10,6 @@ class LogicAccountTransactions extends ModelAccountTransactions {
...
@@ -10,7 +10,6 @@ class LogicAccountTransactions extends ModelAccountTransactions {
public
function
logic
(){
public
function
logic
(){
$this
->
init
();
$this
->
init
();
$this
->
list
();
$this
->
list
();
}
}
...
@@ -19,18 +18,6 @@ class LogicAccountTransactions extends ModelAccountTransactions {
...
@@ -19,18 +18,6 @@ class LogicAccountTransactions extends ModelAccountTransactions {
$where
=
$this
->
getWhere
();
$where
=
$this
->
getWhere
();
$rowCount
=
$this
->
getColumnData
(
$this
->
setCurrencyTxnCounter
(
$this
->
accessSelect
(
'LIST_USER_TRANSACTION_ADMIN_COUNT_REVISED'
,
$where
));
$this
->
getRowData
(
$this
->
accessSelect
(
'SELECT_USER_TRANSACTION_ADMIN_COUNT'
,
$where
),
0
),
"overall_total"
);
$this
->
setTotal
(
$rowCount
);
$start
=
(
$this
->
getTargetPage
()
-
VAL_INT_1
)
*
$this
->
getDefaultPageCount
();
$this
->
setStart
(
$start
);
$where
[]
=
" LIMIT
{
$start
}
,
{
$this
->
getDefaultPageCount
()
}
"
;
$this
->
setResult
(
$this
->
accessSelect
(
'LIST_USER_TRANSACTION_ADMIN'
,
$where
));
}
}
}
}
\ No newline at end of file
system/logic/account_transactions/model.php
View file @
73e18b10
This diff is collapsed.
Click to expand it.
system/template/tmp_account_transactions.php
View file @
73e18b10
...
@@ -14,6 +14,56 @@ include_once('template/base_head.php');
...
@@ -14,6 +14,56 @@ include_once('template/base_head.php');
<input
type=
"button"
id=
"btnSearch"
value=
"検索"
class=
"btn bg-default px50 hi22"
>
<input
type=
"button"
id=
"btnSearch"
value=
"検索"
class=
"btn bg-default px50 hi22"
>
</div>
</div>
</div>
</div>
<table
class=
"conditions fontS w100p"
>
<colgroup>
<col
class=
"w50p"
>
<col
class=
"w50p"
>
</colgroup>
<tr>
<td>
氏名:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"account_name"
)
?>
</strong></td>
</tr>
<tr>
<td>
ユーザー名:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"user_name"
)
?>
</strong></td>
</tr>
<tr>
<td>
生年月日:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"birth_string"
)
?>
</strong></td>
</tr>
<tr>
<td>
口座種別:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"account_type"
)
?>
</strong></td>
</tr>
<tr>
<td>
ステータス:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"status"
)
?>
</strong></td>
</tr>
<tr>
<td>
KYC認証:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"kyc_validate_status"
)
?>
</strong></td>
</tr>
<tr>
<td>
Riskレベル:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"risk_level"
)
?>
</strong></td>
</tr>
<tr>
<td>
ティアレベル:
</td>
<td><strong>
<?php
$this
->
echoAccountInfo
(
"tier_level"
)
?>
</strong></td>
</tr>
<tr>
<td>
備考欄
</td>
<td><i>
<?php
$this
->
echoAccountInfo
(
"note"
)
?>
</i></td>
</tr>
<tr>
<td>
Risk備考欄
</td>
<td><i>
<?php
$this
->
echoAccountInfo
(
"risk"
)
?>
</i></td>
</tr>
</table>
<hr/>
<table
class=
"conditions fontS w100p"
>
<table
class=
"conditions fontS w100p"
>
<colgroup>
<colgroup>
<col
class=
"w50p"
>
<col
class=
"w50p"
>
...
@@ -35,6 +85,7 @@ include_once('template/base_head.php');
...
@@ -35,6 +85,7 @@ include_once('template/base_head.php');
<th>
通貨種別
</th>
<th>
通貨種別
</th>
<td>
<td>
<select
id=
"s_currency"
name=
"s_currency"
class=
"w100p"
>
<select
id=
"s_currency"
name=
"s_currency"
class=
"w100p"
>
<option
value=
""
>
--- すべて ---
</option>
<?php
$this
->
echoCurrencyList
();
?>
<?php
$this
->
echoCurrencyList
();
?>
</select>
</select>
</td>
</td>
...
@@ -43,7 +94,7 @@ include_once('template/base_head.php');
...
@@ -43,7 +94,7 @@ include_once('template/base_head.php');
<th>
取引科目
</th>
<th>
取引科目
</th>
<td>
<td>
<select
name=
"transaction_type"
id=
"transaction_type"
class=
"w100p"
>
<select
name=
"transaction_type"
id=
"transaction_type"
class=
"w100p"
>
<option
value=
""
>
---
All
---
</option>
<option
value=
""
>
---
すべて
---
</option>
<?php
$this
->
dispTransactionTypeList
();
?>
<?php
$this
->
dispTransactionTypeList
();
?>
</select>
</select>
</td>
</td>
...
@@ -63,6 +114,10 @@ include_once('template/base_head.php');
...
@@ -63,6 +114,10 @@ include_once('template/base_head.php');
<input
type=
"button"
id=
"btnBack"
value=
"戻る"
class=
"btn bg-grad hi25 px100"
>
<input
type=
"button"
id=
"btnBack"
value=
"戻る"
class=
"btn bg-grad hi25 px100"
>
</p>
</p>
<input
type=
"hidden"
value=
""
id=
"s_type"
name=
"type"
/>
<input
type=
"hidden"
value=
""
id=
"s_type"
name=
"type"
/>
<span
style=
"display:none;"
id=
"file_exporter_prog"
>
ファイルをエクスポート中。。。
</span>
</form>
</form>
</aside>
</aside>
...
@@ -72,12 +127,11 @@ include_once('template/base_head.php');
...
@@ -72,12 +127,11 @@ include_once('template/base_head.php');
<article>
<article>
<div
class=
"article-heading"
>
<div
class=
"article-heading"
>
<h2>
<?php
echo
$page_title
;
?>
「
<?php
$this
->
echoDetailAccount
();
?>
」
</h2>
<h2>
<?php
echo
$page_title
;
?>
「
<?php
$this
->
echoDetailAccount
();
?>
」
</h2>
<?php
$this
->
dispPager
();
?>
</div>
<?php
$this
->
echoList
()
?>
<div
class=
"article-bottom"
>
<?php
$this
->
dispPager
();
?>
</div>
</div>
<?php
echo
$this
->
echoTransactionTables
()
?>
<?php
echo
$this
->
echoJavascriptLabels
()
?>
</article>
</article>
</div>
</div>
</div>
</div>
...
...
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