parroquia 1.1.26 → 1.1.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parroquia/sacramentos/actualizar_bautismo.rb +19 -19
- data/lib/parroquia/sacramentos/actualizar_certificado_prebautismal.rb +58 -31
- data/lib/parroquia/sacramentos/actualizar_comunion.rb +16 -22
- data/lib/parroquia/sacramentos/actualizar_confirmacion.rb +8 -8
- data/lib/parroquia/sacramentos/actualizar_licencia_matrimonio.rb +16 -30
- data/lib/parroquia/sacramentos/actualizar_matrimonio.rb +17 -17
- data/lib/parroquia/sacramentos/actualizar_misa.rb +7 -7
- data/lib/parroquia/sacramentos/actualizar_permiso_prebautismal.rb +62 -36
- data/lib/parroquia/sacramentos/actualizar_permiso_prematrimonial.rb +27 -27
- data/lib/parroquia/sacramentos/actualizar_supletoria.rb +19 -19
- data/lib/parroquia/sacramentos/certificado_prebautismal.rb +45 -22
- data/lib/parroquia/sacramentos/licencia_matrimonio.rb +26 -38
- data/lib/parroquia/sacramentos/permiso_bautismo.rb +55 -28
- data/lib/parroquia/sacramentos/permiso_prematrimonial.rb +21 -22
- data/lib/parroquia/sacramentos/resultados.rb +83 -80
- metadata +2 -2
@@ -29,18 +29,18 @@ class ActualizarMatrimonio < FXMainWindow
|
|
29
29
|
@lbl_tomo.backColor = FXRGB(3, 187, 133)
|
30
30
|
# EL input tomoo debe tener el valor del campo "tomo" del registro
|
31
31
|
@input_tomo = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 110, y: 100)
|
32
|
-
@input_tomo.text = registro[
|
32
|
+
@input_tomo.text = registro[19]
|
33
33
|
|
34
34
|
@lbl_page = FXLabel.new(self, 'Pagina', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 170, y: 100)
|
35
35
|
@lbl_page.backColor = FXRGB(3, 187, 133)
|
36
36
|
@input_page = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 230, y: 100)
|
37
|
-
@input_page.text = registro[
|
37
|
+
@input_page.text = registro[20]
|
38
38
|
@lbl_number = FXLabel.new(self, 'Numero', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 290,
|
39
39
|
y: 100)
|
40
40
|
@lbl_number.backColor = FXRGB(3, 187, 133)
|
41
41
|
@input_number = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 350,
|
42
42
|
y: 100)
|
43
|
-
@input_number.text = registro[
|
43
|
+
@input_number.text = registro[21]
|
44
44
|
# section datos
|
45
45
|
@lbl_fecha = FXLabel.new(self, 'Fecha de matrimonio (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 250,
|
46
46
|
height: 20, x: 10, y: 150)
|
@@ -60,19 +60,19 @@ class ActualizarMatrimonio < FXMainWindow
|
|
60
60
|
@lbl_parroquia.backColor = FXRGB(3, 187, 133)
|
61
61
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
62
62
|
y: 180)
|
63
|
-
@input_parroquia.text = @registro[
|
63
|
+
@input_parroquia.text = @registro[29]
|
64
64
|
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
65
65
|
y: 180)
|
66
66
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
67
67
|
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
68
68
|
y: 180)
|
69
|
-
@input_sector.text = @registro[
|
69
|
+
@input_sector.text = @registro[30]
|
70
70
|
@lbl_parroco = FXLabel.new(self, 'Parroco: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 680,
|
71
71
|
y: 180)
|
72
72
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
73
73
|
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
74
74
|
y: 180)
|
75
|
-
@input_parroco.text = @registro[
|
75
|
+
@input_parroco.text = @registro[31]
|
76
76
|
@lbl_celebrante = FXLabel.new(self, 'Celebrante: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
77
77
|
x: 10, y: 210)
|
78
78
|
@lbl_celebrante.backColor = FXRGB(3, 187, 133)
|
@@ -84,19 +84,19 @@ class ActualizarMatrimonio < FXMainWindow
|
|
84
84
|
@lbl_name_novio.backColor = FXRGB(3, 187, 133)
|
85
85
|
@input_name_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
86
86
|
y: 240)
|
87
|
-
@input_name_novio.text = @registro[
|
87
|
+
@input_name_novio.text = @registro[23]
|
88
88
|
@lbl_apellido_novio = FXLabel.new(self, 'Apellidos del novio: ', opts: LAYOUT_EXPLICIT, width: 150,
|
89
89
|
height: 20, x: 340, y: 240)
|
90
90
|
@lbl_apellido_novio.backColor = FXRGB(3, 187, 133)
|
91
91
|
@input_apellido_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
92
92
|
y: 240)
|
93
|
-
@input_apellido_novio.text = @registro[
|
93
|
+
@input_apellido_novio.text = @registro[24]
|
94
94
|
@lbl_cedula_novio = FXLabel.new(self, 'Cédula del novio: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
95
95
|
x: 680, y: 240)
|
96
96
|
@lbl_cedula_novio.backColor = FXRGB(3, 187, 133)
|
97
97
|
@input_cedula_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
98
98
|
y: 240)
|
99
|
-
@input_cedula_novio.text = @registro[
|
99
|
+
@input_cedula_novio.text = @registro[27]
|
100
100
|
@lbl_name_novia = FXLabel.new(self, 'Nombres de la novia: ', opts: LAYOUT_EXPLICIT, width: 150,
|
101
101
|
height: 20, x: 10, y: 270)
|
102
102
|
@lbl_name_novia.backColor = FXRGB(3, 187, 133)
|
@@ -142,49 +142,49 @@ class ActualizarMatrimonio < FXMainWindow
|
|
142
142
|
@lbl_provincia_rc.backColor = FXRGB(3, 187, 133)
|
143
143
|
@input_provincia_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
144
144
|
y: 360)
|
145
|
-
@input_provincia_rc.text = @registro[
|
145
|
+
@input_provincia_rc.text = @registro[33]
|
146
146
|
@lbl_canton_rc = FXLabel.new(self, 'Cantón: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
147
147
|
y: 360)
|
148
148
|
@lbl_canton_rc.backColor = FXRGB(3, 187, 133)
|
149
149
|
@input_canton_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
150
150
|
y: 360)
|
151
|
-
@input_canton_rc.text = @registro[
|
151
|
+
@input_canton_rc.text = @registro[34]
|
152
152
|
@lbl_parroquia_rc = FXLabel.new(self, 'Parroquia: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
153
153
|
x: 680, y: 360)
|
154
154
|
@lbl_parroquia_rc.backColor = FXRGB(3, 187, 133)
|
155
155
|
@input_parroquia_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
156
156
|
y: 360)
|
157
|
-
@input_parroquia_rc.text = @registro[
|
157
|
+
@input_parroquia_rc.text = @registro[35]
|
158
158
|
@lbl_anio_rc = FXLabel.new(self, 'Año: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 50,
|
159
159
|
y: 390)
|
160
160
|
@lbl_anio_rc.backColor = FXRGB(3, 187, 133)
|
161
161
|
@input_anio_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 110,
|
162
162
|
y: 390)
|
163
|
-
@input_anio_rc.text = @registro[
|
163
|
+
@input_anio_rc.text = @registro[36]
|
164
164
|
@lbl_tomo_rc = FXLabel.new(self, 'Tomo: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 170,
|
165
165
|
y: 390)
|
166
166
|
@lbl_tomo_rc.backColor = FXRGB(3, 187, 133)
|
167
167
|
@input_tomo_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 230,
|
168
168
|
y: 390)
|
169
|
-
@input_tomo_rc.text = @registro[
|
169
|
+
@input_tomo_rc.text = @registro[37]
|
170
170
|
@lbl_pag_rc = FXLabel.new(self, 'Página: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 290,
|
171
171
|
y: 390)
|
172
172
|
@lbl_pag_rc.backColor = FXRGB(3, 187, 133)
|
173
173
|
@input_pag_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 350,
|
174
174
|
y: 390)
|
175
|
-
@input_pag_rc.text = @registro[
|
175
|
+
@input_pag_rc.text = @registro[38]
|
176
176
|
@lbl_acta_rc = FXLabel.new(self, 'Acta: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 410,
|
177
177
|
y: 390)
|
178
178
|
@lbl_acta_rc.backColor = FXRGB(3, 187, 133)
|
179
179
|
@input_acta_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 470,
|
180
180
|
y: 390)
|
181
|
-
@input_acta_rc.text = @registro[
|
181
|
+
@input_acta_rc.text = @registro[39]
|
182
182
|
@lbl_date_rc = FXLabel.new(self, 'Fecha (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
183
183
|
x: 10, y: 420)
|
184
184
|
@lbl_date_rc.backColor = FXRGB(3, 187, 133)
|
185
185
|
@input_date_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
186
186
|
y: 420)
|
187
|
-
@input_date_rc.text = @registro[
|
187
|
+
@input_date_rc.text = @registro[40]
|
188
188
|
|
189
189
|
# create buttons
|
190
190
|
@btnupdate = FXButton.new(self, 'Actualizar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
@@ -38,37 +38,37 @@ class ActualizarMisa < FXMainWindow
|
|
38
38
|
@lbl_parroquia.backColor = FXRGB(3, 187, 133)
|
39
39
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
40
40
|
y: 180)
|
41
|
-
@input_parroquia.text = @registro[
|
41
|
+
@input_parroquia.text = @registro[29]
|
42
42
|
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 330,
|
43
43
|
y: 180)
|
44
44
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
45
45
|
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 490,
|
46
46
|
y: 180)
|
47
|
-
@input_sector.text = @registro[
|
48
|
-
@lbl_parroco = FXLabel.new(self, '
|
47
|
+
@input_sector.text = @registro[30]
|
48
|
+
@lbl_parroco = FXLabel.new(self, 'Celebrante: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
49
49
|
x: 10, y: 210)
|
50
50
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
51
51
|
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
52
52
|
y: 210)
|
53
|
-
@input_parroco.text = @registro[
|
53
|
+
@input_parroco.text = @registro[31]
|
54
54
|
@lbl_intencion = FXLabel.new(self, 'Intención: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
55
55
|
y: 240)
|
56
56
|
@lbl_intencion.backColor = FXRGB(3, 187, 133)
|
57
57
|
@input_intencion = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
58
58
|
y: 240)
|
59
|
-
@input_intencion.text = @registro[
|
59
|
+
@input_intencion.text = @registro[42]
|
60
60
|
@lbl_fecha = FXLabel.new(self, 'Fecha de la misa (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 250,
|
61
61
|
height: 20, x: 10, y: 270)
|
62
62
|
@lbl_fecha.backColor = FXRGB(3, 187, 133)
|
63
63
|
@input_fecha = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 280,
|
64
64
|
y: 270)
|
65
|
-
@input_fecha.text = @registro[
|
65
|
+
@input_fecha.text = @registro[43]
|
66
66
|
@lbl_hora = FXLabel.new(self, 'Hora (HH:MM): ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
67
67
|
y: 300)
|
68
68
|
@lbl_hora.backColor = FXRGB(3, 187, 133)
|
69
69
|
@input_hora = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
70
70
|
y: 300)
|
71
|
-
@input_hora.text = @registro[
|
71
|
+
@input_hora.text = @registro[44]
|
72
72
|
|
73
73
|
# create buttons
|
74
74
|
@btnupdate = FXButton.new(self, 'Actualizar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
@@ -5,7 +5,7 @@ include Fox
|
|
5
5
|
|
6
6
|
class ActualizarPermisoBautismo < FXMainWindow
|
7
7
|
def initialize(app, registro)
|
8
|
-
super(app, 'Editando Registro', width: 1050, height:
|
8
|
+
super(app, 'Editando Registro', width: 1050, height: 430)
|
9
9
|
self.backColor = FXRGB(3, 187, 133)
|
10
10
|
@registro = registro
|
11
11
|
# Title
|
@@ -44,72 +44,96 @@ class ActualizarPermisoBautismo < FXMainWindow
|
|
44
44
|
@lbl_parroquia.backColor = FXRGB(3, 187, 133)
|
45
45
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
46
46
|
y: 180)
|
47
|
-
@input_parroquia.text = registro[
|
47
|
+
@input_parroquia.text = registro[29]
|
48
48
|
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
49
49
|
y: 180)
|
50
50
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
51
51
|
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
52
52
|
y: 180)
|
53
|
-
@input_sector.text = registro[
|
53
|
+
@input_sector.text = registro[30]
|
54
54
|
@lbl_parroco = FXLabel.new(self, 'Parroco: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 680,
|
55
55
|
y: 180)
|
56
56
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
57
57
|
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
58
58
|
y: 180)
|
59
|
-
@input_parroco.text = registro[
|
59
|
+
@input_parroco.text = registro[31]
|
60
60
|
@lbl_name = FXLabel.new(self, 'Nombres: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
61
|
-
y:
|
61
|
+
y: 210)
|
62
62
|
@lbl_name.backColor = FXRGB(3, 187, 133)
|
63
|
-
@input_name = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170, y:
|
64
|
-
@input_name.text = registro[
|
63
|
+
@input_name = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170, y: 210)
|
64
|
+
@input_name.text = registro[23]
|
65
65
|
@lbl_apellidos = FXLabel.new(self, 'Apellidos: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
66
|
-
x: 340, y:
|
66
|
+
x: 340, y: 210)
|
67
67
|
@lbl_apellidos.backColor = FXRGB(3, 187, 133)
|
68
68
|
@input_apellidos = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
69
|
-
y:
|
70
|
-
@input_apellidos.text = registro[
|
71
|
-
@lbl_cedula = FXLabel.new(self, 'Cédula: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
72
|
-
y:
|
69
|
+
y: 210)
|
70
|
+
@input_apellidos.text = registro[24]
|
71
|
+
@lbl_cedula = FXLabel.new(self, 'Cédula: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 680,
|
72
|
+
y: 210)
|
73
73
|
@lbl_cedula.backColor = FXRGB(3, 187, 133)
|
74
|
-
@input_cedula = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
75
|
-
y:
|
76
|
-
@input_cedula.text = registro[
|
74
|
+
@input_cedula = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
75
|
+
y: 210)
|
76
|
+
@input_cedula.text = registro[27]
|
77
77
|
@lbl_padre = FXLabel.new(self, 'Padre: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
78
|
-
y:
|
78
|
+
y: 240)
|
79
79
|
@lbl_padre.backColor = FXRGB(3, 187, 133)
|
80
80
|
@input_padre = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
81
|
-
y:
|
81
|
+
y: 240)
|
82
82
|
@input_padre.text = registro[9]
|
83
|
-
@
|
84
|
-
|
83
|
+
@lbl_cedula_padre = FXLabel.new(self, 'Cédula del padre: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
84
|
+
y: 240)
|
85
|
+
@lbl_cedula_padre.backColor = FXRGB(3, 187, 133)
|
86
|
+
@input_cedula_padre = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
87
|
+
y: 240)
|
88
|
+
@input_cedula_padre.text = registro[16]
|
89
|
+
@lbl_madre = FXLabel.new(self, 'Madre: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
90
|
+
y: 270)
|
85
91
|
@lbl_madre.backColor = FXRGB(3, 187, 133)
|
86
|
-
@input_madre = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
87
|
-
y:
|
92
|
+
@input_madre = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
93
|
+
y: 270)
|
88
94
|
@input_madre.text = registro[10]
|
95
|
+
@lbl_cedula_madre = FXLabel.new(self, 'Cédula de la madre: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
96
|
+
y: 270)
|
97
|
+
@lbl_cedula_madre.backColor = FXRGB(3, 187, 133)
|
98
|
+
@input_cedula_madre = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
99
|
+
y: 270)
|
100
|
+
@input_cedula_madre.text = registro[17]
|
89
101
|
@lbl_padrino = FXLabel.new(self, 'Padrino: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
90
|
-
y:
|
102
|
+
y: 300)
|
91
103
|
@lbl_padrino.backColor = FXRGB(3, 187, 133)
|
92
104
|
@input_padrino = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
93
|
-
y:
|
105
|
+
y: 300)
|
94
106
|
@input_padrino.text = registro[5]
|
95
|
-
@
|
96
|
-
|
107
|
+
@lbl_cedula_padrino = FXLabel.new(self, 'Cédula del padrino: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
108
|
+
y: 300)
|
109
|
+
@lbl_cedula_padrino.backColor = FXRGB(3, 187, 133)
|
110
|
+
@input_cedula_padrino = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
111
|
+
y: 300)
|
112
|
+
@input_cedula_padrino.text = registro[14]
|
113
|
+
@lbl_madrina = FXLabel.new(self, 'Madrina: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
114
|
+
y: 330)
|
97
115
|
@lbl_madrina.backColor = FXRGB(3, 187, 133)
|
98
|
-
@input_madrina = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
99
|
-
y:
|
116
|
+
@input_madrina = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
117
|
+
y: 330)
|
100
118
|
@input_madrina.text = registro[6]
|
101
|
-
@
|
102
|
-
y:
|
119
|
+
@lbl_cedula_madrina = FXLabel.new(self, 'Cédula de la madrina: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
120
|
+
y: 330)
|
121
|
+
@lbl_cedula_madrina.backColor = FXRGB(3, 187, 133)
|
122
|
+
@input_cedula_madrina = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
123
|
+
y: 330)
|
124
|
+
@input_cedula_madrina.text = registro[15]
|
125
|
+
@lbl_certifica = FXLabel.new(self, 'Autoriza: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
126
|
+
y: 360)
|
103
127
|
@lbl_certifica.backColor = FXRGB(3, 187, 133)
|
104
128
|
@input_certifica = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
105
|
-
y:
|
129
|
+
y: 360)
|
106
130
|
@input_certifica.text = registro[4]
|
107
131
|
|
108
132
|
# create buttons
|
109
133
|
@btnupdate = FXButton.new(self, 'Actualizar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
110
|
-
x: 790, y:
|
134
|
+
x: 790, y: 390)
|
111
135
|
@btncancel = FXButton.new(self, 'Cancelar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
112
|
-
x: 900, y:
|
136
|
+
x: 900, y: 390)
|
113
137
|
|
114
138
|
# connect buttons
|
115
139
|
@btnupdate.connect(SEL_COMMAND) do
|
@@ -125,6 +149,10 @@ class ActualizarPermisoBautismo < FXMainWindow
|
|
125
149
|
madrina = @input_madrina.text.empty? ? nil : @input_madrina.text
|
126
150
|
padre = @input_padre.text.empty? ? nil : @input_padre.text
|
127
151
|
madre = @input_madre.text.empty? ? nil : @input_madre.text
|
152
|
+
cedula_padre = @input_cedula_padre.text.empty? ? nil : @input_cedula_padre.text
|
153
|
+
cedula_madre = @input_cedula_madre.text.empty? ? nil : @input_cedula_madre.text
|
154
|
+
cedula_padrino = @input_cedula_padrino.text.empty? ? nil : @input_cedula_padrino.text
|
155
|
+
cedula_madrina = @input_cedula_madrina.text.empty? ? nil : @input_cedula_madrina.text
|
128
156
|
certifica = @input_certifica.text.empty? ? nil : @input_certifica.text
|
129
157
|
|
130
158
|
|
@@ -137,10 +165,8 @@ class ActualizarPermisoBautismo < FXMainWindow
|
|
137
165
|
# Iniciar una transacción
|
138
166
|
$conn.transaction do
|
139
167
|
$conn.exec(
|
140
|
-
'UPDATE sacramentos SET fecha = $1, sacramento = $2, certifica = $3, padrino = $4, madrina = $5, padre = $6, madre = $7 WHERE id = $
|
141
|
-
fecha, sacramento, certifica, padrino, madrina, padre, madre, registro[0]
|
142
|
-
]
|
143
|
-
)
|
168
|
+
'UPDATE sacramentos SET fecha = $1, sacramento = $2, certifica = $3, padrino = $4, madrina = $5, padre = $6, madre = $7, cedula_padrino = $8, cedula_madrina = $9, cedula_padre = $10, cedula_madre = $11 WHERE id = $12',
|
169
|
+
fecha, sacramento, certifica, padrino, madrina, padre, madre, cedula_padrino, cedula_madrina, cedula_padre, cedula_madre, registro[0])
|
144
170
|
$conn.exec('UPDATE creyentes SET nombres = $1, apellidos = $2, cedula = $3 WHERE id = $6',
|
145
171
|
[name, apellidos, cedula, registro[18]])
|
146
172
|
$conn.exec('UPDATE parroquias SET parroquia = $1, sector = $2, parroco = $3 WHERE id = $4',
|
@@ -6,7 +6,7 @@ include Fox
|
|
6
6
|
class ActualizarPreMatrimonial < FXMainWindow
|
7
7
|
def initialize(app, registro)
|
8
8
|
@registro = registro
|
9
|
-
super(app, 'Parroquia San Judas Tadeo', width: 1050, height:
|
9
|
+
super(app, 'Parroquia San Judas Tadeo', width: 1050, height: 360)
|
10
10
|
self.backColor = FXRGB(3, 187, 133)
|
11
11
|
# Title
|
12
12
|
@lbltitle = FXLabel.new(self, 'Bienvenido a la Parroquia San Judas Tadeo',
|
@@ -44,79 +44,79 @@ class ActualizarPreMatrimonial < FXMainWindow
|
|
44
44
|
@lbl_parroquia.backColor = FXRGB(3, 187, 133)
|
45
45
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
46
46
|
y: 180)
|
47
|
-
@input_parroquia.text = @registro[
|
47
|
+
@input_parroquia.text = @registro[29]
|
48
48
|
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
49
49
|
y: 180)
|
50
50
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
51
51
|
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
52
52
|
y: 180)
|
53
|
-
@input_sector.text = @registro[
|
53
|
+
@input_sector.text = @registro[30]
|
54
54
|
@lbl_parroco = FXLabel.new(self, 'Parroco: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 680,
|
55
55
|
y: 180)
|
56
56
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
57
57
|
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
58
58
|
y: 180)
|
59
|
-
@input_parroco.text = @registro[
|
59
|
+
@input_parroco.text = @registro[31]
|
60
60
|
@lbl_name_novio = FXLabel.new(self, 'Nombres del novio: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
61
|
-
x: 10, y:
|
61
|
+
x: 10, y: 210)
|
62
62
|
@lbl_name_novio.backColor = FXRGB(3, 187, 133)
|
63
63
|
@input_name_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
64
|
-
y:
|
65
|
-
@input_name_novio.text = @registro[
|
64
|
+
y: 210)
|
65
|
+
@input_name_novio.text = @registro[23]
|
66
66
|
@lbl_apellido_novio = FXLabel.new(self, 'Apellidos del novio: ', opts: LAYOUT_EXPLICIT, width: 150,
|
67
|
-
height: 20, x: 340, y:
|
67
|
+
height: 20, x: 340, y: 210)
|
68
68
|
@lbl_apellido_novio.backColor = FXRGB(3, 187, 133)
|
69
69
|
@input_apellido_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
70
|
-
y:
|
71
|
-
@input_apellido_novio.text = @registro[
|
70
|
+
y: 210)
|
71
|
+
@input_apellido_novio.text = @registro[24]
|
72
72
|
@lbl_cedula_novio = FXLabel.new(self, 'Cédula del novio: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
73
|
-
x: 680, y:
|
73
|
+
x: 680, y: 210)
|
74
74
|
@lbl_cedula_novio.backColor = FXRGB(3, 187, 133)
|
75
75
|
@input_cedula_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
76
|
-
y:
|
77
|
-
@input_cedula_novio.text = @registro[
|
76
|
+
y: 210)
|
77
|
+
@input_cedula_novio.text = @registro[27]
|
78
78
|
@lbl_name_novia = FXLabel.new(self, 'Nombres de la novia: ', opts: LAYOUT_EXPLICIT, width: 150,
|
79
|
-
height: 20, x: 10, y:
|
79
|
+
height: 20, x: 10, y: 240)
|
80
80
|
@lbl_name_novia.backColor = FXRGB(3, 187, 133)
|
81
81
|
@input_name_novia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
82
|
-
y:
|
82
|
+
y: 240)
|
83
83
|
@input_name_novia.text = @registro[11]
|
84
84
|
@lbl_apellido_novia = FXLabel.new(self, 'Apellidos de la novia: ', opts: LAYOUT_EXPLICIT, width: 150,
|
85
|
-
height: 20, x: 340, y:
|
85
|
+
height: 20, x: 340, y: 240)
|
86
86
|
@lbl_apellido_novia.backColor = FXRGB(3, 187, 133)
|
87
87
|
@input_apellido_novia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
88
|
-
y:
|
88
|
+
y: 240)
|
89
89
|
@input_apellido_novia.text = @registro[12]
|
90
90
|
@lbl_cedula_novia = FXLabel.new(self, 'Cédula de la novia: ', opts: LAYOUT_EXPLICIT, width: 150,
|
91
|
-
height: 20, x: 680, y:
|
91
|
+
height: 20, x: 680, y: 240)
|
92
92
|
@lbl_cedula_novia.backColor = FXRGB(3, 187, 133)
|
93
93
|
@input_cedula_novia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
94
|
-
y:
|
94
|
+
y: 240)
|
95
95
|
@input_cedula_novia.text = @registro[13]
|
96
96
|
@lbl_testigo_novio = FXLabel.new(self, 'Testigo del novio: ', opts: LAYOUT_EXPLICIT, width: 150,
|
97
|
-
height: 20, x: 10, y:
|
97
|
+
height: 20, x: 10, y: 270)
|
98
98
|
@lbl_testigo_novio.backColor = FXRGB(3, 187, 133)
|
99
99
|
@input_nombres_testigo_novio = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
100
|
-
x: 170, y:
|
100
|
+
x: 170, y: 270)
|
101
101
|
@input_nombres_testigo_novio.text = @registro[7]
|
102
102
|
@lbl_testigo_novia = FXLabel.new(self, 'Testigo novia: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
103
|
-
x: 340, y:
|
103
|
+
x: 340, y: 270)
|
104
104
|
@lbl_testigo_novia.backColor = FXRGB(3, 187, 133)
|
105
105
|
@input_nombres_testigo_novia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
106
|
-
x: 510, y:
|
106
|
+
x: 510, y: 270)
|
107
107
|
@input_nombres_testigo_novia.text = @registro[8]
|
108
108
|
@lbl_certifica = FXLabel.new(self, 'Certifica: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
109
|
-
x: 680, y:
|
109
|
+
x: 680, y: 270)
|
110
110
|
@lbl_certifica.backColor = FXRGB(3, 187, 133)
|
111
111
|
@input_certifica = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
112
|
-
y:
|
112
|
+
y: 270)
|
113
113
|
@input_certifica.text = @registro[4]
|
114
114
|
|
115
115
|
# create buttons
|
116
116
|
@btnupdate = FXButton.new(self, 'Actualizar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
117
|
-
x: 790, y:
|
117
|
+
x: 790, y: 300)
|
118
118
|
@btncancel = FXButton.new(self, 'Cancelar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
119
|
-
x: 900, y:
|
119
|
+
x: 900, y: 300)
|
120
120
|
|
121
121
|
# connect buttons
|
122
122
|
@btnupdate.connect(SEL_COMMAND) do
|
@@ -29,18 +29,18 @@ class ActualizarSupletoria < FXMainWindow
|
|
29
29
|
@lbl_tomo.backColor = FXRGB(3, 187, 133)
|
30
30
|
# EL input tomoo debe tener el valor del campo "tomo" del registro
|
31
31
|
@input_tomo = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 110, y: 100)
|
32
|
-
@input_tomo.text = registro[
|
32
|
+
@input_tomo.text = registro[19]
|
33
33
|
|
34
34
|
@lbl_page = FXLabel.new(self, 'Pagina', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 170, y: 100)
|
35
35
|
@lbl_page.backColor = FXRGB(3, 187, 133)
|
36
36
|
@input_page = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 230, y: 100)
|
37
|
-
@input_page.text = registro[
|
37
|
+
@input_page.text = registro[20]
|
38
38
|
@lbl_number = FXLabel.new(self, 'Numero', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 290,
|
39
39
|
y: 100)
|
40
40
|
@lbl_number.backColor = FXRGB(3, 187, 133)
|
41
41
|
@input_number = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 350,
|
42
42
|
y: 100)
|
43
|
-
@input_number.text = registro[
|
43
|
+
@input_number.text = registro[21]
|
44
44
|
|
45
45
|
# section datos
|
46
46
|
@lbl_fecha = FXLabel.new(self, 'Fecha de bautismo (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 250,
|
@@ -61,19 +61,19 @@ class ActualizarSupletoria < FXMainWindow
|
|
61
61
|
@lbl_parroquia.backColor = FXRGB(3, 187, 133)
|
62
62
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
63
63
|
y: 180)
|
64
|
-
@input_parroquia.text = registro[
|
64
|
+
@input_parroquia.text = registro[29]
|
65
65
|
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
66
66
|
y: 180)
|
67
67
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
68
68
|
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
69
69
|
y: 180)
|
70
|
-
@input_sector.text = registro[
|
70
|
+
@input_sector.text = registro[30]
|
71
71
|
@lbl_parroco = FXLabel.new(self, 'Parroco: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 680,
|
72
72
|
y: 180)
|
73
73
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
74
74
|
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
75
75
|
y: 180)
|
76
|
-
@input_parroco.text = registro[
|
76
|
+
@input_parroco.text = registro[31]
|
77
77
|
@lbl_ministro = FXLabel.new(self, 'Ministro: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
78
78
|
y: 210)
|
79
79
|
@lbl_ministro.backColor = FXRGB(3, 187, 133)
|
@@ -85,31 +85,31 @@ class ActualizarSupletoria < FXMainWindow
|
|
85
85
|
@lbl_name.backColor = FXRGB(3, 187, 133)
|
86
86
|
@input_name = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
87
87
|
y: 240)
|
88
|
-
@input_name.text = registro[
|
88
|
+
@input_name.text = registro[23]
|
89
89
|
@lbl_apellidos = FXLabel.new(self, 'Apellidos: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
90
90
|
x: 340, y: 240)
|
91
91
|
@lbl_apellidos.backColor = FXRGB(3, 187, 133)
|
92
92
|
@input_apellidos = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
93
93
|
y: 240)
|
94
|
-
@input_apellidos.text = registro[
|
94
|
+
@input_apellidos.text = registro[24]
|
95
95
|
@lbl_cedula = FXLabel.new(self, 'Cédula: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
96
96
|
y: 270)
|
97
97
|
@lbl_cedula.backColor = FXRGB(3, 187, 133)
|
98
98
|
@input_cedula = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
99
99
|
y: 270)
|
100
|
-
@input_cedula.text = registro[
|
100
|
+
@input_cedula.text = registro[27]
|
101
101
|
@lbl_lugar_nacimiento = FXLabel.new(self, 'Lugar de nacimiento: ', opts: LAYOUT_EXPLICIT, width: 150,
|
102
102
|
height: 20, x: 10, y: 300)
|
103
103
|
@lbl_lugar_nacimiento.backColor = FXRGB(3, 187, 133)
|
104
104
|
@input_lugar_nacimiento = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
105
105
|
x: 170, y: 300)
|
106
|
-
@input_lugar_nacimiento.text = registro[
|
106
|
+
@input_lugar_nacimiento.text = registro[25]
|
107
107
|
@lbl_fecha_nacimiento = FXLabel.new(self, 'Fecha de nacimiento (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT,
|
108
108
|
width: 250, height: 20, x: 340, y: 300)
|
109
109
|
@lbl_fecha_nacimiento.backColor = FXRGB(3, 187, 133)
|
110
110
|
@input_fecha_nacimiento = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
111
111
|
x: 590, y: 300)
|
112
|
-
@input_fecha_nacimiento.text = registro[
|
112
|
+
@input_fecha_nacimiento.text = registro[26]
|
113
113
|
@lbl_padre = FXLabel.new(self, 'Padre: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
114
114
|
y: 330)
|
115
115
|
@lbl_padre.backColor = FXRGB(3, 187, 133)
|
@@ -162,49 +162,49 @@ class ActualizarSupletoria < FXMainWindow
|
|
162
162
|
@lbl_provincia_rc.backColor = FXRGB(3, 187, 133)
|
163
163
|
@input_provincia_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
164
164
|
y: 450)
|
165
|
-
@input_provincia_rc.text = registro[
|
165
|
+
@input_provincia_rc.text = registro[33]
|
166
166
|
@lbl_canton_rc = FXLabel.new(self, 'Cantón: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 340,
|
167
167
|
y: 450)
|
168
168
|
@lbl_canton_rc.backColor = FXRGB(3, 187, 133)
|
169
169
|
@input_canton_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 510,
|
170
170
|
y: 450)
|
171
|
-
@input_canton_rc.text = registro[
|
171
|
+
@input_canton_rc.text = registro[34]
|
172
172
|
@lbl_parroquia_rc = FXLabel.new(self, 'Parroquia: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
173
173
|
x: 680, y: 450)
|
174
174
|
@lbl_parroquia_rc.backColor = FXRGB(3, 187, 133)
|
175
175
|
@input_parroquia_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 850,
|
176
176
|
y: 450)
|
177
|
-
@input_parroquia_rc.text = registro[
|
177
|
+
@input_parroquia_rc.text = registro[35]
|
178
178
|
@lbl_anio_rc = FXLabel.new(self, 'Año: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 50,
|
179
179
|
y: 480)
|
180
180
|
@lbl_anio_rc.backColor = FXRGB(3, 187, 133)
|
181
181
|
@input_anio_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 110,
|
182
182
|
y: 480)
|
183
|
-
@input_anio_rc.text = registro[
|
183
|
+
@input_anio_rc.text = registro[36]
|
184
184
|
@lbl_tomo_rc = FXLabel.new(self, 'Tomo: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 170,
|
185
185
|
y: 480)
|
186
186
|
@lbl_tomo_rc.backColor = FXRGB(3, 187, 133)
|
187
187
|
@input_tomo_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 230,
|
188
188
|
y: 480)
|
189
|
-
@input_tomo_rc.text = registro[
|
189
|
+
@input_tomo_rc.text = registro[37]
|
190
190
|
@lbl_pag_rc = FXLabel.new(self, 'Página: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 290,
|
191
191
|
y: 480)
|
192
192
|
@lbl_pag_rc.backColor = FXRGB(3, 187, 133)
|
193
193
|
@input_pag_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 350,
|
194
194
|
y: 480)
|
195
|
-
@input_pag_rc.text = registro[
|
195
|
+
@input_pag_rc.text = registro[38]
|
196
196
|
@lbl_acta_rc = FXLabel.new(self, 'Acta: ', opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 410,
|
197
197
|
y: 480)
|
198
198
|
@lbl_acta_rc.backColor = FXRGB(3, 187, 133)
|
199
199
|
@input_acta_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 50, height: 20, x: 470,
|
200
200
|
y: 480)
|
201
|
-
@input_acta_rc.text = registro[
|
201
|
+
@input_acta_rc.text = registro[39]
|
202
202
|
@lbl_date_rc = FXLabel.new(self, 'Fecha (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
203
203
|
x: 10, y: 510)
|
204
204
|
@lbl_date_rc.backColor = FXRGB(3, 187, 133)
|
205
205
|
@input_date_rc = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
206
206
|
y: 510)
|
207
|
-
@input_date_rc.text = registro[
|
207
|
+
@input_date_rc.text = registro[40]
|
208
208
|
|
209
209
|
|
210
210
|
# create buttons
|