X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=9486c24e0c3fcdb59d9a42ec184b9b73c9ad8b0f;hb=2e52b3a969c6325e9b74ef4ac7f5d435a999f309;hp=6e66ea7e6615e151d1a9e46cbdb39cd3f8cade37;hpb=3b46d452696901ff2dec41125f68c689ecffd5b9;p=freeside.git diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 6e66ea7e6..9486c24e0 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -197,8 +197,9 @@ my @menu = ( url => sub { my $cust_main = shift; my $agentnum = $cust_main->agentnum; - 'misc/email-customers.html?table=cust_main;search_hash='. - 'agent_virt_agentnum='.$agentnum.";custnum=$custnum"; + 'misc/email-customers.html?table=cust_main;'. + 'agent_virt_agentnum='.$agentnum.";custnum=$custnum;url=". + uri_escape($cgi->self_url); }, condition => sub { $invoicing_list_emailonly }, acl => 'Bulk send customer notices', @@ -451,9 +452,9 @@ my @menu = ( }, # separator, definitely { - label => 'Download statement', + label => 'Download PDF statement', url => "view/cust_main_statement-pdf.cgi?$custnum", - acl => 'List invoices', + acl => 'View legacy typeset statements', condition => sub { FS::cust_bill->count('custnum = ?', shift->custnum) > 0 }, @@ -487,7 +488,7 @@ my @menu = ( url => sub { my $cust_main = shift; my $agentnum = $cust_main->agentnum; - 'misc/email-customer-statement.html?table=cust_main;search_hash='. + 'misc/email-customer-statement.html?table=cust_main;'. 'agent_virt_agentnum='.$agentnum.";custnum=$custnum;url=". uri_escape($cgi->self_url); },