1 <% ntable("#cccccc", 2) %>
2 % if ( $conf->exists('cust_main-enable_birthdate') ) {
3 <% include( '/elements/tr-input-date-field.html', {
5 'value' => $cust_main->birthdate,
6 'label' => 'Date of Birth',
7 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ),
13 % if ( $conf->exists('cust_main-enable_spouse_birthdate') ) {
14 <% include( '/elements/tr-input-date-field.html', {
15 'name' => 'spouse_birthdate',
16 'value' => $cust_main->spouse_birthdate,
17 'label' => 'Spouse Date of Birth',
18 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ),
20 'noinit' => $noinit++,
27 my( $cust_main, %opt ) = @_;
28 my $conf = new FS::Conf;