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
3ebfa36d
Commit
3ebfa36d
authored
Oct 24, 2023
by
iWallet Dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transaction Number Specification (Retake)
parent
e69ae1d9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
logic.php
system/logic/transaction/logic.php
+2
-2
model.php
system/logic/transaction/model.php
+10
-0
No files found.
system/logic/transaction/logic.php
View file @
3ebfa36d
...
...
@@ -63,10 +63,10 @@ class LogicTransaction extends TransactionModelClass {
if
(
$this
->
lang
==
"en"
)
{
$rtn
=
',,Withdrawal Account Information,,,,,Deposit Account Information,,,,,,'
.
"
\n
"
;
$rtn
.=
'Processing Date,Transaction Item,Name,Account Number,Currency,Amount,Fee,Name,Account Number,Currency,Amount,Fee,Type,Exchange Rate'
.
"
\n
"
;
$rtn
.=
'Processing Date,Transaction Item,
Transaction Number,
Name,Account Number,Currency,Amount,Fee,Name,Account Number,Currency,Amount,Fee,Type,Exchange Rate'
.
"
\n
"
;
}
else
{
$rtn
=
',,出金口座情報,,,,,入金口座情報,,,,,,'
.
"
\n
"
;
$rtn
.=
'処理時間,取引科目,名前,口座番号,通貨,金額,手数料,名前,口座番号,通貨,金額,手数料,種別,為替レート'
.
"
\n
"
;
$rtn
.=
'処理時間,取引科目,
取引番号,
名前,口座番号,通貨,金額,手数料,名前,口座番号,通貨,金額,手数料,種別,為替レート'
.
"
\n
"
;
}
$rtn
.=
$this
->
getExportDetails
();
...
...
system/logic/transaction/model.php
View file @
3ebfa36d
...
...
@@ -715,6 +715,7 @@ class TransactionModelClass extends ModelClassEx {
if
(
$row
[
COLUMN_TRANSACTION_TYPE
]
==
VAL_INT_1
)
{
// 入金
$tType
=
VAL_STR_DEPOSIT
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$withdrawCur
=
NO_STRING
;
$deposit
=
$this
->
getAmountString
(
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_AMOUNT
),
$depositCur
);
...
...
@@ -724,6 +725,7 @@ class TransactionModelClass extends ModelClassEx {
&&
$this
->
getColumnData
(
$row
,
COLUMN_TYPE
)
==
VAR_WITHDRAW_TYPE_NORMAL
)
{
// 通常出金
$tType
=
VAL_STR_WITHDARAW
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
NO_STRING
;
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEBIT_CURRENCY
);
$debitCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
...
...
@@ -736,6 +738,7 @@ class TransactionModelClass extends ModelClassEx {
&&
$this
->
getColumnData
(
$row
,
COLUMN_TYPE
)
==
VAR_WITHDRAW_TYPE_CARD
)
{
// 通常出金
$tType
=
VAL_STR_WITHDRAW_CARD
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
NO_STRING
;
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEBIT_CURRENCY
);
$debitCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
...
...
@@ -747,6 +750,7 @@ class TransactionModelClass extends ModelClassEx {
}
else
if
(
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_TYPE
)
==
VAL_INT_4
)
{
// 通貨両替
$tType
=
VAL_STR_EXCHANGE
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
$deposit
=
$this
->
getAmountString
(
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_AMOUNT
),
$depositCur
);
...
...
@@ -756,6 +760,7 @@ class TransactionModelClass extends ModelClassEx {
&&
$this
->
getColumnData
(
$row
,
COLUMN_TYPE
)
==
VAR_WITHDRAW_TYPE_FEE
)
{
// 手数料出金
$tType
=
VAL_STR_FEE
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
NO_STRING
;
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
$deposit
=
NO_STRING
;
...
...
@@ -764,6 +769,7 @@ class TransactionModelClass extends ModelClassEx {
}
else
if
(
$row
[
COLUMN_TRANSACTION_TYPE
]
==
VAL_INT_3
)
{
// 口座振替(出金)
$tType
=
VAL_STR_TRANSFER
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
$deposit
=
$this
->
getAmountString
(
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_AMOUNT
),
$depositCur
);
...
...
@@ -772,6 +778,7 @@ class TransactionModelClass extends ModelClassEx {
}
else
if
(
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_TYPE
)
==
VAL_INT_5
)
{
// 引落(出金)
$tType
=
VAL_STR_REQUEST
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_CURRENCY
);
$deposit
=
$this
->
getAmountString
(
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_AMOUNT
),
$depositCur
);
...
...
@@ -781,6 +788,7 @@ class TransactionModelClass extends ModelClassEx {
||
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_TYPE
)
==
VAL_INT_8
)
{
// 出金差戻し
$tType
=
VAL_STR_WITHDRAW_REFUND
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$withdrawCur
=
NO_STRING
;
$deposit
=
$this
->
getAmountString
(
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_AMOUNT
),
$depositCur
);
...
...
@@ -789,6 +797,7 @@ class TransactionModelClass extends ModelClassEx {
}
else
if
(
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_TYPE
)
==
VAL_INT_11
)
{
// 出金差戻し
$tType
=
VAL_STR_FEE
;
$tNumber
=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_NUMBER
);
$depositCur
=
NO_STRING
;
$withdrawCur
=
$this
->
getColumnData
(
$row
,
COLUMN_DEPOSIT_CURRENCY
);
$deposit
=
NO_STRING
;
...
...
@@ -811,6 +820,7 @@ class TransactionModelClass extends ModelClassEx {
$rtn
.=
$this
->
getColumnData
(
$row
,
COLUMN_TRANSACTION_TIME
)
.
','
.
$tType
.
','
.
$tNumber
.
','
.
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_ACCOUNT_NAME
)
.
','
.
$this
->
getColumnData
(
$row
,
COLUMN_WITHDRAW_ACCOUNT_NUMBER
)
.
','
.
$withdrawCur
.
','
...
...
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