CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Attributes | List of all members
StoreSummaryReport Class Reference
Inheritance diagram for StoreSummaryReport:
FannieReportPage FanniePage

Public Member Functions

 preprocess ()
 
 css_content ()
 
 report_description_content ()
 
 fetch_report_data ()
 
 calculate_footers ($data)
 
 form_content ()
 
- Public Member Functions inherited from FannieReportPage
 preprocess ()
 
 form_content ()
 
 bodyContent ()
 
 report_content ()
 
 both_content ()
 
 calculate_footers ($data)
 
 assign_headers ()
 
 select_headers ($incrIndex=False)
 
 report_description_content ()
 
 report_end_content ()
 
 fetch_report_data ()
 
 render_data ($data, $headers=array(), $footers=array(), $format='html')
 
 dekey_array ($arr)
 
 htmlLine ($row, $header=False)
 
 csvLine ($row)
 
 excelFormat ($item, $style='')
 
 xlsMeta ($data)
 
 drawPage ()
 
 draw_page ()
 

Public Attributes

 $description
 
 $report_set = 'Sales Reports'
 
 $themed = true
 
- Public Attributes inherited from FannieReportPage
 $required = True
 
 $description
 
 $page_set = 'Reports'
 
 $report_set = ''
 
 $discoverable = true
 
const META_BOLD = 1
 
const META_BLANK = 2
 
const META_REPEAT_HEADERS = 4
 
const META_CHART_DATA = 8
 
const META_COLOR = 16
 

Protected Attributes

 $required_fields = array('date1', 'date2')
 
 $show_zero
 
 $sortable = true
 
 $no_sort_but_style = true
 
- Protected Attributes inherited from FannieReportPage
 $content_function = "form_content"
 
 $required_fields = array()
 
 $report_headers = array()
 
 $report_format = 'html'
 
 $report_cache = 'none'
 
 $multi_report_mode = False
 
 $multi_counter = 1
 
 $header_index = 0
 
 $sortable = true
 
 $no_sort_but_style = false
 
 $sort_column = 0
 
 $sort_direction = 0
 
 $no_jquery = false
 
 $chart_label_column = 0
 
 $chart_data_columns = array()
 

Additional Inherited Members

- Protected Member Functions inherited from FannieReportPage
 format ($data)
 
 checkDataCache ()
 
 freshenCache ($data)
 
 defaultDescriptionContent ($datefields=array())
 
 formatCheck ()
 

Member Function Documentation

StoreSummaryReport::css_content ( )

Define any CSS needed

Returns
A CSS string
StoreSummaryReport::fetch_report_data ( )

Margin column was added to departments but if deptMargin is present data may not have been migrated

Discounts applied at the member type level.

The summary of grand totals proportions for the whole store.

StoreSummaryReport::preprocess ( )

Check if a non-html format has been requested from the links in the initial display, not the form.

Member Data Documentation

StoreSummaryReport::$description
Initial value:
= "[Store Summary Report] shows total sales, costs and taxes
per department for a given date range in dollars as well as a percentage of
store-wide sales and costs. It uses actual item cost if known and estimates
cost from price and department margin if not;
relies on department margins being accurate."

The documentation for this class was generated from the following file: