Commit Graph

221 Commits

Author SHA1 Message Date
norahmollo
77c696d712 BUG-14025 Ability to apply conditional show/hide when re-viewing 'participated cases'/dynaforms
When reviewing the Dynaform, all fields are being displayed and omiting any condition applied
2014-02-26 11:13:54 -04:00
norahmollo
b32bc093c2 BUG-14031 Add ProcessMaker fields attribute identifier in generated HTML
Some fields doesn't have pm:fieldtype attribute. Class xmlform modified, it has been added NSFieldType function for render fields.
2014-02-24 09:38:24 -04:00
norahmollo
537c7d0bf3 BUG-14031 Do not exist ProcessMaker fields attribute identifier in generated HTML
It has been added field attribute identifier "pm_fieldtype" and "pm_gridtype" in class xmlform for HTML file generated.
2014-02-18 15:10:00 -04:00
norahmollo
0a02f4931d BUG-14031 Do not exist ProcessMaker fields attribute identifier in generated HTML
It has been added field attribute identifier "pm_fieldtype" and "pm_gridType" in class xmlform for HTML file generated.
2014-02-18 10:40:10 -04:00
Roly Rudy Gutierrez Pinto
f6611de1a2 BUG-13860 IMPROVEMENT Se ha validado para que las fechas en blanco se mantengan en el modo vista. 2014-01-23 12:40:27 -04:00
Roly Rudy Gutierrez Pinto
0c55beb319 BUG-13860 SOLVED El formato de fechas en grillas no se refleja de acuerdo a la definición de mascara en la sección HOME / Inbox / {seleccionar un caso} / en el modo vista. 2014-01-22 11:27:11 -04:00
Roly Rudy Gutierrez Pinto
2b8c0a719d BUG-13626 IMPROVEMENT 2013-12-20 09:06:25 -04:00
julceslauhub
b01297f5f2 Merge pull request #2199 from gproly/BUG-13626
BUG-13626 SOLVED Los campos link en un DynaForm (Form o Grid), van agreg...
2013-12-12 10:09:02 -08:00
Julio Cesar Laura
f6f19aafc7 BUG 13637 and 13640 SOLVED
- Many incorrect operations to determine the scrollbar use for the frid in large forms
- Fix the incorrect operations, now the scrollbar and the form width is displayed correctly
2013-12-12 13:49:43 -04:00
Roly Rudy Gutierrez Pinto
cd08b4edad BUG-13626 SOLVED Los campos link en un DynaForm (Form o Grid), van agregando la URL del navegador cuando estos comienzan a ejecutar los pasos de un caso en formularios relacionados. 2013-12-12 10:04:28 -04:00
norahmollo
099fb3674e BUG-13576 Date Field Size
BUG-13576 Date Field Size
 # Please enter the commit message for your changes. Lines starting
2013-11-19 11:39:11 -04:00
Luis Fernando Saisa Lopez
96dc964ed9 BUG 13397 " Campo "File" en dynaform tipo grilla" SOLVED
- Campo "File" en dynaform tipo grilla.
- Problema:
  Al agregar un campo de tipo "File" en grillas como campo requerido, la validacion no se cumple.

- Solucion:
  El problema es el siguiente: al momento de validar el campo File en grillas, no se esta definiendo el atributo "pm:required"
  en el tag <input />, se adiciono el atributo con el metodo "NSRequiredValue()" definido en el mismo archivo
  "class.xmlform.php" y se adiciona en la clase "XmlForm_Field_File", el metodo que permite agregar el atributo "pm:required",
  con este atributo la validacion de campos requeridos en campos File en grillas funciona correctamente.
