Impressum, Datenschutzerklärung und DSGVO-Aufräumarbeiten ergänzen
This commit is contained in:
parent
672df3d0a7
commit
4bcc957ae2
23 changed files with 1133 additions and 16 deletions
|
|
@ -4,6 +4,8 @@
|
|||
/** @var array $doneMap */
|
||||
/** @var string $copyText */
|
||||
/** @var bool $canDelete */
|
||||
/** @var bool $deleteBlocked */
|
||||
/** @var bool $isAdmin */
|
||||
$cancelled = $booking['status'] === 'cancelled';
|
||||
$lines = explode("\n", $copyText);
|
||||
$due = due_cents((int) $booking['total_cents'], (int) $booking['deposit_cents']);
|
||||
|
|
@ -169,6 +171,12 @@ $returnTo = '/bookings/' . (int) $booking['id'];
|
|||
<?= csrf_field() ?>
|
||||
<button class="btn danger-ghost btn--block" type="submit"><svg class="ico" aria-hidden="true"><use href="#i-trash"/></svg> Endgültig löschen</button>
|
||||
</form>
|
||||
<?php elseif ($isAdmin && $deleteBlocked): ?>
|
||||
<p class="muted small">
|
||||
Diese Buchung ist als Rechnung markiert und unterliegt der gesetzlichen Aufbewahrungspflicht.
|
||||
Löschen ist deshalb gesperrt. Wenn keine Rechnung erstellt wurde, kann die Markierung unter
|
||||
<strong>Bearbeiten</strong> entfernt werden.
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue