import type { CallBatchDto } from "../types"; import { batchTicketCount, formatDateTime, formatVisitorName } from "../lib/format"; import { StatusBadge } from "./StatusBadge"; export function BatchCard({ batch, showContactDetails = false, }: { batch: CallBatchDto; showContactDetails?: boolean; }) { return (

本次叫号

{batchTicketCount(batch)} 个号码 {formatDateTime(batch.called_at)}

); }