add a config flag to ignore new style taxes instead of throwing fatal errors
[freeside.git] / httemplate / edit / part_referral.html
1 <% include( 'elements/edit.html',
2                 'name'        => 'Advertising source',
3                 'table'       => 'part_referral',
4                 'fields'      => [ 'referral',
5                                    { field=>'agentnum', type=>'select-agent', },
6                                  ],
7                 'labels'      => { 'referral' => 'Advertising source',
8                                    'agentnum' => 'Agent',
9                                  },
10                 'viewall_dir' => 'browse',
11            )
12 %>
13 <%init>
14
15 die "access denied"
16   unless $FS::CurrentUser::CurrentUser->access_right('Edit advertising sources')
17       || $FS::CurrentUser::CurrentUser->access_right('Edit global advertising sources');
18
19 </%init>