2013-11-05 10:55:44 -04:00
Luis Fernando Saisa Lopez
dd65bd3680 BUG 12115 "Impresion de Procesos" SOLVED
- Impresion de Procesos.
- Problema:

  Cuando se inicia un caso y se quiere imprimir el dynaform hacemos click en el icono "Print form", luego nos aparece
  una ventana donde se muestra lo que se va a imprimir, normalmente al iniciar un nuevo caso, nos nuestra la hoja de
  impresion vacia, ya que no se han guardado los datos en la Base de Datos, en otros casos muestra la hoja de impresion
  con datos.

  Cuando se inicia un caso y se llena datos en el dynaform y se hace click en el icono "Print form", los datos introducidos
  no se muestran en la hoja de impresion.

  Solucion:

  Se agrega un nuevo metodo el cual permite validar con un "Confirm", cuando se quiera imprimir un dynaform al hacer click
  en "Cancel" en la hoja de impresion se mostrara vacia tal cual se tenia inicialmente, al hacer click en "Accept" se guardara
  los datos y en la hoja de impresion aparecera los datos.

  Se agrego el siguiente metodo en el archivo "form.js":

  function dynaFormPrint(..., ..., .., .., ...)
  {
      ...
      if (dynaFormChanged(frm)) {
         ...
         new leimnud.module.app.confirm().make({
             label: _("ID_SAVE_DYNAFORM_INFORMATION_BEFORE_PRINTING"),

             action: function ()
             { ...
             },

             cancel: function()
             { ...
             }
         });
     }
  }
2013-11-04 12:29:50 -04:00
Luis Fernando Saisa Lopez
032b704fb9 BUG 12115 "Impresion de Procesos" SOLVED
- Impresion de Procesos.
- Problema:
  Cuando se inicia un caso y se quiere imprimir el dynaform hacemos click en el icono "Print form", luego nos aparece
  una ventana donde se muestra lo que se va a imprimir, normalmente al iniciar un nuevo caso, nos nuestra la hoja de
  impresion vacia, ya que no se han guardado los datos en la Base de Datos, en otros casos muestra la hoja de impresion
  con datos.

  Cuando se inicia un caso y se llena datos en el dynaform y se hace click en el icono "Print form", los datos introducidos
  no se muestran en la hoja de impresion.

  Solucion:
  Se agrega un nuevo metodo el cual permite validar con un "Confirm", cuando se quiera imprimir un dynaform al hacer click
  en "Cancel" en la hoja de impresion se mostrara vacia tal cual se tenia inicialmente, al hacer click en "Accept" se guardara
  los datos y en la hoja de impresion aparecera los datos.

  Se agrego el siguiente metodo en el archivo "form.js":

  function dynaFormPrint(..., ..., ...)
  { ...
    if (flagRequiredField == 1) {
        ...
        new leimnud.module.app.confirm().make({
            label: _("ID_DYNAFORM_SAVE_CHANGES"),

            action: function ()
            { ...
            },

            cancel: function()
            { ...
            }
        });
    }
  }
2013-10-29 14:04:25 -04:00
Luis Fernando Saisa Lopez
2ae6da9f10 BUG 12738 "SQL doesn't work in GRID - Text-Area..." SOLVED
- SQL doesn't work in GRID - Text-Area fields.
- Problema:
  Al crear una dependencia entre un Dropdown y Textarea en un grid, al añrlo a un Dynaform y ejecutar el caso,
  la dependiencia no funcionaba, al seleccionar una opcion del Dropdown en el textarea no se mostraba ningun valor,
  y al adicionar mas filas igual no funcionaba.

  Solucion:
  El problema es el siguiente: en la clase "class XmlForm_Field_Textarea" en su metodo "renderGrid" no estaba definido
  variables de importancia y seteo de las mismas, se completo las variables faltantes.

  Otro de los problemas que ocasionaba esta dificultad estaba en el archivo JavaScript en el metodo "updateDepententFields"
  se agrego una validacion cuando es un campo de tipo "textarea", esto porque no se podia utilizar el metodo "G_TextArea"
  que tambien le faltaba codigo, colocando este codigo faltante tampoco funcionaba.

  Al crear una dependencia entre un Dropdown y Textarea en un grid la añrlo a un Dynaform, y ejecutar el caso,
  dependiencia funciona correctamente.

  Se agrego el siguiente codigo en la clase "class XmlForm_Field_Textarea" en el metodo "renderGrid":
    ...
    $this->executeSQL($owner, $r);
    if (isset($this->sqlOption)) {
        $firstElement = key($this->sqlOption);
    }
    if (isset($firstElement)) {
        $v = $firstElement;
    }
    $arrayOptions[$r] = $v;
    ...
    $this->options = $arrayOptions;
    ...
  Disponible para la version 2.5.2
