diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:36 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:36 -0700 |
| commit | c1cabbc4cea2e0cfd9e1db668100b97069140cf5 (patch) | |
| tree | 2ca980e18ec0f6ad4c7dc49bc1047d384c7b711d /httemplate/search | |
| parent | 8f3139933969cd2bc2a7d866d713c267f6d3cb18 (diff) | |
add anniversary date, RT#18631
Diffstat (limited to 'httemplate/search')
| -rwxr-xr-x | httemplate/search/cust_main.html | 2 | ||||
| -rwxr-xr-x | httemplate/search/report_cust_main.html | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index e164b98f4..f75b45197 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -61,7 +61,7 @@ for my $param (qw( classnum refnum payby tagnum )) { # parse dates ### -foreach my $field (qw( signupdate birthdate spouse_birthdate )) { +foreach my $field (qw( signupdate birthdate spouse_birthdate anniversary_date )) { my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field); diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 39cf695d8..526bce26c 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -76,6 +76,20 @@ </TR> % } +% if ( $conf->exists('cust_main-enable_anniversary_date') ) { + <TR> + <TD ALIGN="right" VALIGN="center"><% mt('Anniversary Date') |h %></TD> + <TD> + <TABLE> + <& /elements/tr-input-beginning_ending.html, + prefix => 'anniversary_date', + layout => 'horiz', + &> + </TABLE> + </TD> + </TR> +% } + <& /elements/tr-select-cust_tag.html, 'cgi' => $cgi, 'is_report' => 1, |
