fixed select in active and the lock now can register ticket 1 month later
This commit is contained in:
@@ -119,7 +119,7 @@ export default function CheckBoxMesa({ numAcount, table }: props) {
|
||||
|
||||
await axios.patch(
|
||||
`${envConfig.apiUrl}/bitacora-mesa/cancelar/${bitacora.id_bitacora_mesa}`,
|
||||
{ tiempo_asignado: minutos?? 0 },
|
||||
{ tiempo_asignado: minutos ?? 0 },
|
||||
{ headers }
|
||||
);
|
||||
|
||||
@@ -137,6 +137,8 @@ export default function CheckBoxMesa({ numAcount, table }: props) {
|
||||
}
|
||||
|
||||
router.refresh();
|
||||
setBitacoraMesa(null);
|
||||
setBitacoraCuenta(null);
|
||||
} catch (error) {
|
||||
Swal.fire({
|
||||
title: "Error al cancelar tiempo",
|
||||
|
||||
Reference in New Issue
Block a user