2013-10-24 17:00:32 -04:00
Luis Fernando Saisa Lopez
4170a6ded0 BUG 13323 "Suggest Requirement" SOLVED
- Nuevo requerimiento de funciones, nueva funcionalidad de filtrado para el campo "Suggest"
- Solucion:
  Se ha implementado un nuevo atributo para el campo "Suggest" en el formulario "Add Suggest"
  que consta de un Dropdown que nos permite seleccionar una opcion, la misma permite el filtrado
  de texto, de la siguiente manera:
      > Results that contain the entered text
      > Results that start with the entered text
      > Results that finish with the entered text
  Esta opciones estan seteadas en el atributo "Search Type" con sus correspondientes opciones.
  Disponible para la version 2.5.2
2013-10-18 09:06:21 -04:00
Luis Fernando Saisa Lopez
7b77b1a2cc BUG 11934 "Posicion del Label en objetos CheckBox..." SOLVED
- Posicion del Label en objetos CheckBox (ProcessMaker 2.5.0.1)
- Problema resuelto, al crear un campo de tipo CheckBox, al seleccionar la opcion "Label on the right side",
  se alineara el Label a la derecha y si no esta seleccionado, se alineara a la izquierda.
* Available from version ProcessMaker-2.5.2-testing.1
2013-08-28 16:43:24 -04:00
Hector Cortez
70ed906040 BUG 12738 SQL doesn't work in GRID - Text-Area fields SOLVED
- When trying to establish a field dependency in grid between a Text field and a Text-area field using an external SQL connection, text-area field remains empty.
- Adding query option in the xmlform on a textarea of a grid(validate).
2013-08-21 11:59:13 -04:00
Hector Cortez
765b0c5940 BUG 12738 SQL doesn't work in GRID - Text-Area fields SOLVED
- When trying to establish a field dependency in grid between a Text field and a Text-area field using an external SQL connection, text-area field remains empty.
- Adding query option in the xmlform on a textarea of a grid.
2013-08-21 11:01:42 -04:00
Hector Cortez
0116e2ac55 BUG 0000 Several problems in fields suggest in grids. SOLVED
- Al momento de crear o modificar un campo suggest en grids no mostraba la opción de campos dependientes.
  Cuando un campo suggest tenia campos dependientes agregaba un espacio en blanco al final de cada atributo dependentfields lo cual desplegaba un mensaje de error.
- Adjustments several in the Suggest on grids.
2013-08-12 15:19:18 -04:00
Julio Cesar Laura
2d75b9f8df BUG 12098 Notices cuando se envian fechas con mascara Fecha Static Dates SHM IMPROVEMENT 2013-06-10 15:02:23 -04:00
Julio Cesar Laura
edf6b8e2c7 BUG 12098 Notices cuando se envian fechas con mascara Fecha Static Dates SHM SOLVED
- Missing validations when the mask don't have "Y", "m" and "d" chars
- Add validation when the mask don't have "Y", "m" and "d" chars
2013-06-10 14:09:33 -04:00
Luis Fernando Saisa Lopez
cc63db5c3b BUG 11973 " Imagenes de calendario se desalinean luego de agregar..." SOLVED
- Imagenes de calendario se desalinean luego de agregar mas de una fila en grillas.
- Problema resuelto, el calendario se muestra correctamente al agregar filas en las grillas
* Available from version ProcessMaker-2.5.1-testing.2
2013-05-24 20:23:09 +00:00
Luis Fernando Saisa Lopez
715e2060a2 BUG 11928 " Ultimo digito de una fecha se muestra incompleto" SOLVED
- Ultimo digito de una fecha se muestra incompleto.
- Problema resuelto, se ha aumentado el tamaño del campo
2013-05-23 14:22:29 +00:00
Julio Cesar Laura
7adcb79eb5 BUG 11896 Nos muestra un error de 500 interval server, al tener un pr... IMPROVEMENT 2013-05-20 11:55:57 -04:00
Julio Cesar Laura
593b59c885 BUG 11896 Nos muestra un error de 500 interval server, al tener un proceso con campos date SOLVED
- function "strptime" not works on windows
- add an equivalent to function "strptime"
2013-05-16 19:44:02 -04:00
Julio Cesar Laura
e905a73b91 BUG 11865 Problema con los campos fecha SOLVED
- The dates was stored with mask
- Before save dates unmask the value
2013-05-14 16:10:01 -04:00
Luis Fernando Saisa Lopez
5282e9515e BUG 11421 "CheckGroups option ZERO always selected" SOLVED
- CheckGroups option ZERO always selected
- Problem solved, In Dynaform to the create CheckGroups is validated the value when is zero,
  additionally, is validates to Listbox and CheckGroup when are empty and zero.
