Example #1
0
        public override void PrintList()
        {
            PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);
            PaymentReportMng reportMng = new PaymentReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);
            PagoAcreedorListRpt report = reportMng.GetPagoAcreedorListReport((IList <PaymentSummary>)Datos.List);

            PgMng.FillUp();
            ShowReport(report);
        }
        public PagoAcreedorListRpt GetPagoAcreedorListReport(PaymentSummaryList list)
        {
            if (list == null)
            {
                return(null);
            }

            PagoAcreedorListRpt doc = new PagoAcreedorListRpt();

            doc.SetDataSource(list);
            doc.SetParameterValue("Empresa", Schema.Name);
            doc.SetParameterValue("Title", Title);
            doc.SetParameterValue("Filter", Filter);

            return(doc);
        }