From 0621b69fdc1c60fb6fa1094c697fbf186a7eeeb3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 1 Oct 2021 16:50:45 +1300 Subject: [PATCH] Another enotice fix --- templates/CRM/Contribute/Form/Search/Common.tpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Contribute/Form/Search/Common.tpl b/templates/CRM/Contribute/Form/Search/Common.tpl index 88bef92930..99aa39bee9 100644 --- a/templates/CRM/Contribute/Form/Search/Common.tpl +++ b/templates/CRM/Contribute/Form/Search/Common.tpl @@ -58,12 +58,14 @@ - {$form.contribution_or_softcredits.label}
- {$form.contribution_or_softcredits.html}
-
- {$form.contribution_soft_credit_type_id.label}
- {$form.contribution_soft_credit_type_id.html|crmAddClass:twenty} -
+ {if !empty($form.contribution_or_softcredits)} + {$form.contribution_or_softcredits.label}
+ {$form.contribution_or_softcredits.html}
+
+ {$form.contribution_soft_credit_type_id.label}
+ {$form.contribution_soft_credit_type_id.html|crmAddClass:twenty} +
+ {/if} {$form.invoice_number.label}
-- 2.25.1