11          <th align="left">[% 'Notes (will appear on hard copy)' | $T8 %]</th>
 
  12          <th align="left">[% 'Internal Notes' | $T8 %]</th>
 
  13          <th align="right">[% 'Payment Terms' | $T8 %]</th>
 
  17           <textarea name="notes" rows="[% rows %]" cols="26" wrap="soft">[% notes %]</textarea>
 
  20           <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
 
  23             [%- INCLUDE 'generic/multibox.html'
 
  25                  style         = 'width: 250px',
 
  28                  label_key     = 'description',
 
  31           <script type='text/javascript'>$('#payment_id').change(function(){
 
  32             if (this.value) set_duedate(['payment_id__' + this.value, 'invdate__' + invdate.value],['duedate'])})
 
  36 [%- IF id && follow_ups.size %]
 
  39             [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
 
  48          <th  align=left>[% 'Ertrag' | $T8 %]</th>
 
  49          <td>[% LxERP.format_amount(marge_total, 2, 0) %]</td>
 
  52          <th  align=left>[% 'Ertrag prozentual' | $T8 %]</th>
 
  53          <td>[% LxERP.format_amount(marge_percent, 2, 0) %] %</td>
 
  55         <input type=hidden name="marge_total" value="[% marge_total %]">
 
  56         <input type=hidden name="marge_percent" value="[% marge_percent %]">
 
  61        <input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
 
  62        <b>[% 'Tax Included' | $T8 %]</b>
 
  68 [%- UNLESS taxincluded %]
 
  70          <th align="right">[% 'Subtotal' | $T8 %]</th>
 
  71          <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
 
  76 [% FOREACH item = taxaccounts_array %]
 
  77 [% SET description_ref = item _ '_description' %]
 
  78 [% SET rate_ref        = item _ '_rate' %]
 
  79 [% SET total_ref       = item _ '_total' %]
 
  80 [% SET netto_ref       = item _ '_netto' %]
 
  82         <th align="right">Enthaltene [% $description_ref | html %] [% $rate_ref * 100 %]%</th>
 
  83         <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
 
  87         <th align="right">Nettobetrag</th>
 
  88         <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
 
  94          <th align="right">[% 'Total' | $T8 %]</th>
 
  95          <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
 
 104 [% PROCESS 'webdav/_list.html' %]
 
 106 [% PROCESS 'is/_payments.html' %]
 
 109     <td><hr size="3" noshade></td>
 
 122     <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="[% 'Update' | $T8 %]">
 
 123     <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
 
 124     <input class="submit" type="submit" name="action" value="[% 'Print' | $T8 %]">
 
 125     <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
 
 127     <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
 
 129     <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
 
 130     <input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
 
 132 [% IF id && !is_type_credit_note %]
 
 133     <input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]">
 
 136     <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
 
 137     <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
 
 141        <input class="submit" type="submit" name="action" value="[% 'Order' | $T8 %]">
 
 144     <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
 
 148       <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
 
 149       <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
 
 150       <input class="submit" type="submit" name="action" value="[% 'Preview' | $T8 %]">
 
 151       <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
 
 152       <input class="submit" type="submit" name="action" value="[% 'Print and Post' | $T8 %]">
 
 153       <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
 
 154       <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
 
 159       [%#- button for saving history %]
 
 160       <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="[% 'history' | $T8 %]">
 
 162       <input type="submit" class="submit" name="action" value="[% 'mark as paid' | $T8 %]">
 
 165 <input type="hidden" name="rowcount" value="[% rowcount %]">
 
 166 <input type="hidden" name="callback" value="[% callback %]">
 
 167 <input type="hidden" name="draft_id" value="[% draft_id %]">
 
 168 <input type="hidden" name="draft_description" value="[% draft_description %]">
 
 169 <input type="hidden" name="customer_discount" value="[% customer_discount %]">
 
 170 <input type="hidden" name="gldate" value="[% gldate %]">