X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_477.html;h=bc2a95806a534622b353d49af710c90f427718af;hb=4ef5b3b917b7802a136551ad567dc9d649700f53;hp=2b5111209323b0ad344254d4cbb916f234cde218;hpb=f22b714f2b7a38c8a930d8248ccb32751db82b5e;p=freeside.git diff --git a/httemplate/search/report_477.html b/httemplate/search/report_477.html index 2b5111209..bc2a95806 100755 --- a/httemplate/search/report_477.html +++ b/httemplate/search/report_477.html @@ -23,30 +23,167 @@ ) %> -% if ( scalar( qsearch( 'part_pkg_report_option', { 'disabled' => '' } ) ) ) { -% # the m2 javascript magic in edit/elements/edit.html would be better here - - <% include( '/elements/tr-select-table.html', - 'label' => 'Column report classes', - 'table' => 'part_pkg_report_option', - 'name_col' => 'name', - 'hashref' => { 'disabled' => '' }, - 'element_name' => 'column_option', - 'multiple' => 'multiple', + + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part IA?', + 'field' => 'part', + 'value' => 'IA', + 'onchange' => 'partchange(this)', + ) + %> + +
+ + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part IIA?', + 'field' => 'part', + 'value' => 'IIA', + 'onchange' => 'partchange(this)', ) %> - <% include( '/elements/tr-select-table.html', - 'label' => 'Row report classes', - 'table' => 'part_pkg_report_option', - 'name_col' => 'name', - 'hashref' => { 'disabled' => '' }, - 'element_name' => 'row_option', - 'multiple' => 'multiple', + + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part IIB?', + 'field' => 'part', + 'value' => 'IIB', + 'onchange' => 'partchange(this)', ) %> + + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part IV?', + 'field' => 'part', + 'value' => 'IV', + 'onchange' => 'partchange(this)', + ) + %> + + + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part V?', + 'field' => 'part', + 'value' => 'V', + ) + %> + + <% include( '/elements/tr-checkbox.html', + 'label' => 'Enable part VI?', + 'field' => 'part', + 'value' => 'VI', + ) + %>