X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main-zip.html;h=aa802f302527c50ea1565577df9123d36e701c25;hb=089001124dbd8016d5d51f9aaef50fb9f101dae5;hp=30020f3aad0af3b07ac4001abef9af54ad65eb0d;hpb=d453a487d95258e1f11f134fc5864f7e6458a6ef;p=freeside.git diff --git a/httemplate/search/report_cust_main-zip.html b/httemplate/search/report_cust_main-zip.html index 30020f3aa..aa802f302 100644 --- a/httemplate/search/report_cust_main-zip.html +++ b/httemplate/search/report_cust_main-zip.html @@ -1,4 +1,4 @@ -<%= include('/elements/header.html', 'Zip code report') %> +<% include('/elements/header.html', 'Zip code report') %>
@@ -33,14 +33,21 @@ - <%= include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), - 'label' => 'for agent: ', + <% include( '/elements/tr-select-agent.html', + 'curr_value' => scalar( $cgi->param('agentnum') ), + 'label' => 'For agent: ', + 'disable_empty' => 0, ) %>
- - + +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('List zip codes'); + +