X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=95ec70c54c9dd5f3d59031e4f9e6142482551888;hb=1d920e3661c29398763d05c82bbe3a493a19fbae;hp=92e0ae75381dbad5cf7fd099098baa366abf4901;hpb=ea75c42317d8f327d9dbbbf2f6127dc987f60b66;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 92e0ae753..95ec70c54 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -82,6 +82,7 @@ function validate_quick_charge () { $ +<% include('/elements/tr-select-pkg_class.html', '') %> <% include('/elements/tr-select-taxclass.html') %> Description: @@ -163,6 +164,9 @@ function validate_quick_charge () { <%init> +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('One-time charge'); + $cgi->param('custnum') =~ /^(\d+)$/ or die 'illegal custnum'; my $custnum = $1;