feat: previas con sitema de reservas refs #6861
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Andrés 2024-06-11 12:49:33 +02:00
parent ed7218c133
commit d75e008a23
1 changed files with 8 additions and 8 deletions

View File

@ -76,14 +76,14 @@ BEGIN
IF vHasThrow THEN
CALL util.throw("No hay disponibilidad para el artículo seleccionado");
ELSE
IF vSaleGroupFk THEN
INSERT INTO saleGroupDetail
SET saleFk = vSaleFk,
saleGroupFk = vSaleGroupFk;
END IF;
COMMIT;
END IF;
IF vSaleGroupFk THEN
INSERT INTO saleGroupDetail
SET saleFk = vSaleFk,
saleGroupFk = vSaleGroupFk;
END IF;
COMMIT;
END$$
DELIMITER ;