diff --git a/PROYECTO/PRDIR/prprrp021.4rp b/PROYECTO/PRDIR/prprrp021.4rp
index 7c11701..3eaef14 100644
--- a/PROYECTO/PRDIR/prprrp021.4rp
+++ b/PROYECTO/PRDIR/prprrp021.4rp
@@ -18,7 +18,7 @@
-
+
diff --git a/PROYECTO/acdir/acprmt004.4gl b/PROYECTO/acdir/acprmt004.4gl
index d3b7fe1..0d1fe16 100644
--- a/PROYECTO/acdir/acprmt004.4gl
+++ b/PROYECTO/acdir/acprmt004.4gl
@@ -235,11 +235,12 @@ FUNCTION acpcmf004()
RETURN
END IF
+ -- G6: trans LIKE actb00004.* incluye rowid; sin el 2o a.rowid todo quedaba corrido una columna (-1213)
LET SELEC =
- "SELECT a.rowid,a.codigo
+ "SELECT a.rowid,a.rowid,a.codigo
,a.num_doc
,CONVERT(VARCHAR(10),a.fecha,103)
,a.cod_mov
@@ -419,7 +420,7 @@ FUNCTION acpcmf004()
CALL fgl_winmessage("INFO","NO SE ACTUALIZARON REGISTROS","INFO")
EXIT PROGRAM
END IF
- SELECT MIN(convert(varchar(10),a.fecha,103)) INTO fecha6 FROM actb00004 a
+ SELECT MIN(a.fecha) INTO fecha6 FROM actb00004 a -- G6: MIN sobre texto dd/mm/yyyy no da la fecha menor
WHERE a.codigo = trans.codigo AND a.status_t IS NULL
IF fecha6 IS NULL THEN
diff --git a/PROYECTO/acdir/acprmt005.4gl b/PROYECTO/acdir/acprmt005.4gl
index fba6ccb..5bfa522 100644
--- a/PROYECTO/acdir/acprmt005.4gl
+++ b/PROYECTO/acdir/acprmt005.4gl
@@ -92,7 +92,8 @@ INPUT BY NAME p_ano1,p_mes1
NEXT FIELD p_ano1
END IF
- SELECT MAX(CONVERT(VARCHAR(10),a.fecha,103)) INTO fecha_ant FROM actb00004 a
+ -- G6: MAX sobre texto dd/mm/yyyy devolvia 31/12 y no la ultima depreciacion (permitia duplicar el mes)
+ SELECT MAX(a.fecha) INTO fecha_ant FROM actb00004 a
WHERE a.status_t IS NULL AND a.cod_mov = 5
IF fecha_ant >= trans.fecha THEN
diff --git a/PROYECTO/bin/IMAGENES/LOGO.JPG b/PROYECTO/bin/IMAGENES/LOGO.JPG
new file mode 100644
index 0000000..b125c9d
Binary files /dev/null and b/PROYECTO/bin/IMAGENES/LOGO.JPG differ
diff --git a/PROYECTO/bin/IMAGENES/genero_logo.png b/PROYECTO/bin/IMAGENES/genero_logo.png
new file mode 100644
index 0000000..fd07ec8
Binary files /dev/null and b/PROYECTO/bin/IMAGENES/genero_logo.png differ
diff --git a/PROYECTO/bin/acprrp010.4rp b/PROYECTO/bin/acprrp010.4rp
index a339f2d..087f470 100644
--- a/PROYECTO/bin/acprrp010.4rp
+++ b/PROYECTO/bin/acprrp010.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/ccprmt003.4rp b/PROYECTO/bin/ccprmt003.4rp
index 1f37e47..f53b3e0 100644
--- a/PROYECTO/bin/ccprmt003.4rp
+++ b/PROYECTO/bin/ccprmt003.4rp
@@ -14,7 +14,7 @@
-
+
diff --git a/PROYECTO/bin/cgprcs024.4rp b/PROYECTO/bin/cgprcs024.4rp
new file mode 100644
index 0000000..b5f1106
--- /dev/null
+++ b/PROYECTO/bin/cgprcs024.4rp
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PROYECTO/bin/coprmt009.4rp b/PROYECTO/bin/coprmt009.4rp
index 0cf9fdd..27abfa9 100644
--- a/PROYECTO/bin/coprmt009.4rp
+++ b/PROYECTO/bin/coprmt009.4rp
@@ -25,7 +25,7 @@
-
+
diff --git a/PROYECTO/bin/coprmt009_1.4rp b/PROYECTO/bin/coprmt009_1.4rp
index 0249bcc..54cb143 100644
--- a/PROYECTO/bin/coprmt009_1.4rp
+++ b/PROYECTO/bin/coprmt009_1.4rp
@@ -28,7 +28,7 @@
-
+
diff --git a/PROYECTO/bin/cumpleanos.4rp b/PROYECTO/bin/cumpleanos.4rp
index e9a8d20..8c52666 100644
--- a/PROYECTO/bin/cumpleanos.4rp
+++ b/PROYECTO/bin/cumpleanos.4rp
@@ -14,7 +14,7 @@
-
+
diff --git a/PROYECTO/bin/cumpleanos_1.4rp b/PROYECTO/bin/cumpleanos_1.4rp
index a0a51bd..046383f 100644
--- a/PROYECTO/bin/cumpleanos_1.4rp
+++ b/PROYECTO/bin/cumpleanos_1.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010a.4rp b/PROYECTO/bin/ipprrp010a.4rp
index c30cc86..906f796 100644
--- a/PROYECTO/bin/ipprrp010a.4rp
+++ b/PROYECTO/bin/ipprrp010a.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010a1.4rp b/PROYECTO/bin/ipprrp010a1.4rp
index 393685d..f90f055 100644
--- a/PROYECTO/bin/ipprrp010a1.4rp
+++ b/PROYECTO/bin/ipprrp010a1.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010e.4rp b/PROYECTO/bin/ipprrp010e.4rp
index e27f168..70ecb15 100644
--- a/PROYECTO/bin/ipprrp010e.4rp
+++ b/PROYECTO/bin/ipprrp010e.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010f.4rp b/PROYECTO/bin/ipprrp010f.4rp
index 4a41e00..1c725e9 100644
--- a/PROYECTO/bin/ipprrp010f.4rp
+++ b/PROYECTO/bin/ipprrp010f.4rp
@@ -16,7 +16,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010f_1.4rp b/PROYECTO/bin/ipprrp010f_1.4rp
index 898a1ef..b20ca52 100644
--- a/PROYECTO/bin/ipprrp010f_1.4rp
+++ b/PROYECTO/bin/ipprrp010f_1.4rp
@@ -16,7 +16,7 @@
-
+
diff --git a/PROYECTO/bin/ipprrp010h.4rp b/PROYECTO/bin/ipprrp010h.4rp
index 5aeed0f..b5b93bf 100644
--- a/PROYECTO/bin/ipprrp010h.4rp
+++ b/PROYECTO/bin/ipprrp010h.4rp
@@ -16,7 +16,7 @@
-
+
diff --git a/PROYECTO/bin/irprrpcs008.4rp b/PROYECTO/bin/irprrpcs008.4rp
index 99a7b9b..b218fb6 100644
--- a/PROYECTO/bin/irprrpcs008.4rp
+++ b/PROYECTO/bin/irprrpcs008.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/noprrp044_1_otros_ant.4rp b/PROYECTO/bin/noprrp044_1_otros_ant.4rp
index 0e406db..96f40ed 100644
--- a/PROYECTO/bin/noprrp044_1_otros_ant.4rp
+++ b/PROYECTO/bin/noprrp044_1_otros_ant.4rp
@@ -16,7 +16,7 @@
-
+
diff --git a/PROYECTO/bin/noprrp044_2.4rp b/PROYECTO/bin/noprrp044_2.4rp
index 232d45a..ee41fdc 100644
--- a/PROYECTO/bin/noprrp044_2.4rp
+++ b/PROYECTO/bin/noprrp044_2.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/pretiqueta4x3.4rp b/PROYECTO/bin/pretiqueta4x3.4rp
index c061e68..ede0b57 100644
--- a/PROYECTO/bin/pretiqueta4x3.4rp
+++ b/PROYECTO/bin/pretiqueta4x3.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/prprmt003.4rp b/PROYECTO/bin/prprmt003.4rp
index 422079d..ec046ee 100644
--- a/PROYECTO/bin/prprmt003.4rp
+++ b/PROYECTO/bin/prprmt003.4rp
@@ -18,7 +18,7 @@
-
+
diff --git a/PROYECTO/bin/sendemail.4rp b/PROYECTO/bin/sendemail.4rp
index d12e5f9..9faac85 100644
--- a/PROYECTO/bin/sendemail.4rp
+++ b/PROYECTO/bin/sendemail.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/svprmt001.4rp b/PROYECTO/bin/svprmt001.4rp
index 8dabd65..dcf4acb 100644
--- a/PROYECTO/bin/svprmt001.4rp
+++ b/PROYECTO/bin/svprmt001.4rp
@@ -13,7 +13,7 @@
-
+
diff --git a/PROYECTO/bin/vefactura.4rp b/PROYECTO/bin/vefactura.4rp
index 7c47aa8..a1bbf27 100644
--- a/PROYECTO/bin/vefactura.4rp
+++ b/PROYECTO/bin/vefactura.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/vefactura_1.4rp b/PROYECTO/bin/vefactura_1.4rp
index aa0bd50..fbc64e6 100644
--- a/PROYECTO/bin/vefactura_1.4rp
+++ b/PROYECTO/bin/vefactura_1.4rp
@@ -16,7 +16,7 @@
-
+
diff --git a/PROYECTO/bin/veprcs001.4rp b/PROYECTO/bin/veprcs001.4rp
index 35e4059..c736778 100644
--- a/PROYECTO/bin/veprcs001.4rp
+++ b/PROYECTO/bin/veprcs001.4rp
@@ -20,7 +20,7 @@
-
+
diff --git a/PROYECTO/bin/veprmt022.4rp b/PROYECTO/bin/veprmt022.4rp
index 2112d0d..180edb0 100644
--- a/PROYECTO/bin/veprmt022.4rp
+++ b/PROYECTO/bin/veprmt022.4rp
@@ -21,7 +21,7 @@
-
+
diff --git a/PROYECTO/bin/veprmt022_1.4rp b/PROYECTO/bin/veprmt022_1.4rp
index c2f3b5e..99442c2 100644
--- a/PROYECTO/bin/veprmt022_1.4rp
+++ b/PROYECTO/bin/veprmt022_1.4rp
@@ -19,7 +19,7 @@
-
+
diff --git a/PROYECTO/bin/veprmt049.4rp b/PROYECTO/bin/veprmt049.4rp
index e9733f7..1b79ee2 100644
--- a/PROYECTO/bin/veprmt049.4rp
+++ b/PROYECTO/bin/veprmt049.4rp
@@ -15,7 +15,7 @@
-
+
diff --git a/PROYECTO/bin/veprmt049_GR.4rp b/PROYECTO/bin/veprmt049_GR.4rp
index 7d068c2..2bb181f 100644
--- a/PROYECTO/bin/veprmt049_GR.4rp
+++ b/PROYECTO/bin/veprmt049_GR.4rp
@@ -13,7 +13,7 @@
-
+
diff --git a/PROYECTO/bin/veprrp049 (copy).4rp b/PROYECTO/bin/veprrp049 (copy).4rp
index 7d68e9e..359e650 100644
--- a/PROYECTO/bin/veprrp049 (copy).4rp
+++ b/PROYECTO/bin/veprrp049 (copy).4rp
@@ -13,7 +13,7 @@
-
+
diff --git a/PROYECTO/bin/veprrp049.4rp b/PROYECTO/bin/veprrp049.4rp
index e61a681..a5ad784 100644
--- a/PROYECTO/bin/veprrp049.4rp
+++ b/PROYECTO/bin/veprrp049.4rp
@@ -13,7 +13,7 @@
-
+
diff --git a/PROYECTO/bin/veprrp049back.4rp b/PROYECTO/bin/veprrp049back.4rp
index bac305f..54f636a 100644
--- a/PROYECTO/bin/veprrp049back.4rp
+++ b/PROYECTO/bin/veprrp049back.4rp
@@ -13,7 +13,7 @@
-
+
diff --git a/PROYECTO/cgdir/cgfmrp013.4fd b/PROYECTO/cgdir/cgfmrp013.4fd
index 402e398..11e0a95 100644
--- a/PROYECTO/cgdir/cgfmrp013.4fd
+++ b/PROYECTO/cgdir/cgfmrp013.4fd
@@ -4,7 +4,7 @@
-
+