Anpassung für Aufruf für proxy

This commit is contained in:
2026-05-05 11:05:03 +02:00
parent a675873437
commit bec1c8725f
11 changed files with 628 additions and 198 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
<p class="eyebrow">Dashboard</p>
<h1>Anfragen, Buchungen und Rechnungen</h1>
</div>
<a class="button-primary" href="/admin/create">Bestellung fuer Kunden anlegen</a>
<a class="button-primary" href="<?= h(url('admin/create')) ?>">Bestellung fuer Kunden anlegen</a>
</div>
<?php if (!empty($flashSuccess)): ?>
@@ -62,7 +62,7 @@
<tbody>
<?php foreach ($bookings as $booking): ?>
<tr>
<td><a href="/admin/order?id=<?= h(urlencode($booking['id'])) ?>"><?= h($booking['reference']) ?></a></td>
<td><a href="<?= h(url('admin/order?id=' . urlencode($booking['id']))) ?>"><?= h($booking['reference']) ?></a></td>
<td><?= h($booking['customer']['name']) ?></td>
<td><?= h(formatDate($booking['start_date'])) ?> - <?= h(formatDate($booking['end_date'])) ?></td>
<td><?= h($booking['status_label']) ?></td>
@@ -99,7 +99,7 @@
<tbody>
<?php foreach ($invoices as $invoice): ?>
<tr>
<td><a href="/admin/invoice/pdf?id=<?= h(urlencode($invoice['id'])) ?>" target="_blank"><?= h($invoice['invoice_number']) ?></a></td>
<td><a href="<?= h(url('admin/invoice/pdf?id=' . urlencode($invoice['id']))) ?>" target="_blank"><?= h($invoice['invoice_number']) ?></a></td>
<td><?= h($invoice['booking_id']) ?></td>
<td><?= h(formatDate($invoice['due_date'])) ?></td>
<td><?= h($invoice['payment_method_label']) ?></td>