diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:58 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:58 -0700 |
| commit | ef8dcd0957e727a6faf3378c52ebec8c278b01ee (patch) | |
| tree | abc6869a4ccd27e589730043dd3bb65ab642a712 /httemplate/edit/cust_main | |
| parent | 44470195c16de08d1d48ae0ca9940596bda21849 (diff) | |
add anniversary date, RT#18631
Diffstat (limited to 'httemplate/edit/cust_main')
| -rw-r--r-- | httemplate/edit/cust_main/birthdate.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/birthdate.html b/httemplate/edit/cust_main/birthdate.html index 6d1c221aa..5ea8e1828 100644 --- a/httemplate/edit/cust_main/birthdate.html +++ b/httemplate/edit/cust_main/birthdate.html @@ -10,6 +10,7 @@ }) %> % } + % if ( $conf->exists('cust_main-enable_spouse_birthdate') ) { <% include( '/elements/tr-input-date-field.html', { 'name' => 'spouse_birthdate', @@ -21,6 +22,19 @@ }) %> % } + +% if ( $conf->exists('cust_main-enable_anniversary_date') ) { + <% include( '/elements/tr-input-date-field.html', { + 'name' => 'anniversary_date', + 'value' => $cust_main->anniversary_date, + 'label' => 'Anniversary Date', + 'format' => ( $conf->config('date_format') || "%m/%d/%Y" ), + 'usedatetime' => 1, + 'noinit' => $noinit++, + }) + %> +% } + </TABLE> <%init> |
