diff --git a/frontend/src/lib/components/dashboard/exchange_rate/create-edit-dialog.svelte b/frontend/src/lib/components/dashboard/exchange_rate/create-edit-dialog.svelte index 7873c5e5..ded462ce 100644 --- a/frontend/src/lib/components/dashboard/exchange_rate/create-edit-dialog.svelte +++ b/frontend/src/lib/components/dashboard/exchange_rate/create-edit-dialog.svelte @@ -22,7 +22,6 @@ } from 'lucide-svelte'; import { fly, scale } from 'svelte/transition'; import { cubicOut } from 'svelte/easing'; - import { obtenerAtajosFormularioTiposCambio } from '$lib/config/shortcuts/dashboard/general_catalogs/exchange_rate/edit'; let { open = $bindable(false), @@ -38,8 +37,6 @@ initialDate?: string; } = $props(); - // Atajos - const isEdit = $derived(!!item); const isMissingRateContext = $derived(!isEdit && initialDate); const title = $derived( @@ -169,25 +166,25 @@
{#if isMissingRateContext}
-

+

{title}

-

+

Para continuar con el guardado, es necesario registrar el tipo de cambio oficial para esta fecha.

@@ -207,11 +204,11 @@ e.preventDefault(); handleSubmit(); }} - class="p-6 pt-4 space-y-6" + class="space-y-6 p-6 pt-4" > {#if error}
@@ -221,7 +218,7 @@
-
@@ -231,11 +228,11 @@ bind:value={formData.date} disabled={loading} required - class="pl-3 h-11 text-base bg-muted/30 focus:bg-background transition-colors" + class="h-11 bg-muted/30 pl-3 text-base transition-colors focus:bg-background" /> {#if isMissingRateContext}
Requerida
@@ -245,27 +242,27 @@
-
-
+
$
@@ -277,11 +274,11 @@ disabled={loading} required placeholder="0.0000" - class="pl-7 h-11 text-lg font-mono tracking-wide focus:ring-2 ring-primary/20 transition-all group-hover:border-primary/50" + class="h-11 pl-7 font-mono text-lg tracking-wide ring-primary/20 transition-all group-hover:border-primary/50 focus:ring-2" autofocus />
-

Ej. 24.1234

+

Ej. 24.1234

@@ -299,9 +296,9 @@ > Cancelar -