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 not (old.asignado <> new.asignado and v_permite_asignar) then
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dmencu",
3
3
  "description": "DM Encu - Encuestas en dispositivo móvil",
4
- "version": "0.3.19",
4
+ "version": "0.3.20",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "main": "dist/server/server/app-dmencu.js",