Add the location and notes fields to the appointment email notifications (if a value was provided). (#1341)

This commit is contained in:
Alex Tselegidis 2023-02-21 08:02:32 +01:00
parent ddee652231
commit a8996b6b99
2 changed files with 44 additions and 0 deletions

View file

@ -80,6 +80,28 @@
<?= format_timezone($timezone) ?>
</td>
</tr>
<?php if ( ! empty($appointment['location'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('location') ?>
</td>
<td style="padding: 3px;">
<?= $appointment['location'] ?>
</td>
</tr>
<?php endif ?>
<?php if ( ! empty($appointment['notes'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('notes') ?>
</td>
<td style="padding: 3px;">
<?= $appointment['notes'] ?>
</td>
</tr>
<?php endif ?>
</table>
<h2>

View file

@ -84,6 +84,28 @@
<?= format_timezone($timezone) ?>
</td>
</tr>
<?php if ( ! empty($appointment['location'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('location') ?>
</td>
<td style="padding: 3px;">
<?= $appointment['location'] ?>
</td>
</tr>
<?php endif ?>
<?php if ( ! empty($appointment['notes'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('notes') ?>
</td>
<td style="padding: 3px;">
<?= $appointment['notes'] ?>
</td>
</tr>
<?php endif ?>
</table>
<h2>