$this->assign('batchStatus', $this->_batchStatus);
}
+ /**
+ * @return array
+ */
function setDefaultValues() {
$defaults = array();
$status = CRM_Utils_Request::retrieve('status', 'Positive', CRM_Core_DAO::$_nullObject, FALSE, 1);
$attributes = CRM_Core_DAO::getAttribute('CRM_Batch_DAO_Batch');
$attributes['total']['class'] = $attributes['item_count']['class'] = 'number';
$this->add('text', 'title', ts('Batch Name'), $attributes['title']);
-
+
$batchStatus = CRM_Core_PseudoConstant::get('CRM_Batch_DAO_Batch', 'status_id', array('labelColumn' => 'name'));
$this->add(
'select',
$this->add('submit','submit', ts('Go'),
array(
- 'class' => 'form-submit',
+ 'class' => 'crm-form-submit',
'id' => 'Go',
));