Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
TimeOut
TimeOutAdmin
Commits
5cf6017c
Commit
5cf6017c
authored
5 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.techware.co.in/timeout/timeOut
into jansa
parents
7cdbf64d
6a866479
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
Api_model.php
application/models/Api_model.php
+0
-15
No files found.
application/models/Api_model.php
View file @
5cf6017c
...
...
@@ -1399,21 +1399,6 @@ class Api_model extends CI_Model {
}
catch
(
Exception
$e
){}
}
function
updateCustomTxn
(
$txnType
=
''
,
){
try
{
$insertData
=
array
(
'customer_id'
=>
$user_id
,
'transaction_type'
=>
$txnType
,
'created_date'
=>
date
(
'Y-m-d h:i:s'
),
'amount'
=>
$amount
,
'transaction_code'
=>
$txnCode
);
$this
->
db
->
insert
(
'wallet_transactions'
,
$insertData
);
$last_id
=
$this
->
db
->
insert_id
();
$res
=
array
(
'status'
=>
1
,
'transaction_id'
=>
$txnCode
);
}
catch
(
Exception
$e
){
$res
=
array
(
'status'
=>
0
,
'message'
=>
'Ohh No!! Something went South!!'
,
'code'
=>
'ER06'
);
}
return
$res
;
}
function
update_payment
(
$response
=
''
,
$transactionid
=
''
,
$last_id
,
$status
,
$eventid
=
''
){
try
{
if
(
empty
(
$last_id
)){
...
...
This diff is collapsed.
Click to expand it.
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