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
46fc9ebb
Commit
46fc9ebb
authored
Jul 18, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
payment booking
parent
0209568a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ManageFaqs.php
admin/application/controllers/ManageFaqs.php
+2
-2
Webservice.php
admin/application/controllers/Webservice.php
+3
-3
No files found.
admin/application/controllers/ManageFaqs.php
View file @
46fc9ebb
...
...
@@ -33,7 +33,7 @@ class ManageFaqs extends CI_Controller {
}
function
faq_view
(){
$template
[
'page'
]
=
"ManageFaqs/
V
iewFaqs"
;
$template
[
'page'
]
=
"ManageFaqs/
v
iewFaqs"
;
$template
[
'page_title'
]
=
"Manage Faq Page"
;
$template
[
'data'
]
=
$this
->
Faq_model
->
get_all_faqs
();
$this
->
load
->
view
(
'template'
,
$template
);
...
...
@@ -89,7 +89,7 @@ class ManageFaqs extends CI_Controller {
}
function
faq_view_doctor
(){
$template
[
'page'
]
=
"ManageFaqsDoctor/
V
iewFaqs"
;
$template
[
'page'
]
=
"ManageFaqsDoctor/
v
iewFaqs"
;
$template
[
'page_title'
]
=
"Manage Faq Page"
;
$template
[
'data'
]
=
$this
->
Faq_model
->
get_all_faqs_doctor
();
$this
->
load
->
view
(
'template'
,
$template
);
...
...
admin/application/controllers/Webservice.php
View file @
46fc9ebb
...
...
@@ -6889,7 +6889,7 @@ print_r(date('H:i',$ms));exit();*/
$text_pat
=
'Your appointment was scheduled in the system, on '
.
date
(
'd.m.Y'
,
$booking_details
[
'time_start'
])
.
' at '
.
date
(
'H:i a'
,
$booking_details
[
'time_start'
])
.
', doctor '
.
$doctor_data
[
'dr_name'
];
$notification_pat
=
array
(
'patient_id'
=>
$booking_details
[
'patient_id'
],
'type'
=>
0
,
'message'
=>
$text_pat
,
'read_status'
=>
0
,
'time'
=>
strtotime
(
$nowin_server
),
'booking_id'
=>
$
_POST
[
'booking_id'
]);
$notification_pat
=
array
(
'patient_id'
=>
$booking_details
[
'patient_id'
],
'type'
=>
0
,
'message'
=>
$text_pat
,
'read_status'
=>
0
,
'time'
=>
strtotime
(
$nowin_server
),
'booking_id'
=>
$
data
[
'booking_id'
]);
$patient_insert_id
=
$this
->
Webservice_model
->
insert_notification_patient
(
$notification_pat
);
...
...
@@ -6897,7 +6897,7 @@ print_r(date('H:i',$ms));exit();*/
if
(
!
empty
(
$fcm_user
[
'fcm_token'
]))
{
$pat_push_obj
[
'id'
]
=
$patient_insert_id
;
$pat_push_obj
[
'type'
]
=
"Consultation Confirmation"
;
$pat_push_obj
[
'booking_id'
]
=
$
_POST
[
'booking_id'
];
$pat_push_obj
[
'booking_id'
]
=
$
data
[
'booking_id'
];
$pat_push_obj
[
'booking_date'
]
=
$booking_details
[
'date'
];
$pat_push_obj
[
'doctor_id'
]
=
$booking_details
[
'doctor_id'
];
$pat_push_obj
[
'doctor_name'
]
=
$doctor_data
[
'dr_name'
];
...
...
@@ -6911,7 +6911,7 @@ print_r(date('H:i',$ms));exit();*/
}
/*------------------------------------------------*/
}
$result
=
$this
->
Webservice_model
->
set_payment_status
(
$
_POST
[
'booking_id'
]);
$result
=
$this
->
Webservice_model
->
set_payment_status
(
$
data
[
'booking_id'
]);
$res
=
array
(
'status'
=>
'success'
,
'payment_status'
=>
'1'
,
'message'
=>
'payment success'
,
'booking_date'
=>
date
(
'd/m/Y'
,
$check_markbooking
[
'booking_date'
]),
'booking_slot'
=>
$check_markbooking
[
'booking_slot'
]);
...
...
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