2015-10-07 23:51:12 +03:00
|
|
|
<!DOCTYPE html>
|
2020-04-22 22:48:56 +03:00
|
|
|
<html lang="en">
|
2015-10-07 23:51:12 +03:00
|
|
|
<head>
|
2017-09-05 15:58:34 +03:00
|
|
|
<meta charset="utf-8">
|
2015-10-07 23:51:12 +03:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="theme-color" content="#35A768">
|
2017-09-14 16:18:20 +03:00
|
|
|
<title><?= lang('appointment_registered') . ' - ' . $company_name ?></title>
|
2015-10-07 23:51:12 +03:00
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
|
2020-05-05 20:35:33 +03:00
|
|
|
<script src="https://kit.fontawesome.com/bdcbd8a000.js" crossorigin="anonymous"></script>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
|
|
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
2015-10-07 23:51:12 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="main" class="container">
|
2020-05-05 20:35:33 +03:00
|
|
|
<div class="wrapper row d-md-flex align-items-center justify-content-center">
|
|
|
|
<div id="success-frame" class="frame-container col-xs-12 d-md-flex">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<img id="success-icon" class="mt-0 mb-2" src="<?= base_url('assets/img/success.png') ?>" />
|
2015-10-07 23:51:12 +03:00
|
|
|
</div>
|
2020-05-05 20:35:33 +03:00
|
|
|
<div class="col-xs-12 col">
|
2015-10-07 23:51:12 +03:00
|
|
|
<?php
|
|
|
|
echo '
|
2017-09-08 15:06:37 +03:00
|
|
|
<h3>' . lang('appointment_registered') . '</h3>
|
|
|
|
<p>' . lang('appointment_details_was_sent_to_you') . '</p>
|
2019-11-01 22:36:31 +03:00
|
|
|
<p><strong>' . lang('check_spam_folder') . '</strong></p>
|
2016-03-07 22:01:39 +02:00
|
|
|
<a href="' . site_url() . '" class="btn btn-success btn-large">
|
2020-05-05 20:35:33 +03:00
|
|
|
<i class="far fa-calendar-alt"></i> ' .
|
2017-09-08 15:06:37 +03:00
|
|
|
lang('go_to_booking_page') . '
|
2015-10-07 23:51:12 +03:00
|
|
|
</a>
|
|
|
|
';
|
|
|
|
|
2020-04-22 22:48:56 +03:00
|
|
|
if (config('google_sync_feature')) {
|
2015-10-07 23:51:12 +03:00
|
|
|
echo '
|
|
|
|
<button id="add-to-google-calendar" class="btn btn-primary">
|
2020-05-05 20:35:33 +03:00
|
|
|
<i class="fas fa-plus"></i>
|
2017-09-08 15:06:37 +03:00
|
|
|
' . lang('add_to_google_calendar') . '
|
2015-10-07 23:51:12 +03:00
|
|
|
</button>';
|
|
|
|
}
|
|
|
|
|
|
|
|
// Display exceptions (if any).
|
|
|
|
if (isset($exceptions)) {
|
|
|
|
echo '<div class="col-xs-12" style="margin:10px">';
|
|
|
|
echo '<h4>Unexpected Errors</h4>';
|
2020-04-22 22:48:56 +03:00
|
|
|
foreach($exceptions as $exception) {
|
|
|
|
echo exceptionToHtml($exception);
|
2015-10-07 23:51:12 +03:00
|
|
|
}
|
|
|
|
echo '</div>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<script src="<?= base_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
2020-05-05 20:35:33 +03:00
|
|
|
<script src="<?= base_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
2020-03-27 12:29:38 +03:00
|
|
|
<script src="<?= base_url('assets/ext/datejs/date.min.js') ?>"></script>
|
2017-09-05 15:58:34 +03:00
|
|
|
<script src="https://apis.google.com/js/client.js"></script>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<script>
|
2015-10-07 23:51:12 +03:00
|
|
|
var GlobalVariables = {
|
2017-09-14 16:18:20 +03:00
|
|
|
'csrfToken' : <?= json_encode($this->security->get_csrf_hash()) ?>,
|
|
|
|
'appointmentData' : <?= json_encode($appointment_data) ?>,
|
|
|
|
'providerData' : <?= json_encode($provider_data) ?>,
|
|
|
|
'serviceData' : <?= json_encode($service_data) ?>,
|
|
|
|
'companyName' : <?= json_encode($company_name) ?>,
|
2020-04-22 22:48:56 +03:00
|
|
|
'googleApiKey' : <?= json_encode(config('google_api_key')) ?>,
|
|
|
|
'googleClientId' : <?= json_encode(config('google_client_id')) ?>,
|
2015-10-07 23:51:12 +03:00
|
|
|
'googleApiScope' : 'https://www.googleapis.com/auth/calendar'
|
|
|
|
};
|
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
2015-10-07 23:51:12 +03:00
|
|
|
</script>
|
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<script src="<?= asset_url('assets/js/frontend_book_success.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php google_analytics_script() ?>
|
2015-10-07 23:51:12 +03:00
|
|
|
</body>
|
|
|
|
</html>
|