diff options
-rw-r--r-- | FS/FS/cust_main/Billing_Batch.pm | 1 | ||||
-rw-r--r-- | httemplate/misc/payment.cgi | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing_Batch.pm b/FS/FS/cust_main/Billing_Batch.pm index 67208e6cc..c2416ab32 100644 --- a/FS/FS/cust_main/Billing_Batch.pm +++ b/FS/FS/cust_main/Billing_Batch.pm @@ -5,6 +5,7 @@ use vars qw( $conf ); use FS::Record qw( qsearch qsearchs dbh ); use FS::pay_batch; use FS::cust_pay_batch; +use FS::cust_bill_pay_batch; install_callback FS::UID sub { $conf = new FS::Conf; diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index a48aa0120..4860aed83 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -122,7 +122,7 @@ <TD ALIGN="right"><% mt('Account number') |h %></TD> <TD><INPUT TYPE="text" SIZE=10 NAME="payinfo1" VALUE="<%$account%>"></TD> <TD ALIGN="right"><% mt('Type') |h %></TD> - <TD><SELECT NAME="paytype"><% join('', map { qq!<OPTION VALUE="$_" !.($paytype eq $_ ? 'SELECTED' : '').">$_</OPTION>" } @FS::cust_main::paytypes) %></SELECT></TD> + <TD><SELECT NAME="paytype"><% join('', map { qq!<OPTION VALUE="$_" !.($paytype eq $_ ? 'SELECTED' : '').">$_</OPTION>" } FS::cust_payby->paytypes) %></SELECT></TD> </TR> <TR> <TD ALIGN="right"><% mt($routing_label) |h %></TD> |