diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 17:57:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 17:57:01 -0700 |
commit | aa9537af853969b34d2da6ca855f1d2fcdec16d4 (patch) | |
tree | 7fcb68036163f572e3de95ac9e923807eb8659fc /httemplate/misc/email-customer-statement.html | |
parent | 31f3763747b82764bb019cfab5b2a2945fc9a99d (diff) | |
parent | a961013d0550e9e033b86e7bb677de05ddb9e7b7 (diff) |
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/misc/email-customer-statement.html')
-rw-r--r-- | httemplate/misc/email-customer-statement.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/misc/email-customer-statement.html b/httemplate/misc/email-customer-statement.html index 65660f1be..92ce1c4d1 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -5,13 +5,17 @@ 'no_search_fields' => [ 'start_date', 'end_date' ], 'alternate_form' => $alternate_form, 'post_search_hook' => $post_search_hook, + 'acl' => $acl, + 'process_url' => 'process/email-customer-statement.html', ) %> <%init> +my $acl = 'Resend invoices'; + die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('View invoices'); + unless $FS::CurrentUser::CurrentUser->access_right($acl); my $alternate_form = sub { # this could maaaybe be a separate element, for cleanliness |