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
7adee402
Commit
7adee402
authored
Sep 18, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get medical records
parent
9c25d186
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
21 deletions
+19
-21
Webservice_model.php
admin/application/models/Webservice_model.php
+4
-4
feedback_doctor.php
admin/application/views/Appfeedback/feedback_doctor.php
+15
-17
No files found.
admin/application/models/Webservice_model.php
View file @
7adee402
...
@@ -2691,7 +2691,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
...
@@ -2691,7 +2691,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$med
=
array
();
$med
=
array
();
$prescrb
=
json_decode
(
decrypt_data
(
$result
[
'prescribtions'
]));
$prescrb
=
json_decode
(
decrypt_data
(
$result
[
'prescribtions'
]));
if
(
$prescrb
==
''
){
if
(
$prescrb
==
''
){
$
med
=
[];
$
result
[
'prescription'
]
=
[];
}
else
{
}
else
{
foreach
(
$prescrb
as
$key
=>
$value
)
{
foreach
(
$prescrb
as
$key
=>
$value
)
{
$med
[
$key
][
'medicine_name'
]
=
$value
->
name
;
$med
[
$key
][
'medicine_name'
]
=
$value
->
name
;
...
@@ -2706,7 +2706,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
...
@@ -2706,7 +2706,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$exam
=
json_decode
(
decrypt_data
(
$result
[
'exams'
]));
$exam
=
json_decode
(
decrypt_data
(
$result
[
'exams'
]));
if
(
$exam
==
''
){
if
(
$exam
==
''
){
$
examss
=
[];
$
result
[
'medical_test'
]
=
[];
}
else
{
}
else
{
foreach
(
$exam
as
$key
=>
$value
)
{
foreach
(
$exam
as
$key
=>
$value
)
{
$examss
[
$key
][
'test_name'
]
=
$value
->
procedure
;
$examss
[
$key
][
'test_name'
]
=
$value
->
procedure
;
...
@@ -2718,7 +2718,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
...
@@ -2718,7 +2718,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$bud
=
array
();
$bud
=
array
();
$budget
=
json_decode
(
decrypt_data
(
$result
[
'budget'
]));
$budget
=
json_decode
(
decrypt_data
(
$result
[
'budget'
]));
if
(
$budget
==
''
){
if
(
$budget
==
''
){
$
budget
=
[];
$
result
[
'services'
]
=
[];
}
else
{
}
else
{
$tot
=
0
;
$tot
=
0
;
foreach
(
$budget
as
$key
=>
$value
)
{
foreach
(
$budget
as
$key
=>
$value
)
{
...
@@ -2733,7 +2733,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
...
@@ -2733,7 +2733,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$images
=
json_decode
(
$result
[
'images'
]);
$images
=
json_decode
(
$result
[
'images'
]);
if
(
$images
==
''
){
if
(
$images
==
''
){
$
images
=
[];
$
result
[
'photos'
]
=
[];
}
else
{
}
else
{
$result
[
'photos'
]
=
$images
;
$result
[
'photos'
]
=
$images
;
}
}
...
...
admin/application/views/Appfeedback/feedback_doctor.php
View file @
7adee402
...
@@ -44,23 +44,21 @@
...
@@ -44,23 +44,21 @@
<?php
<?php
foreach
(
$data
as
$customer
)
{
?>
foreach
(
$data
as
$customer
)
{
?>
<tr>
<td
class=
"hidden"
>
<?php
echo
$customer
->
id
;
?>
</td>
<tr>
<td>
<?php
echo
$customer
->
name
;
?>
</td>
<td
class=
"hidden"
>
<?php
echo
$customer
->
id
;
?>
</td>
<td>
<?php
if
(
$customer
->
feedback_type
==
0
){
<td>
<?php
echo
$customer
->
name
;
?>
</td>
echo
"Problemas Atendimento"
;
<td>
<?php
if
(
$customer
->
feedback_type
==
0
){
}
else
if
(
$customer
->
feedback_type
==
1
)
{
echo
"Problemas Atendimento"
;
echo
"Dificuldade para agendamento"
;
}
else
if
(
$customer
->
feedback_type
==
1
)
{
}
else
if
(
$customer
->
feedback_type
==
2
){
echo
"Dificuldade para agendamento"
;
echo
"Problemas Pagamento"
;
}
else
if
(
$customer
->
feedback_type
==
2
){
}
else
{
echo
"Problemas Pagamento"
;
echo
"Outros"
;
}
else
{
}
echo
"Outros"
;
?>
</td>
}
<td>
<?php
echo
$customer
->
feedback_content
;
?>
</td>
?>
</td>
</tr>
<td>
<?php
echo
$customer
->
feedback_content
;
?>
</td>
</tr>
<?php
<?php
}
}
?>
?>
...
...
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