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">[% notes %]</textarea>
20 <textarea name="intnotes" rows="[% rows %]" cols="35">[% intnotes %]</textarea>
23 [%- INCLUDE 'generic/multibox.html'
25 style = 'width: 250px',
28 label_key = 'description',
31 <script type='text/javascript'>$('#payment_id').change(function(){ if (this.value) set_duedate()})</script>
34 [%- IF id && follow_ups.size %]
37 [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
46 <th align=left>[% 'Ertrag' | $T8 %]</th>
48 [% LxERP.format_amount(marge_total, 2, 0) %]
49 <input type=hidden name="marge_total" value="[% marge_total %]">
53 <th align=left>[% 'Ertrag prozentual' | $T8 %]</th>
55 [% LxERP.format_amount(marge_percent, 2, 0) %] %
56 <input type=hidden name="marge_percent" value="[% marge_percent %]">
63 <input type="hidden" name="taxincluded_changed_by_user" id="taxincluded_changed_by_user" value="[% taxincluded_changed_by_user ? '1' : '0' %]">
64 <input name="taxincluded" onclick="document.getElementById('taxincluded_changed_by_user').value = '1';" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
65 <b>[% 'Tax Included' | $T8 %]</b>
71 [%- UNLESS taxincluded %]
73 <th align="right">[% 'Subtotal' | $T8 %]</th>
74 <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
79 [% FOREACH item = taxaccounts_array %]
80 [% SET description_ref = item _ '_description' %]
81 [% SET rate_ref = item _ '_rate' %]
82 [% SET total_ref = item _ '_total' %]
83 [% SET netto_ref = item _ '_netto' %]
85 <th align="right">[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%</th>
86 <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
90 <th align="right">[% 'Net amount' | $T8 %]</th>
91 <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
97 <th align="right">[% 'Total' | $T8 %]</th>
98 <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
107 [% PROCESS 'webdav/_list.html' %]
109 [% PROCESS 'is/_payments.html' %]
112 <td><hr size="3" noshade></td>
125 <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="[% 'Update' | $T8 %]">
126 <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
127 <input class="submit" type="submit" name="action" value="[% 'Print' | $T8 %]">
128 <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
130 <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
132 <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
133 <input class="submit" type="submit" name="action" value="[% 'Use As Template' | $T8 %]">
135 [% IF id && !is_type_credit_note %]
136 <input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]">
139 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
140 <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
142 <input class="submit" type="submit" name="action" value="[% 'Order' | $T8 %]">
143 <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
147 <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
148 <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
149 <input class="submit" type="submit" name="action" value="[% 'Preview' | $T8 %]">
150 <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
151 <input class="submit" type="submit" name="action" value="[% 'Print and Post' | $T8 %]">
152 <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
153 <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
158 [%#- button for saving history %]
159 <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="[% 'history' | $T8 %]">
161 <input type="submit" class="submit" name="action" value="[% 'mark as paid' | $T8 %]">
164 <input type="hidden" name="rowcount" value="[% rowcount %]">
165 <input type="hidden" name="callback" value="[% callback | html %]">
166 <input type="hidden" name="draft_id" value="[% draft_id %]">
167 <input type="hidden" name="draft_description" value="[% draft_description %]">
168 <input type="hidden" name="customer_discount" value="[% customer_discount %]">
169 <input type="hidden" name="gldate" value="[% gldate %]">