@@ -8,29 +9,46 @@
- [% 'Notes' | $T8 %]
+ [% 'Notes (will appear on hard copy)' | $T8 %]
[% 'Internal Notes' | $T8 %]
- [% 'Payment Terms' | $T8 %]
+ [% 'Payment / Delivery Options' | $T8 %]
-
+ [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
-
+ [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
- [%- INCLUDE 'generic/multibox.html'
- name = 'payment_id',
- style = 'width: 250px',
- DATA = payment_terms,
- id_key = 'id',
- label_key = 'description',
- show_empty = 1
- allow_textbox = 0 -%]
-
+
+
+ [% 'Payment Terms' | $T8 %]
+ [% L.select_tag('payment_id', payment_terms, default = payment_id, title_key = 'description', with_empty = 1, style="width: 250px") %]
+
+
+
+
+ [% 'Delivery Terms' | $T8 %]
+
+ [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %]
+
+
+
+ [% 'direct debit' | $T8 %]
+
+ [%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %]
+
+
+[%- IF INSTANCE_CONF.get_create_qrbill_invoices > 0 %]
+
+ [% 'QR bill without amount' | $T8 %]
+
+ [%- L.checkbox_tag('qrbill_without_amount', 'checked', qrbill_without_amount) %]
+
+
+[%- END %]
+
[%- IF id && follow_ups.size %]
@@ -42,23 +60,40 @@
[%- END %]
+[%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %]
+
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+
+
+
+
+[%- END %]
[% 'Ertrag' | $T8 %]
- [% LxERP.format_amount(marge_total, 2, 0) %]
+
+ [% LxERP.format_amount(marge_total, 2, 0) %]
+
+
[% 'Ertrag prozentual' | $T8 %]
- [% LxERP.format_amount(marge_percent, 2, 0) %] %
+
+ [% LxERP.format_amount(marge_percent, 2, 0) %] %
+
+
-
-
[%- IF taxaccounts %]
-
+
+
[% 'Tax Included' | $T8 %]
@@ -79,17 +114,24 @@
[% SET total_ref = item _ '_total' %]
[% SET netto_ref = item _ '_netto' %]
- Enthaltene [% $description_ref | html %] [% $rate_ref * 100 %]%
+ [% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%
[% LxERP.format_amount($total_ref, 2) %]
[%- IF taxincluded %]
- Nettobetrag
+ [% 'Net amount' | $T8 %]
[% LxERP.format_amount($netto_ref, 2) %]
[%- END %]
[%- END %]
+[%- IF rounding %]
+
+ [% 'Rounding' | $T8 %]
+ [% LxERP.format_amount(rounding, 2) %]
+
+[%- END %]
+
[% 'Total' | $T8 %]
[% LxERP.format_amount(invtotal, 2) %]
@@ -100,76 +142,43 @@