Merge pull request #4916 from totten/master-casetypetest-cleanup
[civicrm-core.git] / CRM / Financial / Form / Search.php
index 45dfb11ecb2bad521bee2971c6b092debf98f334..d56c502170efc0425156203cc848bbf9dbc30118 100644 (file)
@@ -55,7 +55,8 @@ class CRM_Financial_Form_Search extends CRM_Core_Form {
   }
 
   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']);
@@ -66,7 +67,7 @@ class CRM_Financial_Form_Search extends CRM_Core_Form {
       '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'),
@@ -78,7 +79,7 @@ class CRM_Financial_Form_Search extends CRM_Core_Form {
       'select',
       'payment_instrument_id',
       ts('Payment Instrument'),
-      array('' => ts('- any -' )) + CRM_Contribute_PseudoConstant::paymentInstrument(),
+      array('' => ts('- any -')) + CRM_Contribute_PseudoConstant::paymentInstrument(),
       FALSE
     );
 
@@ -98,7 +99,7 @@ class CRM_Financial_Form_Search extends CRM_Core_Form {
 
     $this->add('select',
       'batch_update',
-      ts('Task' ),
+      ts('Task'),
       array('' => ts('- actions -')) + $batchAction);
 
     $this->add('submit', 'submit', ts('Go'),
@@ -113,7 +114,7 @@ class CRM_Financial_Form_Search extends CRM_Core_Form {
           'type' => 'refresh',
           'name' => ts('Search'),
           'isDefault' => TRUE,
-        )
+        ),
       )
     );
     parent::buildQuickForm();