}
public function buildQuickForm() {
- CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'packages/jquery/plugins/jquery.redirect.min.js', 0, 'html-header');
+ CRM_Core_Resources::singleton()
+ ->addScriptFile('civicrm', 'packages/jquery/plugins/jquery.redirect.min.js', 0, 'html-header');
$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']);
'status_id',
ts('Batch Status'),
array(
- '' => ts('- any -' ),
+ '' => ts('- any -'),
array_search('Open', $batchStatus) => ts('Open'),
array_search('Closed', $batchStatus) => ts('Closed'),
array_search('Exported', $batchStatus) => ts('Exported'),
'select',
'payment_instrument_id',
ts('Payment Instrument'),
- array('' => ts('- any -' )) + CRM_Contribute_PseudoConstant::paymentInstrument(),
+ array('' => ts('- any -')) + CRM_Contribute_PseudoConstant::paymentInstrument(),
FALSE
);
$this->add('select',
'batch_update',
- ts('Task' ),
+ ts('Task'),
array('' => ts('- actions -')) + $batchAction);
$this->add('submit', 'submit', ts('Go'),
'type' => 'refresh',
'name' => ts('Search'),
'isDefault' => TRUE,
- )
+ ),
)
);
parent::buildQuickForm();