Пример #1
0
        public ReportDocument PrintInvoice()
        {
            InvoiceReportDocument invoiceReportDocument = new InvoiceReportDocument();

            this.ReportDocument = invoiceReportDocument.GetReportDocument(this);
            return(this.ReportDocument);
        }
Пример #2
0
        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();
        }