$this->rel_types[$relid] = $v['label_b_a'];
}
+ $this->deleted_labels = array('' => ts('- select -'), 0 => ts('No'), 1 => ts('Yes'));
+
$this->caseActivityTypes = array();
foreach (CRM_Case_PseudoConstant::caseActivityType() as $typeDetail) {
$this->caseActivityTypes[$typeDetail['id']] = $typeDetail['label'];
),
'status_id' => array('title' => ts('Case Status')),
'case_type_id' => array('title' => ts('Case Type')),
+ 'is_deleted' => array('title' => ts('Deleted?'),
+ 'default' => FALSE,
+ 'type' => CRM_Utils_Type::T_INT,
+ ),
),
'filters' =>
array(
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
'options' => $this->case_types,
),
+ 'is_deleted' => array('title' => ts('Deleted?'),
+ 'type' => CRM_Utils_Type::T_INT,
+ 'operatorType' => CRM_Report_Form::OP_SELECT,
+ 'options' => $this->deleted_labels,
+ 'default' => 0,
+ ),
),
),
'civicrm_contact' =>
$entryFound = TRUE;
}
+ if (array_key_exists('civicrm_case_is_deleted', $row)) {
+ $value = $row['civicrm_case_is_deleted'];
+ $rows[$rowNum]['civicrm_case_is_deleted'] = $this->deleted_labels[$value];
+ $entryFound = TRUE;
+ }
+
if (!$entryFound) {
break;
}