diff --git a/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/ControlGestion.Reporting.rptproj b/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/ControlGestion.Reporting.rptproj index f3f47425b..05cdcb95d 100644 --- a/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/ControlGestion.Reporting.rptproj +++ b/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/ControlGestion.Reporting.rptproj @@ -49,7 +49,9 @@ @(Report) + + @@ -57,6 +59,8 @@ + + \ No newline at end of file diff --git a/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/dsRecaudacion.rsd b/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/dsRecaudacion.rsd index f77ee19fb..aae0bc7e7 100644 --- a/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/dsRecaudacion.rsd +++ b/ControlGestiones/ControlGestion.Reporting/ControlGestion.Reporting/dsRecaudacion.rsd @@ -1,26 +1,19 @@  - + dsOracle - - - false - false - false - true - - select distinct a.cod_recaudador, fecha_control fecha_contable, decode(ltrim(rtrim(b.numero_deposito)), '',a.remesa, b.NUMERO_DEPOSITO) remesa, sum(round(to_number(a.total_pagado) / 100,2)) monto, sum(round(to_number(a.comision) / 100,2)) comision, b.monto_retencion from mtx_archivos_recaudadores a, ptx_remesas_dep b -where fecha_control between '01/01/2000' and '01/01/2022' +where fecha_control between :p_f_inicio and :p_f_final and a.cod_recaudador = decode(:p_recaudador,'TODOS',a.cod_recaudador,:p_recaudador) and a.remesa = b.numero_remesa (+) AND a.COD_RECAUDADOR = B.COD_RECAUDADOR(+) -group by a.cod_recaudador, a.fecha_control, a.remesa, b.numero_deposito, b.monto_retencion +group by a.cod_recaudador, a.fecha_control, a.remesa, b.numero_deposito, b.monto_retencion +