refactor(order): change order prefix from BE to AE for Anfragenummer
This commit is contained in:
@@ -21,7 +21,7 @@ import { getProducts, getCategories } from '@/lib/actions/products'
|
||||
function generateOrderNumber(): string {
|
||||
const year = new Date().getFullYear()
|
||||
const rand = Math.floor(10000 + Math.random() * 90000) // 5-stellig, niemals < 10000
|
||||
return `BE-${year}-${rand}`
|
||||
return `AE-${year}-${rand}`
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user