{$form.$phone_ext_field.html}
{/if}
{else}
- {if ( $field.data_type eq 'Date' or
- ( ( ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) or ( $n eq 'activity_date_time' ) ) ) ) and $field.is_view neq 1 }
+ {if
+ ( ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) or ( $n eq 'activity_date_time' ) ) and $field.is_view neq 1 }
{include file="CRM/common/jcalendar.tpl" elementName=$n}
{else}
{$form.$n.html}
{if $field.is_search_range}
{assign var=from value=$field.name|cat:'_from'}
{assign var=to value=$field.name|cat:'_to'}
- {if $field.data_type neq 'Date'}
<tr>
<td class="label">{$form.$from.label}</td>
<td class="description">{$form.$from.html} {$form.$to.label} {$form.$to.html}</td>
</tr>
- {else}
- <tr>
- <td class="label">{$form.$from.label}</td>
- <td class="description">{include file="CRM/common/jcalendar.tpl" elementName=$from}
- {$form.$to.label} {include file="CRM/common/jcalendar.tpl" elementName=$to}</td>
- </tr>
- {/if}
{else}
<tr>
<td class="label">
</td>
{else}
<td class="description">
- {if ( $field.data_type eq 'Date' or
- ( ( ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) ) ) ) }
+ {if ( $n eq 'birth_date' ) or ( $n eq 'deceased_date' ) }
{include file="CRM/common/jcalendar.tpl" elementName=$n}
{elseif $n|substr:0:5 eq 'phone'}
{assign var="phone_ext_field" value=$n|replace:'phone':'phone_ext'}