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
0524a567
Commit
0524a567
authored
Aug 01, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change web
parent
0dd47319
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Webservice_model.php
admin/application/models/Webservice_model.php
+2
-2
search_doctor_result.php
application/views/search_doctor_result.php
+1
-1
custom.js
assets/js/custom.js
+4
-4
No files found.
admin/application/models/Webservice_model.php
View file @
0524a567
...
@@ -508,7 +508,7 @@ class Webservice_model extends CI_Model {
...
@@ -508,7 +508,7 @@ class Webservice_model extends CI_Model {
$this
->
db
->
where
(
'id'
,
$query_email
[
'id'
]);
$this
->
db
->
where
(
'id'
,
$query_email
[
'id'
]);
$querydate
=
$this
->
db
->
get
(
'tbl_doctors'
)
->
row
();
$querydate
=
$this
->
db
->
get
(
'tbl_doctors'
)
->
row
();
$query_email
[
'dob'
]
=
$query
_
date
->
dob_new
;
$query_email
[
'dob'
]
=
$querydate
->
dob_new
;
$query_email
[
'cep'
]
=
decrypt_data
(
$query_email
[
'zip_code'
]);
$query_email
[
'cep'
]
=
decrypt_data
(
$query_email
[
'zip_code'
]);
$query_email
[
'complement'
]
=
decrypt_data
(
$query_email
[
'landmark'
]);
$query_email
[
'complement'
]
=
decrypt_data
(
$query_email
[
'landmark'
]);
$query_email
[
'about'
]
=
decrypt_data
(
$query_email
[
'biodata'
]);
$query_email
[
'about'
]
=
decrypt_data
(
$query_email
[
'biodata'
]);
...
@@ -528,7 +528,7 @@ class Webservice_model extends CI_Model {
...
@@ -528,7 +528,7 @@ class Webservice_model extends CI_Model {
$this
->
db
->
where
(
'id'
,
$query
[
'id'
]);
$this
->
db
->
where
(
'id'
,
$query
[
'id'
]);
$querydate
=
$this
->
db
->
get
(
'tbl_doctors'
)
->
row
();
$querydate
=
$this
->
db
->
get
(
'tbl_doctors'
)
->
row
();
$query_email
=
$query
;
$query_email
=
$query
;
$query_email
[
'dob'
]
=
$query
_
date
->
dob_new
;
$query_email
[
'dob'
]
=
$querydate
->
dob_new
;
$query_email
[
'cep'
]
=
decrypt_data
(
$query_email
[
'zip_code'
]);
$query_email
[
'cep'
]
=
decrypt_data
(
$query_email
[
'zip_code'
]);
$query_email
[
'complement'
]
=
decrypt_data
(
$query_email
[
'landmark'
]);
$query_email
[
'complement'
]
=
decrypt_data
(
$query_email
[
'landmark'
]);
$query_email
[
'about'
]
=
decrypt_data
(
$query_email
[
'biodata'
]);
$query_email
[
'about'
]
=
decrypt_data
(
$query_email
[
'biodata'
]);
...
...
application/views/search_doctor_result.php
View file @
0524a567
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<div
class=
"ip_detailed_tab_content"
>
<div
class=
"ip_detailed_tab_content"
>
<div
class=
"tab-content"
>
<div
class=
"tab-content"
>
<div
id=
"biography
<?php
echo
$key
?>
"
class=
"tab-pane fade in active"
>
<div
id=
"biography
<?php
echo
$key
?>
"
class=
"tab-pane fade in active"
>
<p>
<?php
echo
$value
[
'biography'
]
?>
</p>
<p>
<?php
echo
decrypt_data
(
$value
[
'biography'
])
?>
</p>
<!-- <p>Lorem Ipsum is simply dummy text of the printing and
<!-- <p>Lorem Ipsum is simply dummy text of the printing and
typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer</p> -->
typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer</p> -->
...
...
assets/js/custom.js
View file @
0524a567
...
@@ -1745,11 +1745,11 @@ $('#money_cash').click(function(){
...
@@ -1745,11 +1745,11 @@ $('#money_cash').click(function(){
var
result
=
post_ajax
(
base_url
+
'Searchdoctor/markpayment'
,
data
);
var
result
=
post_ajax
(
base_url
+
'Searchdoctor/markpayment'
,
data
);
var
items
=
JSON
.
parse
(
result
);
var
items
=
JSON
.
parse
(
result
);
console
.
log
(
items
);
console
.
log
(
items
);
if
(
items
==
'true'
){
//
if(items == 'true'){
$
(
'.confirm-tab-1'
).
removeClass
(
'active'
);
$
(
'.confirm-tab-1'
).
removeClass
(
'active'
);
$
(
'#btnTrigger-confirmation'
).
click
();
$
(
'#btnTrigger-confirmation'
).
click
();
$
(
'.confirm-tab-4'
).
addClass
(
'active'
);
$
(
'.confirm-tab-4'
).
addClass
(
'active'
);
}
//
}
// }
// }
// else //Paid Consulation -> goto Payment Page
// else //Paid Consulation -> goto Payment Page
// {
// {
...
@@ -1768,12 +1768,12 @@ $('#credit_card_cash').click(function(){
...
@@ -1768,12 +1768,12 @@ $('#credit_card_cash').click(function(){
var
result
=
post_ajax
(
base_url
+
'Searchdoctor/markpayment_viacredit'
,
data
);
var
result
=
post_ajax
(
base_url
+
'Searchdoctor/markpayment_viacredit'
,
data
);
var
items
=
JSON
.
parse
(
result
);
var
items
=
JSON
.
parse
(
result
);
//console.log(items);
//console.log(items);
if
(
items
==
'true'
){
//
if(items== 'true'){
$
(
'#select_cash_mode'
).
modal
(
'hide'
);
$
(
'#select_cash_mode'
).
modal
(
'hide'
);
$
(
'.confirm-tab-1'
).
removeClass
(
'active'
);
$
(
'.confirm-tab-1'
).
removeClass
(
'active'
);
$
(
'#btnTrigger-payment'
).
click
();
$
(
'#btnTrigger-payment'
).
click
();
$
(
'.confirm-tab-3'
).
addClass
(
'active'
);
$
(
'.confirm-tab-3'
).
addClass
(
'active'
);
}
//
}
})
})
$
(
'#enter_waiting_list_btn'
).
click
(
function
()
$
(
'#enter_waiting_list_btn'
).
click
(
function
()
...
...
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