Minor fixes
authormoremanish <manish.more@webaccess.co.in>
Fri, 19 Dec 2014 14:41:45 +0000 (20:11 +0530)
committermoremanish <manish.more@webaccess.co.in>
Fri, 19 Dec 2014 14:41:45 +0000 (20:11 +0530)
CRM/Batch/Form/Entry.php
templates/CRM/Batch/Form/Entry.tpl

index 92fa5dcd8d1ac7124c7577c302e9fa1e965cbc7f..9a9b05b9325cea175e4aeadbdb684d3601fa8800 100755 (executable)
@@ -228,7 +228,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
           }
         }
 
-        $this->add('select', "open_pledges[$rowNumber]", ts('Open Pledges (Due Date - Amount)'), $options);
+        $this->add('select', "open_pledges[$rowNumber]", '', $options);
      }
 
       foreach ($this->_fields as $name => $field) {
@@ -297,7 +297,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
         }
       }
     }
-    if ($self->_batchInfo['type_id'] == $batchTypes['Pledge']) {
+    if ($self->_batchInfo['type_id'] == $batchTypes['Pledge Payment']) {
       foreach (array_unique($params["open_pledges"]) as $value) {
         $duplicateRows = array_keys($params["open_pledges"], $value);
         if (count($duplicateRows) > 1) {
index ddffa3e424b1ee2a84a1047347b4fd65655847f4..d61c82524f78cf0fa8db2d2a515306d2cab7d3dd 100755 (executable)
@@ -56,7 +56,7 @@
         <div class="crm-grid-cell">&nbsp;</div>
       {/if}
       {if $batchType eq 3}
-        <div class="crm-grid-cell">{ts}Open Pledges{/ts}</div>
+        <div class="crm-grid-cell">{ts}Open Pledges (Due Date - Amount){/ts}</div>
       {/if}
       {foreach from=$fields item=field key=fieldName}
         <div class="crm-grid-cell">