[freeside-commits] freeside/httemplate/browse part_pkg_report_option.html, NONE, 1.1

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Jun 29 06:53:26 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv21344/httemplate/browse

Added Files:
	part_pkg_report_option.html 
Log Message:
FCC form 477 reporting #4912

--- NEW FILE: part_pkg_report_option.html ---
<% 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>



More information about the freeside-commits mailing list