X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_477.html;h=38073ad336280f13f793d4919a793b7449936cd5;hp=2a6878ef4fb946b8224f4d5eb6878aa0488aef27;hb=HEAD;hpb=0f359d5480aa1621d73ee802f420e8951abc620d diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html index 2a6878ef4..38073ad33 100755 --- a/httemplate/search/report_477.html +++ b/httemplate/search/report_477.html @@ -4,7 +4,14 @@ % $m->abort; % } <& /elements/header.html, 'FCC Form 477 Report' &> - +% if ( $curuser->access_right('Edit FCC report configuration') ) { +Preparation + +% } +
@@ -30,15 +37,14 @@ <& /elements/tr-checkbox-multiple.html, 'label' => 'Enable parts', 'field' => 'parts', - 'labels' => { - fixed_broadband => 'Fixed Broadband Subscription', - #7 => 'Part 7 (Mobile Wireless Broadband Subscription), - #8 => 'Part 8 (Mobile Local Telephone Subscription), - fixed_voice => 'Voice Telephone Subscription', - local_phone => 'Local Exchange Telephone Subscription', - voip => 'Interconnected VoIP Subscription', - }, - options => [ 6, 9, 10, 11 ], + 'labels' => $part_titles, + 'options' => [ keys %$part_titles ] + &> + + <& /elements/tr-checkbox.html, + 'label' => 'Ignore package quantities', + 'field' => 'ignore_quantity', + 'value' => 1, &>
@@ -50,8 +56,12 @@ <& /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; + +my $part_titles = FS::Report::FCC_477->parts; +