diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-03-01 09:08:48 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-03-01 09:08:48 -0800 |
| commit | 6e33e8af0974d49c1c0cf65b1963846d35f6c156 (patch) | |
| tree | c1b35bbc91a9681526e8c306339973cb3475ad5a /httemplate/misc | |
| parent | b946b5a2acce328ac0e163dbf7bf8e83e7eb677a (diff) | |
| parent | 47f8f6a1868aeb155b985c10f332c5a9d455f032 (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
| -rw-r--r-- | httemplate/misc/send-invoice.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/misc/send-invoice.cgi b/httemplate/misc/send-invoice.cgi index 435875348..dea081020 100644 --- a/httemplate/misc/send-invoice.cgi +++ b/httemplate/misc/send-invoice.cgi @@ -25,6 +25,7 @@ my $invnum = $cgi->param('invnum'); my $template = $cgi->param('template'); my $notice_name = $cgi->param('notice_name') if $cgi->param('notice_name'); my $method = $cgi->param('method'); +my $no_coupon = $cgi->param('no_coupon'); my $mode; if ( $cgi->param('mode') =~ /^(\d+)$/ ) { $mode = $1; @@ -42,6 +43,7 @@ $cust_bill->set('mode' => $mode) if $mode; #these methods die instead of return errors, so, handle that without a backtrace eval { $cust_bill->$method({ 'template' => $template, 'notice_name' => $notice_name, + 'no_coupon' => $no_coupon, }); }; my $error = $@; |
