Difference between revisions of "Freeside:3:Documentation:Developer/FS/Report/Table/Daily"
From Freeside
< Freeside:3:Documentation:Developer | FS | Report | Table
m (Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
Line 16: | Line 16: | ||
#opt | #opt | ||
'agentnum' => 54 | 'agentnum' => 54 | ||
+ | 'cust_classnum' => [ 1,2,4 ], | ||
'params' => [ [ 'paramsfor', 'item_one' ], [ 'item', 'two' ] ], # ... | 'params' => [ [ 'paramsfor', 'item_one' ], [ 'item', 'two' ] ], # ... | ||
'remove_empty' => 1, #collapse empty rows, default 0 | 'remove_empty' => 1, #collapse empty rows, default 0 |
Latest revision as of 13:47, 27 June 2014
Contents
NAME
FS::Report::Table::Daily - Tables of report data, indexed daily
SYNOPSIS
use FS::Report::Table::Daily; my $report = new FS::Report::Table::Daily ( 'items' => [ 'invoiced', 'netsales', 'credits', 'receipts', ], 'start_month' => 4, 'start_year' => 2000, 'end_month' => 4, 'end_year' => 2020, 'start_day' => 2, 'end_day' => 27, #opt 'agentnum' => 54 'cust_classnum' => [ 1,2,4 ], 'params' => [ [ 'paramsfor', 'item_one' ], [ 'item', 'two' ] ], # ... 'remove_empty' => 1, #collapse empty rows, default 0 'item_labels' => [ ], #useful with remove_empty ); my $data = $report->data;
METHODS
- data
- Returns a hashref of data (!! describe)
BUGS
Documentation.