minor convenience for invoice templates, #24850
authorMark Wells <mark@freeside.biz>
Thu, 26 Sep 2013 00:11:30 +0000 (17:11 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 26 Sep 2013 00:11:30 +0000 (17:11 -0700)
FS/FS/Template_Mixin.pm

index f55fc66..356de5b 100644 (file)
@@ -755,6 +755,7 @@ sub print_generic {
   my $taxtotal = 0;
   my $tax_section = { 'description' => $self->mt('Taxes, Surcharges, and Fees'),
                       'subtotal'    => $taxtotal,   # adjusted below
+                      'tax_section' => 1,
                     };
   my $tax_weight = _pkg_category($tax_section->{description})
                         ? _pkg_category($tax_section->{description})->weight