CRM-16245 display payment processor description in back office
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 7 Apr 2015 04:57:41 +0000 (16:57 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 7 Apr 2015 04:57:41 +0000 (16:57 +1200)
CRM/Contribute/Form/AbstractEditPayment.php

index ebacd18ed57c365c0864be21a455f018fb108a97..50a5ed5db3c2e0adc84adca64d99d2ade7bbc3f8 100644 (file)
@@ -421,6 +421,9 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
       $this->_processors = array();
       foreach ($this->_paymentProcessors as $id => $processor) {
         $this->_processors[$id] = ts($processor['name']);
+        if (!empty($processor['description'])) {
+          $this->_processors[$id] .= ' : ' . ts($processor['description']);
+        }
       }
       //get the valid recurring processors.
       $test = strtolower($this->_mode) == 'test' ? TRUE : FALSE;