Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
IPok
IPok_Web
Commits
6dab8477
Commit
6dab8477
authored
Aug 13, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp
parent
a3dd8ea9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Webservice_model.php
admin/application/models/Webservice_model.php
+6
-1
No files found.
admin/application/models/Webservice_model.php
View file @
6dab8477
...
...
@@ -4176,10 +4176,15 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
$this
->
db
->
from
(
'tbl_wallet_details'
);
$this
->
db
->
where
(
'doctor_id'
,
$doc_id
);
$query
=
$this
->
db
->
get
()
->
row_array
();
if
(
$query
){
$query
[
'reedem_earn'
]
=
$query
[
'reedem_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'reedem_earn'
]);
$query
[
'future_earn'
]
=
$query
[
'future_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'future_earn'
]);
$query
[
'total_earn'
]
=
$query
[
'total_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'total_earn'
]);
}
else
{
$query
[
'reedem_earn'
]
=
0
;
$query
[
'future_earn'
]
=
0
;
$query
[
'total_earn'
]
=
0
;
}
return
$query
;
}
...
...
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