summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg_report_option.html
diff options
context:
space:
mode:
authorjeff <jeff>2009-06-29 13:53:25 +0000
committerjeff <jeff>2009-06-29 13:53:25 +0000
commit55f003404af6a2416571138356d11c5ad3755e58 (patch)
tree3f57ddfbe96b7057859857858f847324eef066bd /httemplate/edit/part_pkg_report_option.html
parent7784bb1c43ea3031b2ca3bedf4b1a39aeb4ffe17 (diff)
FCC form 477 reporting #4912
Diffstat (limited to 'httemplate/edit/part_pkg_report_option.html')
-rw-r--r--httemplate/edit/part_pkg_report_option.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg_report_option.html b/httemplate/edit/part_pkg_report_option.html
new file mode 100644
index 000000000..a6f8e57b7
--- /dev/null
+++ b/httemplate/edit/part_pkg_report_option.html
@@ -0,0 +1,23 @@
+<% include( 'elements/edit.html',
+ 'name' => 'Package optional report class',
+ 'table' => 'part_pkg_report_option',
+ 'fields' => [
+ 'name',
+ { field=>'num', type=>'hidden' },
+ { field=>'disabled', type=>'checkbox', value=>'Y', },
+ ],
+ 'labels' => {
+ 'num' => 'Class number',
+ 'name' => 'Class name',
+ 'disabled' => 'Disable class',
+ },
+ 'viewall_dir' => 'browse',
+ )
+
+%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>