dmencu 0.3.8 → 0.3.10

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.
@@ -867,7 +867,6 @@ function TextoDespliegue(props:{casillero:Texto, forPk:ForPk}){
867
867
  // var nuevaForPk={...forPk, formulario:idFormularioDestino};
868
868
  // nuevaForPk[nuevoCampoPk] = defBoton.num
869
869
  dispatch(dispatchers.CAMBIAR_FORMULARIO({forPk:defBoton.forPk, apilarVuelta:true}));
870
- dispatchByPass(accion_abrir_formulario,{forPk:defBoton.forPk})
871
870
  }
872
871
  return <DesplegarCasillero
873
872
  id={`${id}-externo`}
@@ -10,8 +10,8 @@ end;
10
10
  $BODY$;
11
11
 
12
12
  DROP trigger if exists actualizar_estado_tem_trg on base.tareas_tem;
13
- CREATE TRIGGER actualizar_estado_tem_trg
14
- AFTER INSERT OR UPDATE OF estado, tarea
13
+ CREATE TRIGGER actualizar_estado_tem_trg
14
+ AFTER UPDATE OF estado, tarea
15
15
  ON base.tareas_tem
16
16
  FOR EACH ROW
17
17
  EXECUTE FUNCTION base.actualizar_estado_tem_trg();
@@ -0,0 +1,30 @@
1
+ --set search_path=base;
2
+ --set role ut_owner;
3
+
4
+ -- Primer seteo con data de asignacion desde areas
5
+ -- TODO reveer si agregamos campos asociados a las tareas supe y recu a areas
6
+
7
+ --delete from tareas_areas;
8
+ /*
9
+ insert into tareas_areas(operativo, tarea, area, asignado, asignante, obs_asignante)
10
+ select *
11
+ from (
12
+ select a.operativo, t.tarea, area, case when tarea='encu' then encuestador else null end asignado, recepcionista, obs_recepcionista
13
+ from areas a ,(select t.operativo, t.tarea
14
+ from tareas t join parametros p on unico_registro and t.operativo=p.operativo
15
+ )t
16
+ where a.operativo= t.operativo and a.operativo='UT_2022'
17
+ ) n
18
+ --where not exists (select 1 from tareas_areas t where t.operativo= n.operativo and t.tarea=n.tarea and t.area=n.area)
19
+ order by 1,2,3;
20
+ */
21
+ --delete from tareas_tem;
22
+ insert into tareas_tem (operativo, enc, tarea, habilitada)
23
+ select ta.operativo, ta.enc, ta.tarea, case when ta.tarea='encu' then true else false end
24
+ from (select ta.*, t.enc,t.area from tareas ta, tem t where ta.operativo=t.operativo) ta
25
+ where ta.operativo= (select operativo from parametros where unico_registro)
26
+ and not (ta.operativo, ta.enc, ta.tarea) in (select operativo, enc, tarea from tareas_tem)
27
+ and ta.main_form is not null
28
+ order by 1,3,2;
29
+
30
+ update tem set tarea='encu';
@@ -0,0 +1,3 @@
1
+ operacion|nombre
2
+ cargar|cargar
3
+ descargar|cargar
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.8",
4
+ "version": "0.3.10",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "main": "dist/server/server/app-dmencu.js",