import Link from "next/link"; interface LeadItem { id: string; number: string; status: "new" | "in_progress" | "converted" | "declined"; firstName: string | null; lastName: string | null; companyName: string | null; cargoDescription: string | null; createdAt: Date; responsible: { name: string } | null; } interface Column { status: LeadItem["status"]; label: string; } function toDateInputValue(date: Date): string { const d = new Date(date); return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`; } export function LeadsBoard({ leads, columns }: { leads: LeadItem[]; columns: Column[] }) { return (
Пусто
}