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
64e87b4c
Commit
64e87b4c
authored
Sep 13, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app feedback
parent
13ed72c2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
0 deletions
+70
-0
Appfeedback.php
admin/application/controllers/Appfeedback.php
+33
-0
common_helper.php
admin/application/helpers/common_helper.php
+22
-0
Appfeedback_model.php
admin/application/models/Appfeedback_model.php
+15
-0
No files found.
admin/application/controllers/Appfeedback.php
0 → 100644
View file @
64e87b4c
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
class
Appfeedback
extends
CI_Controller
{
public
function
__construct
()
{
parent
::
__construct
();
if
(
!
$this
->
session
->
userdata
(
'logged_in'
))
{
redirect
(
base_url
());
}
$this
->
load
->
model
(
'Appfeedback_model'
);
}
public
function
index
()
{
$all_policy
=
$this
->
Policy_model
->
get_doctor_feedback
();
$template
[
'page'
]
=
"ManagePolicy/addPolicy"
;
$template
[
'page_title'
]
=
"Manage Policy Page"
;
$template
[
'data'
]
=
$all_policy
;
$this
->
load
->
view
(
'template'
,
$template
);
}
function
exams_delete
(
$id
){
$delete_data
=
$this
->
Exam_model
->
delete_exams
(
$id
);
if
(
$delete_data
){
$this
->
session
->
set_flashdata
(
'message'
,
array
(
'message'
=>
'Successfully Deleted'
,
'title'
=>
'Success !'
,
'class'
=>
'success'
));
redirect
(
base_url
()
.
'ManageExams'
);
}
}
}
\ No newline at end of file
admin/application/helpers/common_helper.php
View file @
64e87b4c
...
@@ -194,7 +194,24 @@ function user_menu() {
...
@@ -194,7 +194,24 @@ function user_menu() {
{"name":"View","cap":"manage_faqs","url":"ManageFaqs/faq_view_doctor","subcap":"manage_faqs/view_doctor_faqs"}
{"name":"View","cap":"manage_faqs","url":"ManageFaqs/faq_view_doctor","subcap":"manage_faqs/view_doctor_faqs"}
]'
]'
),
),
array
(
"slug"
=>
"App Feedback Doctor"
,
//fa-wheelchair-alt,fa-blind
"name"
=>
"App Feedback Doctor"
,
"url"
=>
"Appfeedback"
,
"icon"
=>
"fa-medium"
,
"submenu"
=>
false
,
"capabilities"
=>
array
(
"app_feedback_doctor"
),
),
array
(
"slug"
=>
"App Feedback Patient"
,
//fa-wheelchair-alt,fa-blind
"name"
=>
"App Feedback Patient"
,
"url"
=>
"Appfeedback/patient_index"
,
"icon"
=>
"fa-medium"
,
"submenu"
=>
false
,
"capabilities"
=>
array
(
"app_feedback_patient"
),
),
array
(
array
(
"slug"
=>
"Manage Charity"
,
"slug"
=>
"Manage Charity"
,
"name"
=>
"Manage Charity"
,
"name"
=>
"Manage Charity"
,
...
@@ -373,6 +390,8 @@ function user_capabilities() {
...
@@ -373,6 +390,8 @@ function user_capabilities() {
"manage_faqs/view_doctor_faqs"
=>
"View Doctor Faqs"
,
"manage_faqs/view_doctor_faqs"
=>
"View Doctor Faqs"
,
"manage_charity/add"
=>
"Add Charity"
,
"manage_charity/add"
=>
"Add Charity"
,
"manage_charity/add_services"
=>
"Add Charity to Clinic"
,
"manage_charity/add_services"
=>
"Add Charity to Clinic"
,
"app_feedback_doctor"
=>
"Doctor's App Feedback"
,
"app_feedback_patient"
=>
"Patient's App Feedback"
,
"manage_wallet/withdrawal"
=>
"Withdrawal History"
,
"manage_wallet/withdrawal"
=>
"Withdrawal History"
,
"cancelled_consultations"
=>
"Cancelled Consultations"
,
"cancelled_consultations"
=>
"Cancelled Consultations"
,
"manage_doctors/add"
=>
"Add New Doctors"
,
"manage_doctors/add"
=>
"Add New Doctors"
,
...
@@ -419,6 +438,9 @@ function user_page_capabilities() {
...
@@ -419,6 +438,9 @@ function user_page_capabilities() {
"ManageClinic-view"
=>
"manage_clinic/view"
,
"ManageClinic-view"
=>
"manage_clinic/view"
,
"ManageClinic-bookingList"
=>
"manage_clinic/bookinglist"
,
"ManageClinic-bookingList"
=>
"manage_clinic/bookinglist"
,
"Appfeedback-index"
=>
"app_feedback_doctor"
,
"Appfeedback-patient_index"
=>
"app_feedback_patient"
,
"Promocode-index"
=>
"manage_promocode/add"
,
"Promocode-index"
=>
"manage_promocode/add"
,
"Promocode-promocode_view"
=>
"manage_promocode/view"
,
"Promocode-promocode_view"
=>
"manage_promocode/view"
,
"ManageFaqs-index"
=>
"manage_faqs/add"
,
"ManageFaqs-index"
=>
"manage_faqs/add"
,
...
...
admin/application/models/Appfeedback_model.php
0 → 100644
View file @
64e87b4c
<?php
class
Appfeedback_model
extends
CI_Model
{
public
function
_consruct
(){
parent
::
_construct
();
}
function
get_doctor_feedback
(
$policyData
){
$result
=
$this
->
db
->
get_where
(
'tbl_app_feedback'
,
array
(
'doctor_id !='
=>
'0'
))
->
result
();
print_r
(
$result
);
echo
$this
->
db
->
last_query
();
exit
();
}
}
\ No newline at end of file
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