MaketRandevu/application/views/emails/appointment_saved_email.php

94 lines
3.8 KiB
PHP
Raw Normal View History

<?php
/**
* @var string $company_name
* @var string $email_title
* @var string $email_message
* @var array $appointment_service
* @var string $appointment_provider
* @var string $appointment_start_date
* @var string $appointment_end_date
* @var string $appointment_timezone
* @var string $customer_name
* @var string $customer_email
* @var string $customer_phone
* @var string $customer_address
* @var string $appointment_link
* @var string $company_link
*/
?>
<html lang="en">
<head>
<title><?= lang('appointment_details_title') ?> | Easy!Appointments</title>
</head>
<body style="font: 13px arial, helvetica, tahoma;">
2020-09-23 14:55:48 +03:00
<div class="email-container" style="width: 650px; border: 1px solid #eee;">
<div id="header" style="background-color: #429a82; height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px; margin-top: 10px; display: inline-block">
<?= vars('company_name') ?>
2020-09-23 14:55:48 +03:00
</strong>
</div>
2020-09-23 14:55:48 +03:00
<div id="content" style="padding: 10px 15px;">
<h2><?= vars('email_title') ?></h2>
<p><?= vars('email_message') ?></p>
2020-09-23 14:55:48 +03:00
<h2><?= lang('appointment_details_title') ?></h2>
<table id="appointment-details">
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('service') ?></td>
<td style="padding: 3px;"><?= vars('appointment_service') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('provider') ?></td>
<td style="padding: 3px;"><?= vars('appointment_provider') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('start') ?></td>
<td style="padding: 3px;"><?= vars('appointment_start_date') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('end') ?></td>
<td style="padding: 3px;"><?= vars('appointment_end_date') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('timezone') ?></td>
<td style="padding: 3px;"><?= vars('appointment_timezone') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
</table>
2020-09-23 14:55:48 +03:00
<h2><?= lang('customer_details_title') ?></h2>
<table id="customer-details">
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('name') ?></td>
<td style="padding: 3px;"><?= vars('customer_name') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('email') ?></td>
<td style="padding: 3px;"><?= vars('customer_email') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('phone_number') ?></td>
<td style="padding: 3px;"><?= vars('customer_phone') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;"><?= lang('address') ?></td>
<td style="padding: 3px;"><?= vars('customer_address') ?></td>
2020-09-23 14:55:48 +03:00
</tr>
</table>
2020-09-23 14:55:48 +03:00
<h2><?= lang('appointment_link_title') ?></h2>
<a href="<?= vars('appointment_link') ?>" style="width: 600px;"><?= vars('appointment_link') ?></a>
2020-09-23 14:55:48 +03:00
</div>
2020-09-23 14:55:48 +03:00
<div id="footer" style="padding: 10px; text-align: center; margin-top: 10px;
border-top: 1px solid #EEE; background: #FAFAFA;">
2020-09-23 14:55:48 +03:00
Powered by
<a href="https://easyappointments.org" style="text-decoration: none;">Easy!Appointments</a>
|
<a href="<?= vars('company_link') ?>" style="text-decoration: none;"><?= vars('company_name') ?></a>
</div>
2020-09-23 14:55:48 +03:00
</div>
</body>
</html>