|
@@ -22,7 +22,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['mark_picked_up'])) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$reservations = getReservations();
|
|
$reservations = getReservations();
|
|
|
-$filter = isset($_GET['filter']) ? sanitize($_GET['filter']) : 'all';
|
|
|
|
|
|
|
+$filter = isset($_GET['filter']) ? sanitize($_GET['filter']) : 'open';
|
|
|
$searchOrderNumber = isset($_GET['order_number']) ? sanitize($_GET['order_number']) : '';
|
|
$searchOrderNumber = isset($_GET['order_number']) ? sanitize($_GET['order_number']) : '';
|
|
|
|
|
|
|
|
// Exclude backorders
|
|
// Exclude backorders
|
|
@@ -107,10 +107,8 @@ include __DIR__ . '/../includes/header.php';
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>Bestellnummer</th>
|
|
<th>Bestellnummer</th>
|
|
|
<th>Kunde</th>
|
|
<th>Kunde</th>
|
|
|
- <th>E-Mail</th>
|
|
|
|
|
<th>Artikel</th>
|
|
<th>Artikel</th>
|
|
|
<th>Erstellt</th>
|
|
<th>Erstellt</th>
|
|
|
- <th>Gültig bis</th>
|
|
|
|
|
<th>Status</th>
|
|
<th>Status</th>
|
|
|
<th>Aktionen</th>
|
|
<th>Aktionen</th>
|
|
|
</tr>
|
|
</tr>
|
|
@@ -120,7 +118,6 @@ include __DIR__ . '/../includes/header.php';
|
|
|
<tr>
|
|
<tr>
|
|
|
<td><strong><?php echo htmlspecialchars($reservation['id']); ?></strong></td>
|
|
<td><strong><?php echo htmlspecialchars($reservation['id']); ?></strong></td>
|
|
|
<td><?php echo htmlspecialchars($reservation['customer_name']); ?></td>
|
|
<td><?php echo htmlspecialchars($reservation['customer_name']); ?></td>
|
|
|
- <td><?php echo htmlspecialchars($reservation['customer_email']); ?></td>
|
|
|
|
|
<td>
|
|
<td>
|
|
|
<?php
|
|
<?php
|
|
|
$itemCount = 0;
|
|
$itemCount = 0;
|
|
@@ -131,7 +128,6 @@ include __DIR__ . '/../includes/header.php';
|
|
|
?>
|
|
?>
|
|
|
</td>
|
|
</td>
|
|
|
<td><?php echo formatDate($reservation['created']); ?></td>
|
|
<td><?php echo formatDate($reservation['created']); ?></td>
|
|
|
- <td><?php echo formatDate($reservation['expires']); ?></td>
|
|
|
|
|
<td>
|
|
<td>
|
|
|
<?php
|
|
<?php
|
|
|
if ($reservation['picked_up']) {
|
|
if ($reservation['picked_up']) {
|