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