RT #31482 making sure the tax class is not editable after the customer has been billed.
[freeside.git] / httemplate / edit / quick-charge.html
index 1e1232d..58c1b0a 100644 (file)
@@ -171,6 +171,17 @@ function bill_now_changed (what) {
       &>
 %   }
 
+%              unless ($billed) {
+<TR>
+  <TD ALIGN="right"><% mt('Tax exempt') |h %> </TD>
+  <TD><INPUT TYPE="checkbox" NAME="setuptax" VALUE="Y" <% $cgi->param('setuptax') ? 'CHECKED' : '' %>></TD>
+</TR>
+
+<& /elements/tr-select-taxclass.html, 'curr_value' => $part_pkg->get('taxclass')  &>
+
+<& /elements/tr-select-taxproduct.html, 'label' => emt('Tax product'), 'onclick' => 'parent.taxproductmagic(this);', 'curr_value' => $part_pkg->get('taxproductnum')  &>
+%              }
+
 % } else { # new one-time charge
 
     <TR>