diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 4764bda..1bbac88 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -72,7 +72,14 @@
"Bash(npm run:*)",
"Bash(pnpm exec eslint:*)",
"Bash(npx -y vue-tsc:*)",
- "Bash(awk:*)"
+ "Bash(awk:*)",
+ "Bash(pnpm nuxi@latest module add:*)",
+ "Bash(npx tsx:*)",
+ "Bash(pnpm exec tsc:*)",
+ "Bash(pnpm nuxt typecheck:*)",
+ "Bash(pnpm remove:*)",
+ "Bash(pnpm db:generate:*)",
+ "Bash(pnpm tsx:*)"
],
"deny": [],
"ask": []
diff --git a/app/components/Cart/CartSheet.vue b/app/components/Cart/CartSheet.vue
index fdac21f..7a2ae7e 100644
--- a/app/components/Cart/CartSheet.vue
+++ b/app/components/Cart/CartSheet.vue
@@ -27,7 +27,7 @@ async function handleRemoveItem(itemId: string) {
// Navigate to checkout
function handleCheckout() {
close()
- navigateTo('/checkout')
+ navigateTo('/kasse')
}
@@ -51,25 +51,14 @@ function handleCheckout() {
+ {{ getError('salutation') }} +
++ {{ getError('firstName') }} +
++ {{ getError('lastName') }} +
++ {{ getError('dateOfBirth') }} +
++ {{ getError('street') }} +
++ {{ getError('postCode') }} +
++ {{ getError('city') }} +
++ {{ getError('countryCode') }} +
++ Bestellnummer: {{ order.orderNumber }} +
++ Erstellt am: {{ formatDate(order.createdAt) }} +
++ {{ item.quantity }}x {{ formatCurrency(item.priceSnapshot) }} +
++ {{ formatCurrency(item.subtotal) }} +
++ {{ formatSalutation(order.billingAddress.salutation) }} + {{ order.billingAddress.firstName }} + {{ order.billingAddress.lastName }} +
+{{ order.billingAddress.street }}
++ {{ order.billingAddress.postCode }} {{ order.billingAddress.city }} +
+{{ order.billingAddress.countryCode }}
+Zahlung wird verarbeitet...
++ Du wirst zu PayPal weitergeleitet und kehrst automatisch zurück. +
++ Hinweis (MVP): Dies ist eine + Test-Zahlung. Es wird kein echtes Geld abgebucht. +
++ Die echte PayPal-Integration erfolgt in Phase 7 des Projekts. +
+Bitte überprüfe deine Bestellung vor der finalen Bestätigung
+Lade Bestellung...
+
+ Mit dem Klick auf "Jetzt verbindlich bestellen" akzeptierst du unsere
+
Lade Bestellung...
+Deine Bestellung wurde erfolgreich abgeschlossen.
+ + +Bestellnummer
++ {{ order.orderNumber }} +
++ Du erhältst in Kürze eine Bestätigungs-E-Mail mit allen Details zu deiner + Bestellung. +
++ Deine Makerspace-Jahreskarte wird bearbeitet und steht dir bald zur + Verfügung. +
++ Fragen zu deiner Bestellung? Kontaktiere uns gerne: +
+ + info@experimenta.science + ++ Bitte gib deine Rechnungsadresse ein, um die Bestellung abzuschließen. +
+Lade Warenkorb...
++ {{ itemCount }} {{ itemCount === 1 ? 'Artikel' : 'Artikel' }} +
++ {{ + new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR', + }).format(total) + }} +
+{{ item.product.name }}
++ {{ item.quantity }}x + {{ + new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR', + }).format(Number.parseFloat(item.product.price)) + }} +
++ {{ + new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR', + }).format(item.subtotal) + }} +
+Schließe deine Bestellung mit PayPal ab
+Lade Bestellung...
+{{ order.orderNumber }}
+Zu zahlen
++ {{ + new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR', + }).format(Number.parseFloat(order.totalAmount)) + }} +
++ Deine Zahlung wird über eine sichere SSL-Verbindung verarbeitet. +
+