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
84313b29
Commit
84313b29
authored
May 06, 2021
by
Anthony.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User Transaction Query Replacement
parent
b18dcacc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
354 additions
and
414 deletions
+354
-414
sql.xml
system/lib/sql.xml
+347
-411
logic.php
system/logic/account_transactions/logic.php
+2
-2
model.php
system/logic/account_transactions/model.php
+5
-1
No files found.
system/lib/sql.xml
View file @
84313b29
This diff is collapsed.
Click to expand it.
system/logic/account_transactions/logic.php
View file @
84313b29
...
...
@@ -24,11 +24,11 @@ class LogicAccountTransactions extends ModelAccountTransactions {
"overall_total"
);
$this
->
setTotal
(
$rowCount
);
$start
=
(
$this
->
getTargetPage
()
-
VAL_INT_1
)
*
VAR_DEFAULT_PAGE_COUNT
;
$start
=
(
$this
->
getTargetPage
()
-
VAL_INT_1
)
*
$this
->
getDefaultPageCount
()
;
$this
->
setStart
(
$start
);
$where
[]
=
" LIMIT
{
$start
}
,
"
.
VAR_DEFAULT_PAGE_COUNT
;
$where
[]
=
" LIMIT
{
$start
}
,
{
$this
->
getDefaultPageCount
()
}
"
;
$this
->
setResult
(
$this
->
accessSelect
(
'LIST_USER_TRANSACTION_ADMIN'
,
$where
));
}
...
...
system/logic/account_transactions/model.php
View file @
84313b29
...
...
@@ -366,7 +366,7 @@ class ModelAccountTransactions extends ModelClassEx {
public
function
dispPager
()
{
echo
$this
->
getPagerCommon
(
$this
->
getTargetPage
()
,
$this
->
getTotalPageCommon
(
VAR_DEFAULT_PAGE_COUNT
,
$this
->
total
)
,
$this
->
getTotalPageCommon
(
$this
->
getDefaultPageCount
()
,
$this
->
total
)
,
$this
->
total
,
NO_STRING
,
false
);
...
...
@@ -376,6 +376,10 @@ class ModelAccountTransactions extends ModelClassEx {
$this
->
rs
=
$rs
;
}
public
function
getDefaultPageCount
(){
return
VAL_INT_20
;
}
public
function
getCurrency
(){
return
$this
->
currency
;
}
...
...
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