Fix broken date fields in survey response form
authorColeman Watts <coleman@civicrm.org>
Mon, 21 Jan 2019 18:11:54 +0000 (13:11 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 21 Jan 2019 18:11:54 +0000 (13:11 -0500)
templates/CRM/Campaign/Form/Task/Interview.tpl

index c568dad101b7ddfd40bb7ccf85aa762d84a52bd3..7c749138f4e8e115280959fee04258e7ed9ad017 100644 (file)
                 {continue}
               {/if}
               <td class="compressed {$field.data_type} {$fieldName}">
-                {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}