diff options
author | ivan <ivan> | 2009-12-04 04:40:28 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-12-04 04:40:28 +0000 |
commit | cf49d3c860a2000cfc23a0e0db472a7d6fc58935 (patch) | |
tree | d3fa44471ab7c004f06c09ca71747b77992aa9ce /httemplate/misc/process | |
parent | 051abf85ce0cad902a6c2b0d24a6f90d4e7c5147 (diff) |
customer-specific account report (and some small refactoring of method names to clash less), RT#6180
Diffstat (limited to 'httemplate/misc/process')
-rwxr-xr-x | httemplate/misc/process/bulk_change_pkg.cgi | 2 | ||||
-rw-r--r-- | httemplate/misc/process/email-customers.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/misc/process/bulk_change_pkg.cgi b/httemplate/misc/process/bulk_change_pkg.cgi index d2ab4bf49..e22dafef0 100755 --- a/httemplate/misc/process/bulk_change_pkg.cgi +++ b/httemplate/misc/process/bulk_change_pkg.cgi @@ -41,7 +41,7 @@ foreach my $field (qw( setup last_bill bill adjourn susp expire cancel )) { } -my $sql_query = FS::cust_pkg->search_sql(\%search_hash); +my $sql_query = FS::cust_pkg->search(\%search_hash); $sql_query->{'select'} = 'cust_pkg.pkgnum'; my $error = FS::cust_pkg::bulk_change( [ $cgi->param('new_pkgpart') ], diff --git a/httemplate/misc/process/email-customers.html b/httemplate/misc/process/email-customers.html index d254cfecb..c54bc6dca 100644 --- a/httemplate/misc/process/email-customers.html +++ b/httemplate/misc/process/email-customers.html @@ -4,6 +4,6 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices'); -my $server = new FS::UI::Web::JSRPC 'FS::cust_main::process_email_search_sql', $cgi; +my $server = new FS::UI::Web::JSRPC 'FS::cust_main::process_email_search_result', $cgi; </%init> |