Generic Reporting

Overview

Generic reporting implemented to allow

Classes and Files

  1. Configuration file of all fields usable in generic reports
    • app/config/Settings-Reports.php
  2. Smarty templates to display the output of a report
    • app/tran/draw/list/DrawingListHeaderHeader.tpl - Drawing list view selection
    • app/tran/genrep/GenericReportHeader.tpl - Report header row
    • app/tran/genrep/GenericReportRecord.tpl - Report record rows
    • app/tran/genrep/GenericReportPrintHeader.tpl - Report header row (print format)
    • app/tran/genrep/GenericReportPrintRecord.tpl - Report record rows (print format)
  3. Administration
    • app/form/ReportForm.php - PHP form class for generic reports
    • app/js/report.js - backbone based javascript to add/remove/change report fields
    • app/tran/report - directories of the transactions
  4. Usage
    • app/lib/GenericReport.php - PHP class to instantiate generic report, read configuration, dereference object class

Database Model

Configuration

Configuration of report types and fields available for reports

All report types and report fields available in reports should be configured first in app/config/Settings-Reports.php in $_CFG['GenericReport'].

Note, that there are feature dependent settings at the end of the file, which can overwrite normal settings or add new fields

Generic Settings:

Field Definitions:

GenericReporting (last edited 2012-11-12 15:53:43 by C3E4A006)

Copyright 2008-2014, SoftXS GmbH, Switzerland