refactor(order): change order prefix from BE to AE for Anfragenummer

This commit is contained in:
DanielS
2026-07-03 14:58:43 +02:00
parent 23be8bcb52
commit 4c6fde326b

View File

@@ -21,7 +21,7 @@ import { getProducts, getCategories } from '@/lib/actions/products'
function generateOrderNumber(): string { function generateOrderNumber(): string {
const year = new Date().getFullYear() const year = new Date().getFullYear()
const rand = Math.floor(10000 + Math.random() * 90000) // 5-stellig, niemals < 10000 const rand = Math.floor(10000 + Math.random() * 90000) // 5-stellig, niemals < 10000
return `BE-${year}-${rand}` return `AE-${year}-${rand}`
} }
/** /**