Ejemplo n.º 1
0
        protected ReportBase(IXmlPrinter printer, string resourceName, IProjectData projectData)
        {
            this.printer  = printer;
            this.setup    = projectData.Storage.Setup;
            this.YearData = projectData.CurrentYear;

            this.printer.LoadDocument(resourceName);
        }
Ejemplo n.º 2
0
 /// <summary>
 ///     Implements the report for the report showing totals and balances.
 /// </summary>
 /// <remarks>
 ///     This is an overview over all accounts with totals and balances, grouped by account groups.
 /// </remarks>
 public TotalsAndBalancesReport(
     IXmlPrinter printer,
     IProjectData projectData,
     IEnumerable <AccountingDataAccountGroup> accountGroups)
     : base(printer, ResourceName, projectData)
 {
     this.accountGroups = accountGroups.ToList();
 }
Ejemplo n.º 3
0
 public TotalJournalReport(IXmlPrinter printer, IProjectData projectData)
     : base(printer, ResourceName, projectData)
 {
 }
Ejemplo n.º 4
0
 public AccountJournalReport(IXmlPrinter printer, IProjectData projectData)
     : base(printer, ResourceName, projectData)
 {
     this.accounts = projectData.Storage.AllAccounts.OrderBy(a => a.ID);
 }
Ejemplo n.º 5
0
 public TestReport(IXmlPrinter printer, ProjectData projectData)
     : base(printer, string.Empty, projectData)
 {
 }
Ejemplo n.º 6
0
 public AnnualBalanceReport(IXmlPrinter printer, IProjectData projectData)
     : base(printer, ResourceName, projectData)
 {
     this.allAccounts = projectData.Storage.AllAccounts.ToList();
 }