From d6dac6671391ddfa29dc19dda79c8b194462ce07 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 21 Jan 2019 13:11:54 -0500 Subject: [PATCH] Fix broken date fields in survey response form --- templates/CRM/Campaign/Form/Task/Interview.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/CRM/Campaign/Form/Task/Interview.tpl b/templates/CRM/Campaign/Form/Task/Interview.tpl index c568dad101..7c749138f4 100644 --- a/templates/CRM/Campaign/Form/Task/Interview.tpl +++ b/templates/CRM/Campaign/Form/Task/Interview.tpl @@ -156,9 +156,7 @@ {continue} {/if} - {if ( ( $fieldName eq 'thankyou_date' ) or ( $fieldName eq 'cancel_date' ) or ( $fieldName eq 'receipt_date' ) or ( $fieldName eq 'activity_date_time') ) and $field.is_view neq 1 } - {include file="CRM/common/jcalendar.tpl" elementName=$fieldName elementIndex=$voterId batchUpdate=1} - {elseif $fieldName|substr:0:5 eq 'phone'} + {if $fieldName|substr:0:5 eq 'phone'} {assign var="phone_ext_field" value=$fieldName|replace:'phone':'phone_ext'} {$form.field.$voterId.$fieldName.html} {if $form.field.$voterId.$phone_ext_field.html} -- 2.25.1