invoice_sections_with_taxes per-agent, RT#79636
[freeside.git] / httemplate / elements / tr-td-label.html
1 <%doc>
2
3 Actually <TR> <TH> $label </TH>
4
5 Note that this puts the 'label' argument into the document verbatim, with no
6 escaping or localization.
7
8 </%doc>
9 <TR id="<% $opt{'id'} %>_row" <% $row_style %>>
10
11   <TH ALIGN  = "right"
12       VALIGN = "<% $opt{'valign'} || 'top' %>"
13       STYLE  = "<% $style %>"
14       ID     = "<% $opt{label_id} || $opt{id}. '_label0' %>"
15   ><% $required %><% $opt{label} %></TH>
16
17 <%init>
18
19 my %opt = @_;
20
21 my $style = 'padding-top: 3px';
22 $style .= '; '. $opt{'cell_style'}
23   if $opt{'cell_style'};
24
25 my $row_style = 'style="visibility:collapse;"' if $opt{'hide_onload'};
26
27 my $required = $opt{'required'} ? '<font color="#ff0000">*</font>&nbsp;' : '';
28
29 </%init>