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
fba071d5
Commit
fba071d5
authored
Aug 13, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp
parent
6dab8477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Webservice_model.php
admin/application/models/Webservice_model.php
+6
-3
No files found.
admin/application/models/Webservice_model.php
View file @
fba071d5
...
@@ -4177,9 +4177,12 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
...
@@ -4177,9 +4177,12 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
$this
->
db
->
where
(
'doctor_id'
,
$doc_id
);
$this
->
db
->
where
(
'doctor_id'
,
$doc_id
);
$query
=
$this
->
db
->
get
()
->
row_array
();
$query
=
$this
->
db
->
get
()
->
row_array
();
if
(
$query
){
if
(
$query
){
$query
[
'reedem_earn'
]
=
$query
[
'reedem_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'reedem_earn'
]);
$query
[
'reedem_earn'
]
=
isset
(
$query
[
'reedem_earn'
])
&&
$query
[
'reedem_earn'
]
==
""
$query
[
'future_earn'
]
=
$query
[
'future_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'future_earn'
]);
?
0
:
decrypt_data
(
$query
[
'reedem_earn'
]);
$query
[
'total_earn'
]
=
$query
[
'total_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'total_earn'
]);
$query
[
'future_earn'
]
=
isset
(
$query
[
'future_earn'
])
&&
$query
[
'future_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'future_earn'
]);
$query
[
'total_earn'
]
=
isset
(
$query
[
'total_earn'
])
&&
$query
[
'total_earn'
]
==
""
?
0
:
decrypt_data
(
$query
[
'total_earn'
]);
}
else
{
}
else
{
$query
[
'reedem_earn'
]
=
0
;
$query
[
'reedem_earn'
]
=
0
;
$query
[
'future_earn'
]
=
0
;
$query
[
'future_earn'
]
=
0
;
...
...
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