1 <% include('/elements/header-popup.html', 'Select tax product') %>
4 var num = parent.document.getElementById('taxproductnum');
5 var disp = parent.document.getElementById('taxproduct_description');
6 var sel = document.getElementById('taxproduct_popup_select');
7 num.value = sel.options[sel.selectedIndex].value;
8 disp.value = sel.options[sel.selectedIndex].text;
12 <FORM="dummy" METHOD="POST" onsubmit="saveit();return false;" >
14 <% ntable("#cccccc", 2) %>
16 <TD align="left">Tax product</TD>
18 <% include( '/elements/select-table.html',
19 'empty_label' => '(select product)',
20 'table' => 'part_pkg_taxproduct',
21 'name_col' => 'description',
22 'curr_value' => $curr_value,
23 'element_etc' => "id='taxproduct_popup_select'",
30 <CENTER><INPUT type="submit" value="Select"></CENTER>
32 <% include('/elements/footer.html') %>
36 my $conf = new FS::Conf;
38 my ( $query ) = $cgi->keywords;