fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -538,15 +538,38 @@ export default function Services(p: Props) {
|
||||
opportunities={p.opportunities}
|
||||
/>
|
||||
)}
|
||||
{p.section === 'documents' && <section aria-label="Preencher formulários fiscais" className="space-y-3 rounded-xl border bg-white p-5">
|
||||
<h2 className="text-xl font-bold">Que formulário pretende preencher?</h2>
|
||||
<p>Abra os campos do formulário fiscal. A legislação e os guias de consulta ficam abaixo.</p>
|
||||
<div className="flex flex-wrap gap-3">
|
||||
<Link className={button} href="/formularios/fiscais?imposto=iva">Preencher IVA — Modelo A</Link>
|
||||
<Link className={button} href="/formularios/fiscais?imposto=irpc">Preparar IRPC — Modelo 22</Link>
|
||||
</div>
|
||||
<p className="text-sm">Preparação manual, com gravação em ficheiro. Cobertura parcial de IRPC; sem submissão à AT.</p>
|
||||
</section>}
|
||||
{p.section === 'documents' && (
|
||||
<section
|
||||
aria-label="Preencher formulários fiscais"
|
||||
className="space-y-3 rounded-xl border bg-white p-5"
|
||||
>
|
||||
<h2 className="text-xl font-bold">
|
||||
Que formulário pretende preencher?
|
||||
</h2>
|
||||
<p>
|
||||
Abra os campos do formulário fiscal. A legislação e
|
||||
os guias de consulta ficam abaixo.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-3">
|
||||
<Link
|
||||
className={button}
|
||||
href="/formularios/fiscais?imposto=iva"
|
||||
>
|
||||
Preencher IVA — Modelo A
|
||||
</Link>
|
||||
<Link
|
||||
className={button}
|
||||
href="/formularios/fiscais?imposto=irpc"
|
||||
>
|
||||
Preparar IRPC — Modelo 22
|
||||
</Link>
|
||||
</div>
|
||||
<p className="text-sm">
|
||||
Preparação manual, com gravação em ficheiro.
|
||||
Cobertura parcial de IRPC; sem submissão à AT.
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
{['procedures', 'documents', 'legislation'].includes(
|
||||
p.section,
|
||||
) && <JourneyDocumentResources stages={p.stages} />}
|
||||
@@ -589,7 +612,9 @@ export default function Services(p: Props) {
|
||||
>
|
||||
<option value="">Todos</option>
|
||||
{p.topics?.map((topic) => (
|
||||
<option key={topic} value={topic}>{documentFacetLabel(topic)}</option>
|
||||
<option key={topic} value={topic}>
|
||||
{documentFacetLabel(topic)}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
</label>
|
||||
@@ -616,7 +641,9 @@ export default function Services(p: Props) {
|
||||
value={category}
|
||||
>
|
||||
{documentTypeLabels[category] ??
|
||||
documentFacetLabel(category)}
|
||||
documentFacetLabel(
|
||||
category,
|
||||
)}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
@@ -819,7 +846,10 @@ export default function Services(p: Props) {
|
||||
>
|
||||
<option value="">Todos</option>
|
||||
{p.languages?.map((language) => (
|
||||
<option key={language} value={language}>
|
||||
<option
|
||||
key={language}
|
||||
value={language}
|
||||
>
|
||||
{documentFacetLabel(language)}
|
||||
</option>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user