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 f85eec38..babfe641 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 @@ -1,287 +1,327 @@ - - - - -
- - {#if isMissingRateContext} -
-
- -
-
-

- {title} -

-

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

-
-
- {:else} - - - - {title} - - - {/if} + + -
{ e.preventDefault(); handleSubmit(); }} class="p-6 pt-4 space-y-6"> - {#if error} -
- - {error} -
- {/if} + +
+ {#if isMissingRateContext} +
+
+ +
+
+

+ {title} +

+

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

+
+
+ {:else} + + + + {title} + + + {/if} -
-
- -
- - {#if isMissingRateContext} -
- Requerida -
- {/if} -
-
+ { + e.preventDefault(); + handleSubmit(); + }} + class="space-y-6 p-6 pt-4" + > + {#if error} +
+ + {error} +
+ {/if} -
-
- - -
-
-
$
- -
-

- Ej. 24.1234 -

-
-
+
+
+ +
+ + {#if isMissingRateContext} +
+ Requerida +
+ {/if} +
+
- - - - - - - -
- - +
+
+ + +
+
+
+ $ +
+ +
+

Ej. 24.1234

+
+
+ + + + + + + + +
+
+
- - - ¿Estás seguro? - - Se {isEdit ? 'actualizará' : 'creará'} el tipo de cambio con valor {formData.value} para el día {formData.date}. - - - - showConfirmation = false}>Cancelar - Confirmar - - - \ No newline at end of file + + + ¿Estás seguro? + + Se {isEdit ? 'actualizará' : 'creará'} el tipo de cambio con valor {formData.value} para el día + {formData.date}. + + + + (showConfirmation = false)}>Cancelar + Confirmar + + + diff --git a/frontend/src/lib/components/dashboard/exchange_rate/exchange-rate-guard.svelte b/frontend/src/lib/components/dashboard/exchange_rate/exchange-rate-guard.svelte index 4f703c02..c2c1796d 100644 --- a/frontend/src/lib/components/dashboard/exchange_rate/exchange-rate-guard.svelte +++ b/frontend/src/lib/components/dashboard/exchange_rate/exchange-rate-guard.svelte @@ -1,10 +1,16 @@ - + diff --git a/frontend/src/lib/components/dashboard/invoices/edit/general-tab-form.svelte b/frontend/src/lib/components/dashboard/invoices/edit/general-tab-form.svelte index f9c18642..1166b59a 100644 --- a/frontend/src/lib/components/dashboard/invoices/edit/general-tab-form.svelte +++ b/frontend/src/lib/components/dashboard/invoices/edit/general-tab-form.svelte @@ -1,4 +1,4 @@ -