diff options
author | jeff <jeff> | 2009-10-28 19:01:18 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-10-28 19:01:18 +0000 |
commit | 2cb70470a8e5c3287146008e4ce2c4eb9f242373 (patch) | |
tree | e8d161557d4420f988245f3bf00d25d80b1d73d4 /httemplate/edit/process/cust_credit_bill.cgi | |
parent | 57f5975a062022e280680feed1f692f3e937414b (diff) |
UI changes for credit applications include on the fly tax calculations #4729
Diffstat (limited to 'httemplate/edit/process/cust_credit_bill.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_credit_bill.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/process/cust_credit_bill.cgi b/httemplate/edit/process/cust_credit_bill.cgi index c0f34ae5b..d3847dc40 100755 --- a/httemplate/edit/process/cust_credit_bill.cgi +++ b/httemplate/edit/process/cust_credit_bill.cgi @@ -10,4 +10,10 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Apply credit'); +if ( $cgi->param('src_amount') ) { + die "access denied" + unless ( $FS::CurrentUser::CurrentUser->access_right('Post credit') && + $FS::CurrentUser::CurrentUser->access_right('Delete credit') ); +} + </%init> |