1 <% include('elements/ApplicationCommon.html',
2 'error_redirect' => 'cust_credit_bill.cgi',
3 'src_table' => 'cust_credit',
4 'src_thing' => 'credit',
5 'link_table' => 'cust_credit_bill',
11 unless $FS::CurrentUser::CurrentUser->access_right('Apply credit');
13 if ( $cgi->param('src_amount') ) {
15 unless $FS::CurrentUser::CurrentUser->access_right('Post credit')