4 [%- USE L %][%- USE P -%]
 
  12          <th align="left">[% 'Notes' | $T8 %]</th>
 
  13          <th align="left">[% 'Internal Notes' | $T8 %]</th>
 
  14          <th align="right">[% 'Payment / Delivery Options' | $T8 %]</th>
 
  18           [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
 
  21           <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
 
  26                <th align="right">[% 'Delivery Terms' | $T8 %] </th>
 
  28                  [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %]
 
  32                <th align="right">[% 'direct debit' | $T8 %]</th>
 
  34                  [%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %]
 
  40 [%- IF id && follow_ups.size %]
 
  43             [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
 
  53          <th  align=left>[% 'Total weight' | $T8 %]</th>
 
  55           [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
 
  63        <input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
 
  64        <b>[% 'Tax Included' | $T8 %]</b>
 
  70 [%- UNLESS taxincluded %]
 
  72          <th align="right">[% 'Subtotal' | $T8 %]</th>
 
  73          <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
 
  78 [% FOREACH item = taxaccounts_array %]
 
  79 [% SET description_ref = item _ '_description' %]
 
  80 [% SET rate_ref        = item _ '_rate' %]
 
  81 [% SET total_ref       = item _ '_total' %]
 
  82 [% SET netto_ref       = item _ '_netto' %]
 
  84         <th align="right">[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%</th>
 
  85         <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
 
  89         <th align="right">[% 'Net amount' | $T8 %]</th>
 
  90         <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
 
  96          <th align="right">[% 'Total' | $T8 %]</th>
 
  97          <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
 
 106 [% PROCESS 'ir/_payments.html' %]
 
 110 [% PROCESS 'webdav/_list.html' %]
 
 112  [%- LxERP.t8("Loading...") %]
 
 116 <hr size="3" noshade>
 
 118 <p>[% print_options %]</p>
 
 120 <input type="hidden" name="rowcount" value="[% rowcount %]">
 
 121 <input type="hidden" name="callback" value="[% callback %]">
 
 122 [% P.hidden_tag('draft_id', draft_id) %]
 
 123 [% P.hidden_tag('draft_description', draft_description) %]
 
 124 <input type="hidden" name="vendor_discount" value="[% vendor_discount %]">