diff --git a/src/components/patients/PatientForm.jsx b/src/components/patients/PatientForm.jsx index c894c84..0cd8892 100644 --- a/src/components/patients/PatientForm.jsx +++ b/src/components/patients/PatientForm.jsx @@ -31,7 +31,6 @@ function PatientForm({ onSave, onCancel, PatientDict }) { nomeMae: PatientDict.nome_mae, profissaoMae: PatientDict.profissao_mae, nomePai: PatientDict.nome_pai, - profissaoPai: PatientDict.profissao_pai, nomeResponsavel: '', cpfResponsavel: '', nomeConjuge: '', @@ -209,16 +208,16 @@ function PatientForm({ onSave, onCancel, PatientDict }) { return (
-

MedicoConnect

+

MedicoConnect

{/* DADOS PESSOAIS */} -
-
handleToggleCollapse('dadosPessoais')}> +
+

handleToggleCollapse('dadosPessoais')} style={{ fontSize: '1.8rem' }}> Dados Pessoais {collapsedSections.dadosPessoais ? '▲' : '▼'} -

+
{/* AVATAR E INPUT DE FOTO */} @@ -228,19 +227,19 @@ function PatientForm({ onSave, onCancel, PatientDict }) { Avatar do Paciente ) : (
@@ -249,7 +248,7 @@ function PatientForm({ onSave, onCancel, PatientDict }) { )}
- + - {formData.foto && {formData.foto.name}} + {formData.foto && {formData.foto.name}}
{/* CADASTRO */}
- - + +
- - + +
- - + +
- - @@ -284,28 +283,28 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
- - + +
- - + +
- -
- - + +
- - @@ -315,20 +314,20 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
- - + +
- - + +
- - + +
- - @@ -337,41 +336,41 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- -
@@ -381,18 +380,18 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
{/* INFORMAÇÕES MÉDICAS */} -
-
handleToggleCollapse('infoMedicas')}> +
+

handleToggleCollapse('infoMedicas')} style={{ fontSize: '1.8rem' }}> Informações Médicas {collapsedSections.infoMedicas ? '▲' : '▼'} -

+
- - @@ -405,38 +404,38 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
- - + +
- - + +
- - + +
- - + +
{/* INFORMAÇÕES DE CONVÊNIO */} -
-
handleToggleCollapse('infoConvenio')}> +
+

handleToggleCollapse('infoConvenio')} style={{ fontSize: '1.8rem' }}> Informações de convênio {collapsedSections.infoConvenio ? '▲' : '▼'} -

+
- - @@ -445,21 +444,21 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
- - + +
- - + +
- - + +
- -
@@ -467,8 +466,8 @@ function PatientForm({ onSave, onCancel, PatientDict }) { {/* PACIENTE VIP */}
- -
@@ -478,120 +477,120 @@ function PatientForm({ onSave, onCancel, PatientDict }) {
{/* ENDEREÇO */} -
-
handleToggleCollapse('endereco')}> +
+

handleToggleCollapse('endereco')} style={{ fontSize: '1.8rem' }}> Endereço {collapsedSections.endereco ? '▲' : '▼'} -

+
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
{/* CONTATO */} -
-
handleToggleCollapse('contato')}> +
+

handleToggleCollapse('contato')} style={{ fontSize: '1.8rem' }}> Contato {collapsedSections.contato ? '▲' : '▼'} -

+
- - + +
- - + +
- - + +
- - + +
{/* INFORMAÇÕES ADICIONAIS */} -
{/* Aumentado para mb-5 para mais separação */} -
handleToggleCollapse('infoAdicionais')}> +
+

handleToggleCollapse('infoAdicionais')} style={{ fontSize: '1.8rem' }}> Informações Adicionais {collapsedSections.infoAdicionais ? '▲' : '▼'} -

+
- - + +
{/* ANEXOS DO PACIENTE */} -
{/* Aumentado para mb-5 para mais separação */} -
handleToggleCollapse('anexos')}> +
+

handleToggleCollapse('anexos')} style={{ fontSize: '1.8rem' }}> Anexos do Paciente {collapsedSections.anexos ? '▲' : '▼'} -

+
- + - {formData.anexos ? formData.anexos.name : 'Nenhum arquivo escolhido'} + {formData.anexos ? formData.anexos.name : 'Nenhum arquivo escolhido'}
{/* Botões */} -
- -