X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fbulk-part_pkg.html;h=4665c9f958ebc65b10a1e6da298f19cdd23d5f81;hp=a1c6f0c9b19ad66c863ce9c02b82ad070c130fa5;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125 diff --git a/httemplate/edit/bulk-part_pkg.html b/httemplate/edit/bulk-part_pkg.html index a1c6f0c9b..4665c9f95 100644 --- a/httemplate/edit/bulk-part_pkg.html +++ b/httemplate/edit/bulk-part_pkg.html @@ -6,6 +6,7 @@ .row0 { background-color: #eeeeee; } .row1 { background-color: #ffffff; } +<& /elements/error.html &>
@@ -22,15 +23,12 @@ The following packages will be changed:
% foreach my $num (sort keys %report_class) { -% if ( defined $initial_state{$num} ) { - <& /elements/checkbox.html, - field => 'report_option_'.$num, - value => 1, - curr_value => $initial_state{$num} - &> -% } else { +% if ( $initial_state{$num} == -1 ) { % # needs to be a tristate so that you can say "don't change it" <& /elements/checkbox-tristate.html, field => 'report_option_'.$num &> +% } else { +%# for visual consistency + >