4 [%- USE L %][%- USE P -%]
12 <th align="left">[% 'Notes (will appear on hard copy)' | $T8 %]</th>
13 <th align="left">[% 'Internal Notes' | $T8 %]</th>
14 <th align="right">[% 'Payment Terms' | $T8 %]</th>
18 <textarea name="notes" rows="[% rows %]" cols="26">[% notes %]</textarea>
21 <textarea name="intnotes" rows="[% rows %]" cols="35">[% intnotes %]</textarea>
24 [%- INCLUDE 'generic/multibox.html'
26 style = 'width: 250px',
29 label_key = 'description',
32 <script type='text/javascript'>$('#payment_id').change(function(){ if (this.value) set_duedate()})</script>
34 [%- L.checkbox_tag('direct_debit', 'checked', direct_debit, 'label', LxERP.t8('direct debit')) %]
37 [%- IF id && follow_ups.size %]
40 [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
50 <th align=left>[% 'Total weight' | $T8 %]</th>
52 [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
61 <th align=left>[% 'Ertrag' | $T8 %]</th>
63 [% LxERP.format_amount(marge_total, 2, 0) %]
64 <input type=hidden name="marge_total" value="[% marge_total %]">
68 <th align=left>[% 'Ertrag prozentual' | $T8 %]</th>
70 [% LxERP.format_amount(marge_percent, 2, 0) %] %
71 <input type=hidden name="marge_percent" value="[% marge_percent %]">
78 <input type="hidden" name="taxincluded_changed_by_user" id="taxincluded_changed_by_user" value="[% taxincluded_changed_by_user ? '1' : '0' %]">
79 <input name="taxincluded" onclick="document.getElementById('taxincluded_changed_by_user').value = '1';" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
80 <b>[% 'Tax Included' | $T8 %]</b>
86 [%- UNLESS taxincluded %]
88 <th align="right">[% 'Subtotal' | $T8 %]</th>
89 <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
94 [% FOREACH item = taxaccounts_array %]
95 [% SET description_ref = item _ '_description' %]
96 [% SET rate_ref = item _ '_rate' %]
97 [% SET total_ref = item _ '_total' %]
98 [% SET netto_ref = item _ '_netto' %]
100 <th align="right">[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%</th>
101 <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
103 [%- IF taxincluded %]
105 <th align="right">[% 'Net amount' | $T8 %]</th>
106 <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
112 <th align="right">[% 'Total' | $T8 %]</th>
113 <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
122 [% PROCESS 'is/_payments.html' %]
125 [% PROCESS 'webdav/_list.html' %]
127 [% LxERP.t8('Loading...') %]
131 <hr size="3" noshade>
133 <p>[% print_options %]</p>
137 <input class="submit" type="submit" accesskey="u" name="action" id="update_button" value="[% 'Update' | $T8 %]">
138 <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
139 <input class="submit" type="submit" name="action" value="[% 'Print' | $T8 %]">
140 <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
142 <input class="submit" type="submit" name="action" value="[% 'Storno' | $T8 %]">
144 <input class="submit" type="submit" name="action" value="[% 'Post Payment' | $T8 %]">
145 <input class="submit" type="submit" name="action" value="[% 'Use As New' | $T8 %]">
147 [% IF id && !is_type_credit_note %]
148 <input class="submit" type="submit" name="action" value="[% 'Credit Note' | $T8 %]">
151 <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
152 <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
154 <input class="submit" type="submit" name="action" value="[% 'Order' | $T8 %]">
155 <input type="button" class="submit" onclick="follow_up_window()" value="[% 'Follow-Up' | $T8 %]">
159 <input class="submit" type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
160 <input class="submit" type="submit" name="action" value="[% 'Ship to' | $T8 %]">
161 <input class="submit" type="submit" name="action" value="[% 'Preview' | $T8 %]">
162 <input class="submit" type="submit" name="action" value="[% 'E-mail' | $T8 %]">
163 <input class="submit" type="submit" name="action" value="[% 'Print and Post' | $T8 %]">
164 <input class="submit" type="submit" name="action" value="[% 'Post' | $T8 %]">
165 <input class="submit" type="submit" name="action" value="[% 'Save Draft' | $T8 %]">
170 [%#- button for saving history %]
171 <input type="button" class="submit" onclick="set_history_window([% id | html %]);" name="history" id="history" value="[% 'history' | $T8 %]">
172 [% IF INSTANCE_CONF.get_is_show_mark_as_paid %]
173 <input type="submit" class="submit" name="action" value="[% 'mark as paid' | $T8 %]">
177 <input type="hidden" name="rowcount" value="[% rowcount %]">
178 <input type="hidden" name="callback" value="[% callback | html %]">
179 <input type="hidden" name="draft_id" value="[% draft_id %]">
180 <input type="hidden" name="draft_description" value="[% draft_description %]">
181 <input type="hidden" name="customer_discount" value="[% customer_discount %]">
182 <input type="hidden" name="gldate" value="[% gldate %]">