'required' => TRUE,
),
'id' => array(
+ 'title' => 'Event ID',
'no_display' => TRUE,
'required' => TRUE,
),
$dao = CRM_Core_DAO::executeQuery($sql);
if ($dao->fetch()) {
+ $avg = 0;
if ($dao->count && $dao->amount) {
$avg = $dao->amount / $dao->count;
}
'title' => 'Total Income',
'type' => CRM_Utils_Type::T_MONEY,
);
- $statistics['counts']['avg '] = array(
+ $statistics['counts']['avg'] = array(
'value' => $avg,
'title' => 'Average',
'type' => CRM_Utils_Type::T_MONEY,
'contribute/lybunt' => 'same as sybunt - fatals on force url & test identifies why',
'event/income' => 'I do no understant why but error is Call to undefined method CRM_Report_Form_Event_Income::from() in CRM/Report/Form.php on line 2120',
'contact/relationship' => '(see contribute/repeat), property declaration issue, Undefined property: CRM_Report_Form_Contact_Relationship::$relationType in /Contact/Relationship.php(486):',
- 'event/incomesummary' => 'Undefined index: title, Report/Form/Event/IncomeCountSummary.php(187)',
'logging/contact/summary' => '(likely to be test releated) probably logging off Undefined index: Form/Contact/LoggingSummary.php(231): PHP',
'logging/contact/detail' => '(likely to be test releated) probably logging off DB Error: no such table',
'logging/contribute/summary' => '(likely to be test releated) probably logging off DB Error: no such table',