diff options
author | Mark Wells <mark@freeside.biz> | 2016-01-08 17:03:46 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-01-09 16:14:36 -0800 |
commit | 226279ba70554a39a2c81c736895f1b875b2d37f (patch) | |
tree | a7ce72fee474cad8d750e2f767e70cefae5802cb /httemplate/edit | |
parent | 75944a8bdfc02166b16f2f6c03adcff75bf6cc3b (diff) |
reconcile invoice destination contacts with multiple-customer contacts, #25536 and #27943
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/name.html | 2 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index 12d9d7405..20258897d 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -37,7 +37,7 @@ : 'label' %>">Email address(es)</SPAN> </TH> <TD> - <INPUT TYPE="text" NAME="invoice_email" ID="invoice_email_input" + <INPUT TYPE="text" NAME="invoice_email" ID="invoice_email_input" SIZE=40 VALUE="<% $cust_main->invoicing_list_emailonly_scalar %>"> </TD> </TR> diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 747de201a..d590fdef0 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -165,7 +165,7 @@ if ( $cgi->param('residential_commercial') eq 'Residential' ) { $error = 'Email address required'; } - $options{'invoicing_list'} = [ $email ]; + $options{'invoicing_list'} = [ split(/\s*,\s*/, $email) ]; # XXX really should include the phone numbers in here also } else { |