public ReportDocument PrintInvoice() { InvoiceReportDocument invoiceReportDocument = new InvoiceReportDocument(); this.ReportDocument = invoiceReportDocument.GetReportDocument(this); return(this.ReportDocument); }
public InvoiceSummary(InvoiceType invoiceType, DateTime date, List <Invoice> invoiceList) { this.InvoiceType = invoiceType; this.Date = date; this.InvoiceList = invoiceList; this.invoiceReportDocument = new InvoiceReportDocument(); this.reportDocument = new ReportDocument(); }