parroquia 1.1.16 → 1.1.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44b026dd8f018eb2beba41332e9ed4d760c52241c2d6f9e8c8fca12ac0172b22
|
4
|
+
data.tar.gz: caa7ba6fd653f3c731f18ab7157117ac3cbbe5cc9d82ae3a47880ed746a9f1c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39c2c3b96d5a785c1c1355a866a50875e5f5e10ae38790d815e38810fe35282c8ee0f480212e80ac0d81596b9eb7c1265b7fddaf66a9099edb99e304831fe49e
|
7
|
+
data.tar.gz: 8daed859d2f0c3d2e84dc3ef6c21a35691329d63f1a59b88c26b6df5c8d13970563ae5ff891ba2dce33b41c7bb42c2e72842c7d7e041de10988db2e4eb0a3c89
|
@@ -142,7 +142,6 @@ class ActualizarComunion < FXMainWindow
|
|
142
142
|
lugar_nacimiento = @input_lugar_nacimiento.text
|
143
143
|
fecha_nacimiento = @input_fecha_nacimiento.text
|
144
144
|
cedula = @input_cedula.text.empty? ? nil : @input_cedula.text
|
145
|
-
padrino = @input_padrino.text.empty? ? nil : @input_padrino.text
|
146
145
|
certifica = @input_certifica.text
|
147
146
|
|
148
147
|
# tables
|
@@ -177,8 +176,8 @@ class ActualizarComunion < FXMainWindow
|
|
177
176
|
|
178
177
|
# Actualizar la tabla sacramentos
|
179
178
|
$conn.exec(
|
180
|
-
'UPDATE sacramentos SET sacramento = $1, fecha = $2, celebrante = $3, certifica = $4
|
181
|
-
sacramento, fecha, celebrante, certifica,
|
179
|
+
'UPDATE sacramentos SET sacramento = $1, fecha = $2, celebrante = $3, certifica = $4 WHERE id = $6', [
|
180
|
+
sacramento, fecha, celebrante, certifica, registro[0]
|
182
181
|
]
|
183
182
|
)
|
184
183
|
|
@@ -56,7 +56,7 @@ class ActualizarMisa < FXMainWindow
|
|
56
56
|
y: 240)
|
57
57
|
@input_intencion.text = @registro[38]
|
58
58
|
@lbl_fecha = FXLabel.new(self, 'Fecha de la misa (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 250,
|
59
|
-
height: 20, x: 10, y:
|
59
|
+
height: 20, x: 10, y: 270)
|
60
60
|
@lbl_fecha.backColor = FXRGB(3, 187, 133)
|
61
61
|
@input_fecha = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 280,
|
62
62
|
y: 270)
|
@@ -125,7 +125,6 @@ class Comunion < FXMainWindow
|
|
125
125
|
lugar_nacimiento = @input_lugar_nacimiento.text
|
126
126
|
fecha_nacimiento = @input_fecha_nacimiento.text
|
127
127
|
cedula = @input_cedula.text.empty? ? nil : @input_cedula.text
|
128
|
-
padrino = @input_padrino.text.empty? ? nil : @input_padrino.text
|
129
128
|
certifica = @input_certifica.text
|
130
129
|
|
131
130
|
|
@@ -164,8 +163,8 @@ class Comunion < FXMainWindow
|
|
164
163
|
|
165
164
|
# Insertar en la tabla sacramentos
|
166
165
|
@registro_sacramentos = $conn.exec(
|
167
|
-
'INSERT INTO sacramentos (sacramento, fecha, celebrante, certifica
|
168
|
-
fecha, celebrante, certifica
|
166
|
+
'INSERT INTO sacramentos (sacramento, fecha, celebrante, certifica) VALUES ($1, $2, $3, $4)', [sacramento,
|
167
|
+
fecha, celebrante, certifica]
|
169
168
|
)
|
170
169
|
|
171
170
|
# Confirmar la transacción
|
@@ -191,7 +190,6 @@ class Comunion < FXMainWindow
|
|
191
190
|
@input_lugar_nacimiento.text = ''
|
192
191
|
@input_fecha_nacimiento.text = ''
|
193
192
|
@input_cedula.text = ''
|
194
|
-
@input_padrino.text = ''
|
195
193
|
@input_certifica.text = ''
|
196
194
|
end
|
197
195
|
end
|