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/edit/process | |
parent | 8f3139933969cd2bc2a7d866d713c267f6d3cb18 (diff) |
add anniversary date, RT#18631
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 5ee553b32..866452de1 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -112,9 +112,12 @@ $new->tagnum( [ $cgi->param('tagnum') ] ); my %usedatetime = ( 'birthdate' => 1, 'spouse_birthdate' => 1, + 'anniversary_date' => 1, ); -foreach my $dfield (qw( birthdate spouse_birthdate signupdate )) { +foreach my $dfield (qw( + signupdate birthdate spouse_birthdate anniversary_date +)) { if ( $cgi->param($dfield) && $cgi->param($dfield) =~ /^([ 0-9\-\/]{0,10})$/) { |