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

Public Member Functions

 preprocess ()
 
 fetch_report_data ()
 
 calculate_footers ($data)
 
 form_content ()
 
 helpContent ()
 
- 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 = '[Customer Count] lists the number of customers per day, separated by membership type.'
 
 $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

 $title = "Fannie : Customer Report"
 
 $header = "Customer Report"
 
 $report_cache = 'day'
 
 $required_fields = array('date1', 'date2')
 
- 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

CustomerCountReport::calculate_footers (   $data)

Sum the quantity and total columns

CustomerCountReport::fetch_report_data ( )

Create result records based on date and increment them when the same type is encountered again


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