import { CalendarCheck2, Clock, User, Car, Users, Wrench, Building2, FileText, ClipboardList, Info, ExternalLink, } from "lucide-react" import Link from "next/link" import { Card, CardContent, CardHeader, CardTitle } from "@/shared/components/ui/card" import { Badge } from "@/shared/components/ui/badge" import { Button } from "@/shared/components/ui/button" type AppointmentData = { id?: number job_card_id?: number title?: string date?: string from_time?: string to_time?: string customer_id?: number vehicle_id?: number service_writer_id?: number technician_id?: number department_id?: number notes?: string status?: string created_at?: string updated_at?: string } type AppointmentGeneralInfoProps = { appointment: AppointmentData } function InfoItem({ icon: Icon, label, value, }: { icon: React.ComponentType<{ className?: string }> label: string value?: string | number | null }) { return (
{appointment.notes}