Skip to content

Commit

Permalink
Include the status to the appointment notification
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Apr 8, 2024
1 parent f2cdfb8 commit 5b2ce2e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions application/views/emails/appointment_deleted_email.php
Expand Up @@ -81,6 +81,17 @@
</td>
</tr>

<?php if (!empty($appointment['status'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('status') ?>
</td>
<td style="padding: 3px;">
<?= e($appointment['status']) ?>
</td>
</tr>
<?php endif; ?>

<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('description') ?>
Expand Down
11 changes: 11 additions & 0 deletions application/views/emails/appointment_saved_email.php
Expand Up @@ -85,6 +85,17 @@
</td>
</tr>

<?php if (!empty($appointment['status'])): ?>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('status') ?>
</td>
<td style="padding: 3px;">
<?= e($appointment['status']) ?>
</td>
</tr>
<?php endif; ?>

<tr>
<td class="label" style="padding: 3px;font-weight: bold;">
<?= lang('description') ?>
Expand Down

0 comments on commit 5b2ce2e

Please sign in to comment.