Add the location and notes fields to the appointment email notifications (if a value was provided). (#1341)
This commit is contained in:
parent
ddee652231
commit
a8996b6b99
2 changed files with 44 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue