X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_477.html;h=38073ad336280f13f793d4919a793b7449936cd5;hp=78ba35cfc338d346cf404d2d587ddb60f1adea9e;hb=HEAD;hpb=d7cf0d6bb3b81b1c91ef1bcc3252d56f96b65b0f diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html index 78ba35cfc..38073ad33 100755 --- a/httemplate/search/report_477.html +++ b/httemplate/search/report_477.html @@ -4,11 +4,13 @@ % $m->abort; % } <& /elements/header.html, 'FCC Form 477 Report' &> +% if ( $curuser->access_right('Edit FCC report configuration') ) { Preparation +% }
@@ -38,6 +40,12 @@ 'labels' => $part_titles, 'options' => [ keys %$part_titles ] &> + + <& /elements/tr-checkbox.html, + 'label' => 'Ignore package quantities', + 'field' => 'ignore_quantity', + 'value' => 1, + &>
@@ -48,8 +56,9 @@ <& /elements/footer.html &> <%init> +my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('List packages'); + unless $curuser->access_right('List packages'); my $conf = FS::Conf->new;