public override void PrintObject() { CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, Resources.Labels.COBRO_TODOS, this.Text); CobroDetailRpt rpt = reportMng.GetDetallesCobroIndividualReport(_cobro); ShowReport(rpt); }
protected override void PrintAction() { PgMng.Reset(5, 1, Face.Resources.Messages.RETRIEVING_DATA, this); Library.Invoice.QueryConditions conditions = new Library.Invoice.QueryConditions(); conditions.Cliente = TodosCliente_CkB.Checked ? null : _cliente; conditions.Serie = TodosSerie_CkB.Checked ? null : _serie; conditions.MedioPago = MedioPago_CB.SelectedValue != null ? (EMedioPago)(long)MedioPago_CB.SelectedValue : EMedioPago.Todos; conditions.FechaIni = FInicial_DTP.Checked ? FInicial_DTP.Value : DateTime.MinValue; conditions.FechaFin = FFinal_DTP.Checked ? FFinal_DTP.Value : DateTime.MaxValue; string filtro = GetFilterValues(); PgMng.Grow(); OutputInvoiceList facturas = OutputInvoiceList.GetList(conditions, false); PgMng.Grow(); CobroFacturaList cobros = CobroFacturaList.GetList(conditions); PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT); CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, filtro); InformeCobrosRpt rpt = reportMng.GetInformeCobrosReport(cobros, facturas); PgMng.FillUp(); ShowReport(rpt); _action_result = DialogResult.Ignore; }
public override void PrintObject() { CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, Resources.Labels.COBRO_CLIENTES, "Cliente: " + Entity.Nombre); CobroClienteDetailRpt rpt = reportMng.GetCobroClienteDetailReport(Entity.GetInfo(), Resumen); ShowReport(rpt); }
public override void PrintDetailAction() { CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues); ChargeInfo cobro = ChargeInfo.Get(ActiveItem.Oid, ActiveItem.ETipoCobro, true); switch (ActiveItem.ETipoCobro) { case ETipoCobro.Cliente: { CobroDetailRpt report = reportMng.GetDetallesCobroIndividualReport(cobro); ShowReport(report); } break; case ETipoCobro.REA: { FacREAList expedientes = FacREAList.GetListByCobro(cobro.Oid); CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(cobro, expedientes); ShowReport(report); } break; } }
protected override void PrintAction() { CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema); FacREAList expedientes = FacREAList.GetListByCobro(Entity.Oid); CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(EntityInfo, expedientes); ShowReport(report); }
public override void PrintList() { PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this); CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues); PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT); CobroClienteListRpt report = reportMng.GetCobroClienteListReport(ChargeSummaryList.GetList((IList <ChargeSummary>)Datos.List)); PgMng.FillUp(); ShowReport(report); }
protected override void PrintCobroAction() { if (Cobro == null) { return; } CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema); ReportViewer.SetReport(reportMng.GetDetallesCobroREAIndividualReport(Cobro, Datos_Facturas.DataSource as FacREAList)); ReportViewer.ShowDialog(); }
public override void PrintDetailAction() { if (ActiveItem == null) { return; } CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues); FacREAList expedientes = FacREAList.GetListByCobro(ActiveOID); CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(ActiveItem, expedientes); ShowReport(report); }
public override void PrintQRAction() { PgMng.Reset(4, 1, Face.Resources.Messages.LOADING_DATA, this); CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues); reportMng.ShowQRCode = true; PgMng.Grow(); CobroREAList cReas = CobroREAList.GetList(false); PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT); CobroREAListRpt report = reportMng.GetCobroREAListReport(CobroList.GetList((IList <CobroInfo>)Datos.List), cReas); PgMng.FillUp(); ShowReport(report); }
protected override void PrintCobroAction() { if (Cobro == null) { return; } ChargeInfo c; if (Datos_Cobros.Current.GetType().Equals("ChargeInfo")) { c = (ChargeInfo)Datos_Cobros.Current; } else { c = Cobro.GetInfo(); } CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema); ReportViewer.SetReport(reportMng.GetDetallesCobroIndividualReport(c)); ReportViewer.ShowDialog(); }