invoice_sections_with_taxes per-agent, RT#79636
[freeside.git] / httemplate / elements / tr-select-tax_status.html
1 % if ( !$vendor ) {
2
3   <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'taxstatusnum' %>" VALUE="">
4
5 % } else { 
6
7   <& tr-select-table.html,
8     label     => 'Customer tax status',
9     table     => 'tax_status',
10     name_col  => 'description',
11     hashref   => { data_vendor => $vendor },
12     order_by  => 'order by taxstatus',
13     required  => 1,
14     %opt
15   &>
16
17 % } 
18
19 <%shared>
20 my $conf = FS::Conf->new;
21 my $vendor = $conf->config('tax_data_vendor');
22 </%shared>
23 <%init>
24 my %opt = @_;
25 </%init>