From: moremanish Date: Fri, 19 Dec 2014 14:41:45 +0000 (+0530) Subject: Minor fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b8e805eb4dc2b230fbc9840b89b133d3c865ca69;p=civicrm-core.git Minor fixes --- diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 92fa5dcd8d..9a9b05b932 100755 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -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) { diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index ddffa3e424..d61c82524f 100755 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -56,7 +56,7 @@
 
{/if} {if $batchType eq 3} -
{ts}Open Pledges{/ts}
+
{ts}Open Pledges (Due Date - Amount){/ts}
{/if} {foreach from=$fields item=field key=fieldName}