blob: ee3ee4120303eaba9b9c2c7fd01a1294ec36ef6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
% if ( FS::TaxEngine->new->info->{override} ) {
<%include('tr-td-label.html', @_) %>
<TD <% $cell_style %>><% include('select-taxoverride.html', @_) %></TD>
</TR>
% } else {
<INPUT TYPE="hidden" NAME="<% $name %>" VALUE="<% $opt{value} %>">
% }
<%init>
my %opt = @_;
my $cell_style = $opt{'cell_style'}? 'STYLE="'. $opt{cell_style}. '"' : '';
my $name = $opt{element_name} || $opt{field} || 'tax_override';
</%init>
|