diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-05-14 15:13:21 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-05-14 15:13:21 -0700 |
| commit | f8daa9dcd20594a097c959136a50211ce26abf51 (patch) | |
| tree | 1ac6d378042b8c236a9102f594061fe5ec366bac /httemplate/edit/process/cust_main.cgi | |
| parent | 705efcf219b616103b01b4de90c5bbaf678d8340 (diff) | |
option to keep an email address but not email it invoices, RT#17676
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
| -rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 295e99187..15dd4612c 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -66,6 +66,8 @@ my $new = new FS::cust_main ( { } fields('cust_main') } ); +$new->invoice_noemail( ($cgi->param('invoice_email') eq 'Y') ? '' : 'Y' ); + $cgi->param('duplicate_of_custnum') =~ /^(\d+)$/; my $duplicate_of = $1; if ( $duplicate_of ) { |
