Implementa regras de investimento por empresa com dupla aprovacao
This commit is contained in:
@@ -63,6 +63,29 @@ export default function OrderShow({
|
||||
' Regras de aprovação provisórias.'}
|
||||
</div>
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
{snapshot.investment_rules && (
|
||||
<Panel title="Regra de investimento congelada">
|
||||
<p>
|
||||
Versão {snapshot.investment_rules.revision} ·
|
||||
Tecto{' '}
|
||||
{money(snapshot.investment_rules.ceiling_minor)}{' '}
|
||||
·{' '}
|
||||
{snapshot.investment_rules.includes_tax
|
||||
? 'com IVA'
|
||||
: 'sem IVA'}
|
||||
</p>
|
||||
<p>
|
||||
Vigência: {snapshot.investment_rules.valid_from}{' '}
|
||||
a {snapshot.investment_rules.valid_until}
|
||||
</p>
|
||||
{snapshot.equipment_requests?.map((line) => (
|
||||
<p key={line.id} className="mt-2">
|
||||
{line.description} · Área:{' '}
|
||||
{line.production_area}
|
||||
</p>
|
||||
))}
|
||||
</Panel>
|
||||
)}
|
||||
<Panel title="Fornecedor">
|
||||
<dl className="space-y-3 text-sm">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user