From 694ca46e05b80a5950504b87b109403de9e8ca3b Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 13 Feb 2014 18:28:46 +0530 Subject: [PATCH] Removal of copy icon and is_default expose in edit form of Soft Credit type --- CRM/Admin/Form/Options.php | 1 + templates/CRM/Batch/Form/Entry.tpl | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index 2e610fe438..09ef9be861 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -280,6 +280,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { 'case_type', 'payment_instrument', 'communication_style', + 'soft_credit_type', ); if (in_array($this->_gName, $showIsDefaultGroups)) { diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index 6f84ef48b4..96095363f3 100644 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -57,10 +57,12 @@ {/if} {foreach from=$fields item=field key=fieldName}
+ {if $field.name|substr:0:11 ne 'soft_credit'} {ts 1=$field.title}Click to copy %1 from row one to all rows.{/ts}{$field.title} + title="{ts}Click here to copy the value in row one to ALL rows.{/ts}"/> + {/if}{$field.title}
{/foreach} -- 2.25.1