diff --git a/susconecta/app/(main-routes)/financeiro/page.tsx b/susconecta/app/(main-routes)/financeiro/page.tsx deleted file mode 100644 index 190305a..0000000 --- a/susconecta/app/(main-routes)/financeiro/page.tsx +++ /dev/null @@ -1,147 +0,0 @@ -"use client"; - -import { useRouter } from "next/navigation"; -import { useState } from "react"; -import { Input } from "@/components/ui/input"; -import { Label } from "@/components/ui/label"; -import { Calculator, DollarSign } from "lucide-react"; -import HeaderAgenda from "@/components/features/agenda/HeaderAgenda"; -import FooterAgenda from "@/components/features/agenda/FooterAgenda"; - -export default function FinanceiroPage() { - const router = useRouter(); - const [formaTipo, setFormaTipo] = useState(""); - - const handleSave = () => { - // Lógica de salvar será implementada - console.log("Salvando informações financeiras..."); - }; - - const handleCancel = () => { - router.push("/calendar"); - }; - - return ( -
- - - {/* CORPO */} -
- {/* INFORMAÇÕES FINANCEIRAS */} -
- {/* Selo Financeiro */} -
- - - - Informações Financeiras -
- - {/* Traço separador */} -
- - {/* VALOR DO ATENDIMENTO */} -
- -
-
- -
- - -
-
-
- -
- - -
-
-
-
- - {/* Traço separador */} -
- - {/* FORMA DE PAGAMENTO */} -
- -
-
- - -
-
- - -
-
- -
- - -
-
-
-
- - {/* Traço separador */} -
- - {/* RESUMO FINANCEIRO */} -
- -
-
- Subtotal: - R$ 0,00 -
-
- Desconto: - - R$ 0,00 -
-
-
- Total: - R$ 0,00 -
-
-
-
-
-
- - {/* RODAPÉ FIXO */} - -
- ); -} diff --git a/susconecta/app/(main-routes)/procedimento/page.tsx b/susconecta/app/(main-routes)/procedimento/page.tsx deleted file mode 100644 index 7edd710..0000000 --- a/susconecta/app/(main-routes)/procedimento/page.tsx +++ /dev/null @@ -1,83 +0,0 @@ -"use client"; - -import { useRouter } from "next/navigation"; -import { useState } from "react"; -import { Button } from "@/components/ui/button"; -import { Input } from "@/components/ui/input"; -import { Label } from "@/components/ui/label"; -import { Search, ChevronDown } from "lucide-react"; -import { Plus } from "lucide-react"; -import HeaderAgenda from "@/components/features/agenda/HeaderAgenda"; -import FooterAgenda from "@/components/features/agenda/FooterAgenda"; - -export default function ProcedimentoPage() { - const router = useRouter(); - - const handleSave = () => { - // Lógica de salvar será implementada - console.log("Salvando procedimentos..."); - }; - - const handleCancel = () => { - router.push("/calendar"); - }; - - return ( -
- - - {/* CORPO */} -
- {/* ATENDIMENTOS */} -
- {/* Selo Atendimento com + dentro da bolinha */} -
- - - - Atendimento -
- - {/* Traço separador */} -
- - {/* PROCEDIMENTOS */} -
- -
- - - -
-
- - {/* Traço separador */} -
- - {/* OUTRAS DESPESAS */} -
- -
- - - -
-
-
-
- - {/* RODAPÉ FIXO */} - -
- ); -} diff --git a/susconecta/components/features/agenda/HeaderAgenda.tsx b/susconecta/components/features/agenda/HeaderAgenda.tsx index 928976d..59f6b08 100644 --- a/susconecta/components/features/agenda/HeaderAgenda.tsx +++ b/susconecta/components/features/agenda/HeaderAgenda.tsx @@ -1,72 +1,29 @@ "use client"; -import { RotateCcw } from "lucide-react"; import Link from "next/link"; -import { usePathname, useRouter } from "next/navigation"; +import { usePathname } from "next/navigation"; export default function HeaderAgenda() { const pathname = usePathname(); - const router = useRouter(); - const isAg = pathname?.startsWith("/agenda"); - const isPr = pathname?.startsWith("/procedimento"); - const isFi = pathname?.startsWith("/financeiro"); return (

Novo Agendamento

- -
- - - -
+ Agendamento + +
); diff --git a/susconecta/components/features/general/event-manager.tsx b/susconecta/components/features/general/event-manager.tsx index e974ca9..50c9367 100644 --- a/susconecta/components/features/general/event-manager.tsx +++ b/susconecta/components/features/general/event-manager.tsx @@ -517,9 +517,9 @@ export function EventManager({ - {isCreating ? "Criar Evento" : "Detalhes do Evento"} + {isCreating ? "Criar Evento" : "Detalhes do Agendamento"} - {isCreating ? "Adicione um novo evento ao seu calendário" : "Visualizar e editar detalhes do evento"} + {isCreating ? "Adicione um novo evento ao seu calendário" : "Visualizar e editar detalhes do agendamento"}