diff options
author | Mark Wells <mark@freeside.biz> | 2014-10-31 15:45:50 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-10-31 15:45:50 -0700 |
commit | 7516e3da0f17eeecba27219ef96a8b5f46af2083 (patch) | |
tree | 772fe13627910a7d0774871633697f2a4d1c6faf /httemplate/elements/tr-select-tax_status.html | |
parent | f31a9212ab3835b815aa87a86cca3b19babcaaff (diff) |
tax engine refactoring for Avalara and Billsoft tax vendors, #25718
Diffstat (limited to 'httemplate/elements/tr-select-tax_status.html')
-rw-r--r-- | httemplate/elements/tr-select-tax_status.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-tax_status.html b/httemplate/elements/tr-select-tax_status.html new file mode 100644 index 000000000..9c2de154f --- /dev/null +++ b/httemplate/elements/tr-select-tax_status.html @@ -0,0 +1,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> |