diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-10-06 03:58:39 -0700 | 
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-10-06 03:58:39 -0700 | 
| commit | 2b500be7e787a54eb005caa274406957728d8b1b (patch) | |
| tree | debe0835dbe5d0cfc807951fcf6c20a88aa36056 | |
| parent | cf512ab17435a0199ae13a8faefef94600a7a61b (diff) | |
consider "quick payment entry" payments manual for payment receipt purposes, RT#33681
| -rw-r--r-- | FS/FS/cust_pay.pm | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 89bb193d2..d9ae0d39e 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -960,7 +960,7 @@ sub batch_insert {        }      } elsif ( !$error ) { #normal case: apply payments as usual -      $cust_pay->cust_main->apply_payments; +      $cust_pay->cust_main->apply_payments( 'manual'=>1 );      }    } @@ -1311,7 +1311,7 @@ sub process_batch_import {        my $cust_pay = shift;        my $cust_main = $cust_pay->cust_main                          or return "can't find customer to which payments apply"; -      my $error = $cust_main->apply_payments_and_credits; +      my $error = $cust_main->apply_payments_and_credits( 'manual'=>1 );        return $error                 ? "can't apply payments to customer ".$cust_pay->custnum."$error"                 : ''; | 
