From abf9bdd049953d66a7743c658672eaeb5fbd495f Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Fri, 12 Nov 2021 21:27:11 +0100 Subject: [PATCH] Set the page title of the booking page --- application/controllers/Appointments.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 8a9f4466..5704a858 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -274,6 +274,7 @@ class Appointments extends EA_Controller { $exceptions = $this->session->flashdata('book_success') ?? []; $this->load->layout('layouts/message/message_layout', 'pages/booking/booking_success_page', [ + 'page_title' => lang('success'), 'appointment_data' => $appointment, 'provider_data' => [ 'id' => $provider['id'], @@ -293,10 +294,10 @@ class Appointments extends EA_Controller { 'company_name' => $company_name, 'exceptions' => $exceptions, 'scripts' => [ + 'https://apis.google.com/js/client.js', asset_url('assets/vendor/datejs/date.min.js'), asset_url('assets/vendor/moment/moment.min.js'), asset_url('assets/vendor/moment-timezone/moment-timezone-with-data.min.js'), - 'https://apis.google.com/js/client.js', asset_url('assets/js/frontend_book_success.js'), asset_url('assets/js/general_functions.js') ]