feat(orders): add rejected status to order schema and admin table views
All checks were successful
Staging Build / build (push) Successful in 2m49s

This commit is contained in:
DanielS
2026-07-08 10:13:21 +02:00
parent cc7445e4c5
commit bffaca1d63
6 changed files with 19 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ const statusLabel: Record<string, string> = {
active: 'In Bearbeitung',
completed: 'Abgeschlossen',
cancelled: 'Storniert',
rejected: 'Abgelehnt',
}
const statusClass: Record<string, string> = {
@@ -19,6 +20,7 @@ const statusClass: Record<string, string> = {
active: 'bg-green-500/20 text-green-400 border-green-500/30',
completed: 'bg-blue-500/20 text-blue-400 border-blue-500/30',
cancelled: 'bg-red-500/20 text-red-400 border-red-500/30',
rejected: 'bg-rose-500/20 text-rose-400 border-rose-500/30',
}
export default async function MyOrdersPage() {

View File

@@ -66,6 +66,7 @@ export default async function OrderSuccessPage({
pending: 'Eingegangen',
active: 'In Bearbeitung',
cancelled: 'Storniert',
rejected: 'Abgelehnt',
}
return (