public PaymentListRpt GetListReport(PaymentList list, TransactionPaymentList p_facturas)
        {
            if (list == null)
            {
                return(null);
            }

            PaymentListRpt doc = new PaymentListRpt();

            List <PaymentPrint> pList = new List <PaymentPrint>();

            foreach (PaymentInfo pago in list)
            {
                if (ShowQRCode)
                {
                    pago.LoadChilds(p_facturas.GetSubList(new FCriteria <long>("OidPago", pago.Oid, Operation.Equal)));
                }

                pList.Add(PaymentPrint.New(pago, null, ShowQRCode));
            }

            doc.SetDataSource(pList);

            FormatHeader(doc);

            doc.QRCodeSection.SectionFormat.EnableSuppress = !ShowQRCode;

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

            reportMng.ShowQRCode = false;

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);
            PaymentListRpt report = reportMng.GetListReport(PaymentList.GetList((IList <PaymentInfo>)Datos.List), null);

            PgMng.FillUp();

            ShowReport(report);
        }