diff options
author | jeff <jeff> | 2009-06-29 13:53:25 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-06-29 13:53:25 +0000 |
commit | 55f003404af6a2416571138356d11c5ad3755e58 (patch) | |
tree | 3f57ddfbe96b7057859857858f847324eef066bd /httemplate/browse | |
parent | 7784bb1c43ea3031b2ca3bedf4b1a39aeb4ffe17 (diff) |
FCC form 477 reporting #4912
Diffstat (limited to 'httemplate/browse')
-rw-r--r-- | httemplate/browse/part_pkg_report_option.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/httemplate/browse/part_pkg_report_option.html b/httemplate/browse/part_pkg_report_option.html new file mode 100644 index 000000000..90540bca2 --- /dev/null +++ b/httemplate/browse/part_pkg_report_option.html @@ -0,0 +1,28 @@ +<% include( 'elements/browse.html', + 'title' => 'Package optional report classes', + 'html_init' => $html_init, + 'name' => 'package optional report classes', + 'disableable' => 1, + 'disabled_statuspos' => 2, + 'query' => { 'table' => 'part_pkg_report_option', + 'hashref' => {}, + 'extra_sql' => 'ORDER BY name', + }, + 'count_query' => 'SELECT COUNT(*) FROM part_pkg_report_option', + 'header' => [ '#', 'Class' ], + 'fields' => [ 'num', 'name' ], + 'links' => [ $link, $link ], + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $html_init = + 'Package optional report classes define groups of packages, for reporting purposes.'. + qq!<BR><BR><A HREF="${p}edit/part_pkg_report_option.html"><I>Add a class</I></A><BR><BR>!; + +my $link = [ $p.'edit/part_pkg_report_option.html?', 'num' ]; + +</%init> |