diff --git a/app/(private)/AgregarTiempo/Addtime.tsx b/app/(private)/AgregarTiempo/Addtime.tsx
index b01420c..7d064c2 100644
--- a/app/(private)/AgregarTiempo/Addtime.tsx
+++ b/app/(private)/AgregarTiempo/Addtime.tsx
@@ -94,7 +94,7 @@ export default function AddTime({
Swal.fire({
title: "Tiempo Guardado!",
icon: "success",
- draggable: true
+ draggable: true,
});
setFolio("");
@@ -149,6 +149,11 @@ export default function AddTime({
if (lock && numericValue > 1000) {
toast.error("El monto no puede superar $1000.00");
+ Swal.fire({
+ title: "El monto no puede superar $1000.00 Desbloquea el candado !",
+ icon: "error",
+ draggable: true,
+ });
return;
}
@@ -171,25 +176,25 @@ export default function AddTime({
/>
-
+
-
);
}
-//IO
\ No newline at end of file
+//IO
diff --git a/app/Components/AsignacionMesas.tsx b/app/Components/AsignacionMesas.tsx
index 29ee958..f18f214 100644
--- a/app/Components/AsignacionMesas.tsx
+++ b/app/Components/AsignacionMesas.tsx
@@ -32,17 +32,16 @@ export default function AsignacionMesas({ idCuenta, inscripcion }: Props) {
setBitacora([]);
if (!result?.error) toast.error("Ya cuentas con un equipo asignado");
Swal.fire({
- title: "Ya cuentas con un equipo asignado!",
- icon: "error",
- draggable: true
-});
+ title: "Ya cuentas con un equipo asignado!",
+ icon: "error",
+ draggable: true,
+ });
if (!resultMesa?.error) toast.error("Ya cuentas con una mesa asignada");
- Swal.fire({
- title: "Ya cuentas con mesa asignada!",
- icon: "error",
- draggable: true
-});
-
+ Swal.fire({
+ title: "Ya cuentas con mesa asignada!",
+ icon: "error",
+ draggable: true,
+ });
}
};
@@ -130,9 +129,8 @@ export default function AsignacionMesas({ idCuenta, inscripcion }: Props) {
Swal.fire({
title: "Mesa asignada correctamente!",
icon: "success",
- draggable: true
+ draggable: true,
});
-
} catch (error) {
toast.error("No se pudo asignar la mesa");
}
@@ -186,7 +184,6 @@ export default function AsignacionMesas({ idCuenta, inscripcion }: Props) {
>
Asignar Mesa
-
);
diff --git a/app/Components/Receipt/Inscripcion.tsx b/app/Components/Receipt/Inscripcion.tsx
index 902b5b1..d591927 100644
--- a/app/Components/Receipt/Inscripcion.tsx
+++ b/app/Components/Receipt/Inscripcion.tsx
@@ -142,7 +142,7 @@ export default function Inscripcion({
Swal.fire({
title: "Alumno inscrito sin pago!",
icon: "success",
- draggable: true
+ draggable: true,
});
router.refresh();
} catch (err: any) {
@@ -207,6 +207,12 @@ export default function Inscripcion({
if (lock && numericValue > 1000) {
toast.error("El monto no puede superar $1000.00");
+ Swal.fire({
+ title:
+ "El monto no puede superar $1000.00 Desbloquea el candado !",
+ icon: "error",
+ draggable: true,
+ });
return;
}
@@ -229,16 +235,16 @@ export default function Inscripcion({
/>
-
-
+
@@ -246,7 +252,6 @@ export default function Inscripcion({
)}
{conPago === "sin" && (
-