diff options
Diffstat (limited to 'httemplate/edit/part_referral.html')
-rwxr-xr-x | httemplate/edit/part_referral.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/edit/part_referral.html b/httemplate/edit/part_referral.html new file mode 100755 index 000000000..daf8773f0 --- /dev/null +++ b/httemplate/edit/part_referral.html @@ -0,0 +1,19 @@ +<% include( 'elements/edit.html', + 'name' => 'Advertising source', + 'table' => 'part_referral', + 'fields' => [ 'referral', + { field=>'agentnum', type=>'select-agent', }, + ], + 'labels' => { 'referral' => 'Advertising source', + 'agentnum' => 'Agent', + }, + 'viewall_dir' => 'browse', + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Edit advertising sources') + || $FS::CurrentUser::CurrentUser->access_right('Edit global advertising sources'); + +</%init> |