import { CalendarDays, Download, Drill, ShieldCheck, UsersRound } from 'lucide-react'; import { useBooking } from '../booking-provider'; import { formatBookingDate, toIsoDateLocal } from '../lib/booking-time'; export function BookingDaySummary() { const { selectedDate, summary } = useBooking(); return (

Resumen del día

{formatBookingDate(selectedDate, { year: 'numeric' })}

); } interface SummaryCardProps { label: string; value: number; detail?: string; icon: typeof CalendarDays; className: string; } function SummaryCard({ label, value, detail, icon: Icon, className }: SummaryCardProps) { return (

{label}

{value}

{detail &&

{detail}

}
); } export function BookingQuickActions() { const { selectedDate, selectedStatus, setSelectedDate, setSelectedStatus, exportDayReport } = useBooking(); const todayIso = toIsoDateLocal(new Date()); const isViewingTodayReservations = selectedDate === todayIso && selectedStatus === 'reserved'; const isViewingMaintenance = selectedStatus === 'maintenance'; return (

Acciones rápidas

); }