improved fcc 477 report #7783
[freeside.git] / httemplate / search / 477partIV.html
diff --git a/httemplate/search/477partIV.html b/httemplate/search/477partIV.html
new file mode 100755 (executable)
index 0000000..269a925
--- /dev/null
@@ -0,0 +1,17 @@
+%if ( $cgi->param('_type') eq 'html' || $cgi->param('_type') eq 'html-print' ) {
+<H2>Part IV</H2>
+%} elsif ( $cgi->param('_type') eq 'xml' ) {
+<notes>
+%}
+<% $cgi->param('notes') |h %>
+%if ( $cgi->param('_type') eq 'xml' ) {
+</notes>
+%}
+<%init>
+
+my $curuser = $FS::CurrentUser::CurrentUser;
+
+die "access denied"
+  unless $curuser->access_right('List packages');
+  
+</%init>