| <% mt('Amount') |h %>  | 
  
    <% $money_char %>
   | 
% if ( $conf->exists('invoice-unitprice') ) {
    
      | <% mt('Quantity') |h %>  | 
      
        
       | 
    
% }
<& /elements/tr-select-pkg_class.html, 'curr_value' => $cgi->param('classnum')  &>
  | <% mt('Invoice now') |h %> | 
  
    param('bill_now') ? 'CHECKED' : '' %>
           onChange = "bill_now_changed(this);"
    >
    <% mt('with terms') |h %> 
    <& /elements/select-terms.html,
                 'curr_value'  => scalar($cgi->param('invoice_terms')),
                 'empty_value' => $default_terms,
                 'disabled'    => ( $cgi->param('bill_now') ? 0 : 1 ),
    &>
   | 
%# false laziness w/misc/order_pkg.html
  | <% mt('Charge date') |h %>  | 
  
    param('bill_now') ? 'STYLE = "background-color:#dddddd" DISABLED' : '' %>
    >
     
     param('bill_now') ? '' : 'STYLE="display:none"' %>
    >
    (<% mt('leave blank to charge immediately') |h %>)
   | 
% if ( $cust_main->payby =~ /^(CARD|CHEK)$/ ) {
%   my $what = lc(FS::payby->shortname($cust_main->payby));
    
      | <% mt("Disable automatic $what charge") |h %>  | 
       | 
    
% }
  | <% mt('Tax exempt') |h %>  | 
  param('setuptax') ? 'CHECKED' : '' %>> | 
<& /elements/tr-select-taxclass.html, 'curr_value' => $cgi->param('taxclass')  &>
<& /elements/tr-select-taxproduct.html, 'label' => emt('Tax product'), 'onclick' => 'parent.taxproductmagic(this);', 'curr_value' => $cgi->param('taxproductnum')  &>
<& /elements/tr-select-taxoverride.html, 'onclick' => 'parent.taxoverridemagic(this);', 'curr_value' => $cgi->param('tax_override')  &>
  | <% mt('Description') |h %>  | 
  
    
   | 
   | 
  <% mt('Optional additional description (also printed on invoice):') |h %>  | 
% my $row = 0;
%   if ( $cgi->param('error') || $cgi->param('magic') ) {
%     my $param = $cgi->Vars;
%
% for ( $row = 0; exists($param->{"description$row"}); $row++ ) { 
    
       | 
      
        " rownum="<% $row %>" onkeyup = "possiblyAddRow;" >
       | 
    
% } 
% }