X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbirthdate.html;h=ecf591fb01686cab053a3a2b25fe69959e0bef25;hb=20f03d52cc6c930f610c0b4466eeeeda54fdbb40;hp=e1adbd3bd13efb803243ca510621e0104c6d5f58;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/httemplate/edit/cust_main/birthdate.html b/httemplate/edit/cust_main/birthdate.html index e1adbd3bd..ecf591fb0 100644 --- a/httemplate/edit/cust_main/birthdate.html +++ b/httemplate/edit/cust_main/birthdate.html @@ -34,28 +34,28 @@ % } % if ( $conf->exists('cust_main-enable_birthdate') ) { - <% include( '/elements/tr-input-date-field.html', { - 'name' => 'birthdate', - 'value' => $cust_main->birthdate, - 'label' => 'Date of Birth', - 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ), - 'usedatetime' => 1, - 'noinit' => $noinit++, - }) - %> -% } + <& /elements/tr-input-date-field.html, { + 'name' => 'birthdate', + 'value' => $cust_main->birthdate, + 'label' => 'Date of Birth', + 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ), + 'usedatetime' => 1, + 'noinit' => $noinit++, + } + &> -% if ( $conf->exists('cust_main-enable_spouse_birthdate') ) { - <% include( '/elements/tr-input-date-field.html', { - 'name' => 'spouse_birthdate', - 'value' => $cust_main->spouse_birthdate, - 'label' => 'Spouse Date of Birth', - 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ), - 'usedatetime' => 1, - 'noinit' => $noinit++, - }) - %> -% } +% if ( $conf->exists('cust_main-enable_spouse') ) { + <& /elements/tr-input-date-field.html, { + 'name' => 'spouse_birthdate', + 'value' => $cust_main->spouse_birthdate, + 'label' => 'Spouse Date of Birth', + 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ), + 'usedatetime' => 1, + 'noinit' => $noinit++, + } + &> +% } # if enable_spouse +% } # if enable_birthdate % if ( $conf->exists('cust_main-enable_anniversary_date') ) { <% include( '/elements/tr-input-date-field.html', {