RT#37064: Add action link to manually refund a payment
[freeside.git] / FS / FS / cust_main / Billing_Realtime.pm
index 5980bf5..790135c 100644 (file)
@@ -1622,6 +1622,7 @@ sub realtime_refund_bop {
 
   $order_number = $refund->order_number if $refund->can('order_number');
 
+  # change this to just use $cust_pay->delete_cust_bill_pay?
   while ( $cust_pay && $cust_pay->unapplied < $amount ) {
     my @cust_bill_pay = $cust_pay->cust_bill_pay;
     last unless @cust_bill_pay;