fix/pedimento-consolidado-DOF

This commit is contained in:
2026-04-21 13:21:03 -06:00
parent 7d154ae06a
commit d0cd10de84
2 changed files with 48 additions and 19 deletions

View File

@@ -594,7 +594,12 @@
<!-- Tipo de Cambio -->
<div class="space-y-2">
<Label for="exchange_rate">Tipo de Cambio <span class="text-red-500">*</span></Label>
<Label for="exchange_rate">
Tipo de Cambio
{#if !(formData.pedimento_type === 'consolidated' && getEffectiveExchangeDate() > getCurrentLocalDate())}
<span class="text-red-500">*</span>
{/if}
</Label>
<Input
id="exchange_rate"
type="text"
@@ -608,6 +613,11 @@
Tipo de fecha para TC: {getEffectiveDateLabel() === 'fecha de pago'
? 'FECHA PAGO'
: 'FECHA ENTRADA'}
{#if formData.pedimento_type === 'consolidated' && getEffectiveExchangeDate() > getCurrentLocalDate()}
<span class="ml-1 block font-medium text-amber-600 dark:text-amber-400">
(Opcional por fecha futura en consolidado)
</span>
{/if}
</p>
</div>
</div>