add (unfinished) credit card surcharge, part 1
[freeside.git] / FS / FS / part_event / Action / cust_bill_realtime_card.pm
index c1fdba9..1a2d046 100644 (file)
@@ -22,7 +22,8 @@ sub do_action {
   #my $cust_main = $self->cust_main($cust_bill);
   my $cust_main = $cust_bill->cust_main;
 
-  $cust_bill->realtime_card;
+  my %opt = ('cc_surcharge_from_event' => 1);
+  $cust_bill->realtime_card(%opt);
 }
 
 1;