diff --git a/frontend/pages/ImportData.tsx b/frontend/pages/ImportData.tsx index 530d57a..5581801 100644 --- a/frontend/pages/ImportData.tsx +++ b/frontend/pages/ImportData.tsx @@ -170,9 +170,9 @@ export const ImportData: React.FC = () => { headerIdx = i; rowStrings.forEach((h, idx) => { if (h === 'fot' || h.includes('contrato')) colMap['fot'] = idx; - else if (h === 'data' || h.includes('dt evento')) colMap['data'] = idx; - else if (h === 'evento' || h.includes('tp evento')) colMap['evento'] = idx; - else if (h === 'serviço' || h === 'servico' || h.includes('função') || h.includes('tp serv')) colMap['servico'] = idx; + else if (h === 'data' || h.includes('dt evento') || h.includes('data evento')) colMap['data'] = idx; + else if (h.includes('evento')) colMap['evento'] = idx; // Match 'Tipo Evento', 'Evento', etc. + else if (h === 'serviço' || h === 'servico' || h.includes('função') || h.includes('tp serv') || h.includes('tipo de serv') || h.includes('tipo serv')) colMap['servico'] = idx; else if (h === 'nome' || h === 'profissional') colMap['nome'] = idx; else if (h === 'whatsapp' || h === 'whats' || h === 'tel' || h === 'cel') colMap['whatsapp'] = idx; else if (h === 'cpf') colMap['cpf'] = idx;