public override void PrintList()
        {
            PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);

            TicketReportMng reportMng = new TicketReportMng(AppContext.ActiveSchema, this.Text, this.FilterValues);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);

            TicketListRpt report = reportMng.GetListReport(TicketList.GetList(Datos.DataSource as IList <TicketInfo>));

            PgMng.FillUp();

            ShowReport(report);
        }
        public override void PrintObject()
        {
            TicketReportMng reportMng = new TicketReportMng(AppContext.ActiveSchema);

            ReportClass report = reportMng.GetTicketReport((EntityInfo.ConceptoTickets != null) ? EntityInfo : Entity.GetInfo(true));

            if (SettingsMng.Instance.GetUseDefaultPrinter())
            {
                string impresora = moleQule.Library.Invoice.ModulePrincipal.GetDefaultTicketPrinter();
                PrintReport(report, impresora);
            }
            else
            {
                ShowReport(report);
            }
        }
        public override void PrintDetailAction()
        {
            if (ActiveItem == null)
            {
                return;
            }

            PgMng.Reset(4, 1, Face.Resources.Messages.RETRIEVING_DATA, this);

            TicketReportMng reportMng = new TicketReportMng(AppContext.ActiveSchema, this.Text, this.FilterValues);

            SerieInfo serie = SerieInfo.Get(ActiveItem.OidSerie, false);

            PgMng.Grow();

            TicketInfo item = TicketInfo.Get(ActiveOID, true);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);

            ReportClass report = reportMng.GetTicketReport(item);

            PgMng.FillUp();

            if (report != null)
            {
                if (SettingsMng.Instance.GetUseDefaultPrinter())
                {
                    string impresora = moleQule.Library.Invoice.ModulePrincipal.GetDefaultTicketPrinter();
                    PrintReport(report, impresora);
                }
                else
                {
                    ShowReport(report);
                }

                if (item.EEstado == EEstado.Abierto)
                {
                    ChangeStateAction(EEstadoItem.Emitido);
                }
            }
        }