* Available from version ProcessMaker-2.0.47 (2.5.1)
2013-05-06 14:58:41 +00:00
Luis Fernando Saisa Lopez
9a47b00fec BUG 11421 "CheckGroups option ZERO always selected" SOLVED
- CheckGroups option ZERO always selected
- Problem solved, In Dynaform to the create CheckGroups is validated the value when is zero
* Available from version ProcessMaker-2.0.47 (2.5.1)
2013-04-26 21:03:03 +00:00
marcelo
7672cb5467 BUG 11213 "Date fields are not in the same alignment on grids" SOLVED
-When you are building a gird, if you add a date field, its not shown in
the same alignment as the other fields.
-Solved, now date feilds are shown in the same alignment as the other
fields.
2013-04-19 12:43:11 -04:00
Victor Saisa Lopez
ad84ab69bc BUG 11141 "Javascript doesn't execute when you open a..." SOLVED
- Javascript doesn't execute when you open a dynaform fort the first time
- Solved problem, JavaScript execute when you open a dynaform in mode preview
* Available from version ProcessMaker-2.0.47 (2.5.1)
2013-04-04 11:28:09 -04:00
Victor Saisa Lopez
3cd724a9ed BUG 10920 "Add subtitles inside a drop-down" SOLVED
- New feature, add subtitles inside a drop-down
- Solved problem, added grouping elements in DropDowns
- If a DropDown has enabled optgroup, an example with SQL would be the following:
    (SELECT 'optgroup1' AS UID, 'Users' AS NAME)
    UNION
    (SELECT USR.USR_UID AS UID, USR.USR_USERNAME AS NAME
     FROM   USERS AS USR
     WHERE  USR.USR_USERNAME <> '' AND USR.USR_USERNAME LIKE 'u%'
    )
    UNION
    (SELECT 'optgroup2' AS UID, 'Countries' AS NAME)
    UNION
    (SELECT COUNTRY.IC_UID AS UID, COUNTRY.IC_NAME AS NAME
     FROM   ISO_COUNTRY AS COUNTRY
     WHERE  COUNTRY.IC_NAME LIKE 'b%'
    )
