summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-tax_status.html
blob: 9c2de154f33d534770d5a9c187ca61d8b1bb564f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% if ( !$vendor ) {

  <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'taxstatusnum' %>" VALUE="">

% } else { 

  <& tr-select-table.html,
    label     => 'Customer tax status',
    table     => 'tax_status',
    name_col  => 'description',
    hashref   => { data_vendor => $vendor },
    order_by  => 'order by taxstatus',
    %opt
  &>

% } 

<%shared>
my $conf = FS::Conf->new;
my $vendor = $conf->config('enable_taxproducts');
</%shared>
<%init>
my %opt = @_;
</%init>