X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_credit_bill.cgi;h=28f892f628e916a371d9ba377797989ed5734631;hb=1a033848671cad2cbe7687b37fc718b3b2a68b83;hp=23e2e6ce541eed56cda8a9914b469312f817444c;hpb=b8cfd0780aa40bb07f3215bf9cb58011f5e32a35;p=freeside.git diff --git a/httemplate/edit/process/cust_credit_bill.cgi b/httemplate/edit/process/cust_credit_bill.cgi index 23e2e6ce5..28f892f62 100755 --- a/httemplate/edit/process/cust_credit_bill.cgi +++ b/httemplate/edit/process/cust_credit_bill.cgi @@ -14,11 +14,12 @@ my $custnum = $cust_main->custnum; my $new; if ($cgi->param('invnum') =~ /^Refund$/) { $new = new FS::cust_refund ( { - 'reason' => $cust_credit->reason, + 'reason' => ( $cust_credit->reason || 'refund from credit' ), 'refund' => $cgi->param('amount'), 'payby' => 'BILL', #'_date' => $cgi->param('_date'), - 'payinfo' => 'Cash', + #'payinfo' => 'Cash', + 'payinfo' => 'Refund', 'crednum' => $crednum, } ); } else {