'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 { Badge } from '@/components/ui/badge' 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: Scrollbares Bedienfeld */}
{/* Header & Status Stepper */}

Anfrage prüfen

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

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

{selectedEndCustomer.company_name}

Ansprechpartner: {[selectedEndCustomer.first_name, selectedEndCustomer.last_name].filter(Boolean).join(' ')}

Adresse: {[selectedEndCustomer.street, [selectedEndCustomer.zip, selectedEndCustomer.city].filter(Boolean).join(' ')].filter(Boolean).join(', ')}

)} {/* Anmerkungen / Notizfeld */}