'use client' import React from 'react' import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from '@/components/ui/card' import { Separator } from '@/components/ui/separator' import { Button } from '@/components/ui/button' import { ShieldCheck, Building2, Calendar, Loader2, CheckCircle2 } from 'lucide-react' import * as Icons from 'lucide-react' import { Category, Product, EndCustomer, Profile } from '@/lib/types' interface StepSummaryProps { finalItemsToShow: any[] visibleCategories: Category[] products: Product[] oneTimeTotal: number monthlyTotal: number oneTimeNet: number oneTimeTax: number oneTimeGross: number monthlyNet: number monthlyTax: number monthlyGross: number updatePriceModifier: { label?: string } selectedEndCustomer: EndCustomer | null customerData: Partial lastLicenseDate: string handleSubmit: () => Promise isSubmitting: boolean initialOrder: any prevStep: () => void linkedFeeProducts?: Product[] orderNotes: string setOrderNotes: (notes: string) => void } function CategoryIcon({ icon, className }: { icon?: string | null; className?: string }) { const LucideIcon = icon ? (Icons as any)[icon] : null if (!LucideIcon) return return } export function StepSummary({ finalItemsToShow, visibleCategories, products, oneTimeTotal, monthlyTotal, oneTimeNet, oneTimeTax, oneTimeGross, monthlyNet, monthlyTax, monthlyGross, updatePriceModifier, selectedEndCustomer, customerData, lastLicenseDate, handleSubmit, isSubmitting, initialOrder, prevStep, linkedFeeProducts = [], orderNotes, setOrderNotes, }: StepSummaryProps) { return (
{/* LINKER BEREICH: Linksbündige Überschrift & Notizfeld */}
Schritt 4 von 4 — Abschluss

Anfrage prüfen

Fast fertig! Bitte überprüfen Sie Ihre ausgewählte Konfiguration vor dem Absenden.

{/* Kunden-Info Card */} {selectedEndCustomer && (
Ausgewählter Endkunde

{selectedEndCustomer.company_name}

{selectedEndCustomer.first_name} {selectedEndCustomer.last_name}

{selectedEndCustomer.zip} {selectedEndCustomer.city}

)} {/* Anmerkungen / Notizfeld (Links) */}