add option _not_ to apply a lineitem credit, RT#18676
[freeside.git] / httemplate / edit / process / credit-cust_bill_pkg.html
index 1b61997..cbcf619 100644 (file)
@@ -32,6 +32,7 @@ my $error = FS::cust_credit->credit_lineitems(
   'billpkgnums'       => \@billpkgnums,
   'setuprecurs'       => \@setuprecurs,
   'amounts'           => \@amounts,
+  'apply'             => ( $cgi->param('apply') eq 'yes' ),
 
   #the credit
   'newreasonnum'      => scalar($cgi->param('newreasonnum')),