diff options
author | Mark Wells <mark@freeside.biz> | 2016-01-08 17:03:46 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-01-08 17:04:04 -0800 |
commit | 571291dda91dd92db80660aa3d67333b0c88fc34 (patch) | |
tree | e2a2d75bca09be9d6e887d49675a7992d73c85d4 /httemplate/edit | |
parent | c47980a8d9e1b83a80232674a57a875e319f9643 (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 { |