From cf49d3c860a2000cfc23a0e0db472a7d6fc58935 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 4 Dec 2009 04:40:28 +0000 Subject: customer-specific account report (and some small refactoring of method names to clash less), RT#6180 --- httemplate/misc/process/bulk_change_pkg.cgi | 2 +- httemplate/misc/process/email-customers.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/misc/process') 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; -- cgit v1.2.1