* Available from version ProcessMaker-2.0.47 (2.5.1)
2013-03-27 09:57:22 -04:00
Julio Cesar Laura
b5b728ffc7 BUG 10952: Background color de listbox en modo view only muy oscuro y/o color de letras debieran ser blancas SOLVED
- When a browser uses a addon/skin/theme overwrite the default styles
- Force to use neutral background and a specific color for the selected options
2013-03-11 11:05:45 -04:00
Julio Cesar Laura
f335dd56c1 Improvement in fix data for grids 2013-03-05 17:24:26 -04:00
Julio Cesar Laura
1d6c7fc6a5 BUG 10906 Campo Check box no funciona correctamente en version 2.0.46-testing.7 SOLVED
- Cuando el valor de una grilla no contiene los valores de una columna los checboxes no se muertan
- Los datos de una grilla son sanitizados antes de ser enviado al metodo renderGrid
2013-02-28 14:59:02 -04:00
Marco Antonio Nina
fe24c6ccbd BUG 10885 Checkgroup submit problem SOLVED
- Fields duplicated in form view types hidden and checkbox.
- Was delete de name in field checkbox in form view.
2013-02-25 17:09:29 -04:00
Marco Antonio Nina
40f3b9d934 BUG 10885 Checkgroup submit problem SOLVED
- Fields duplicated in form view types hidden and checkbox.
- Was delete de name in field checkbox in form view.
2013-02-25 15:27:30 -04:00
Julio Cesar Laura
f9022a7cf5 BUG 10808 Error assigning Porcess Permissions or Process Supervisor SOLVED
- Missing validation when "glob" function return a boolean value
- Add validation
2013-02-13 12:15:09 -04:00
Hector Cortez
ecf0315ac9 BUG 10253 Error al usar Dependent fields con Suggest field SOLVED
- Error al usar Dependent fields con Suggest field
- Adjustment in the reload dependent fields dropdown.
2013-02-05 15:52:05 -04:00
Victor Saisa Lopez
32e605137f BUG 0000 "Problem in dependent fields with suggest field in grids" SOLVED
- Problem in AGGREGATE field in grids
- Added AGGREGATE field in grids
* Available from version ProcessMaker-2.0.46
2013-02-01 16:49:40 -04:00
Julio Cesar Laura
c861260c67 Validating many warnings and notices 2013-01-31 10:41:53 -04:00
Hector Cortez
430be1dbe2 BUG 10589 No continua el caso a noser que se le diga Next SOLVED 2013-01-31 10:03:14 -04:00
Hector Cortez
a045b4db82 BUG 10589 No continua el caso a noser que se le diga Next SOLVED
- Cuando se hace correr un caso, se llenan los datos correspondientes y al darle click en el boton, enviar, guardar o segun este diseñado el formualrio este se queda ahi.... si queremos continuar debemos darle CLcik en Next Step para continuar.
- Adjustment submit button to Chrome & iExplorer browsers.
2013-01-30 18:28:41 -04:00
Victor Saisa Lopez
58d3b70fb4 BUG 0000 "Problem in dependent fields with suggest field in grids" SOLVED
- Problem in xmlform of grid type, when require fields of the main xmlform
- Solved problem, added fields of the main xmlform
* Available from version ProcessMaker-2.0.46
2013-01-29 13:04:30 -04:00
Hector Cortez
eb33688d88 BUG 9886 Duplicated cases when clicking various times in the submit ...SOLVED
- For some reason when you click various times in the submit button, it will create a duplicate case.
- Disabled Button after clicked.
2013-01-28 12:12:14 -04:00
Victor Saisa Lopez
f871d9fded BUG 0000 "Problem in dependent fields with suggest field in grids" SOLVED
- Problem in dependent fields with suggest field in grids
- Solved problem in dependent fields with suggest field in grids
- The QA team should test with (in grids):
    suggest  -> suggest  -> suggest
    suggest  -> dropdown -> suggest
    dropdown -> suggest  -> suggest
    dropdown -> suggest  -> dropdown
    text     -> suggest  -> suggest
    text     -> suggest  -> text
    * Browsers IE7, IE8, IE9, Firefox and Chrome
* Available from version ProcessMaker-2.0.46
2013-01-18 19:12:32 -04:00
Marco Antonio Nina
1db4bf5603 BUG 10363: Date fields prevent grids from working with mode="view" SOLVED
- Field required in form in modw view.
- was validation in field date in mode view.
2013-01-18 14:21:00 -04:00
Julio Cesar Laura
867a975c8c BUG 10343 Add a way to identify the ProcessMaker field type in the g... IMPROVEMENT 2013-01-16 15:36:15 -04:00
Hector Cortez
2b3be87abe BUG 10253 Error al usar Dependent fields con Suggest field SOLVED
- El proceso adjunto muestra el error.
- Several adjustments in suggest fields.
2013-01-15 11:42:56 -04:00
Victor Saisa Lopez
0240d938f4 BUG 6828 "Request that the address and label of link fields in..." SOLVED
- Added validation for renderGrid()
* Available from version ProcessMaker-2.0.46
2013-01-14 11:48:29 -04:00