diff options
author | ivan <ivan> | 2002-07-03 03:47:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-03 03:47:40 +0000 |
commit | 2c9b97801b3981efaf6c65118e3cc1a0368e649c (patch) | |
tree | 538401050aac5124e4925fa7a6c8f3722fc56a67 /httemplate/edit/process | |
parent | e1ef1693e6942bbf82ee088f782d871a3b5eefee (diff) |
one-time charges with tax classes
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r-- | httemplate/edit/process/quick-charge.cgi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/edit/process/quick-charge.cgi b/httemplate/edit/process/quick-charge.cgi index 49175d848..477f58508 100644 --- a/httemplate/edit/process/quick-charge.cgi +++ b/httemplate/edit/process/quick-charge.cgi @@ -12,7 +12,12 @@ my $amount = $1; my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } ) or die "unknown custnum $custnum"; -my $error = $cust_main->charge( $amount, $cgi->param('pkg') ); +my $error = $cust_main->charge( + $amount, + $cgi->param('pkg'), + '$'. sprintf("%.2f",$amount), + $cgi->param('taxclass') +); if ($error) { %> |