dmencu 0.3.19 → 0.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,7 +19,7 @@ begin
|
|
|
19
19
|
from estados
|
|
20
20
|
where operativo = new.operativo and estado = new.estado;
|
|
21
21
|
if v_habilitada then
|
|
22
|
-
if
|
|
22
|
+
if old.asignado <> new.asignado and not v_permite_asignar then
|
|
23
23
|
raise exception 'Error: no es posible asignar en la encuesta % del operativo % ya que su estado no lo permite', new.enc, new.operativo;
|
|
24
24
|
end if;
|
|
25
25
|
if not (new.tarea = v_tarea_actual or old.asignado <> new.asignado and new.tarea = v_tarea_proxima) then
|
package/package.json
CHANGED