[%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] [%- USE L %] [%- IF is_req_quo || is_pur_ord %] [%- SET allow_invoice=1 %] [%- ELSIF is_sales_quo && INSTANCE_CONF.get_allow_sales_invoice_from_sales_quotation %] [%- SET allow_invoice=1 %] [%- ELSIF is_sales_ord && INSTANCE_CONF.get_allow_sales_invoice_from_sales_order %] [%- SET allow_invoice=1 %] [%- ELSE %] [%- SET allow_invoice=0 %] [%- END %] [%- IF show_weight %] [%- END %] [%- IF is_sales %] [%- END %]
[%- IF is_sales_ord %] [%- END %] [%- IF id && num_follow_ups %] [%- END %]
[% 'Notes' | $T8 %] [% 'Internal Notes' | $T8 %]
[% L.textarea_tag('notes', notes, style="width: 350px; height: 150px", class="texteditor") %] [% L.textarea_tag('intnotes', intnotes, style="width: 350px; height: 150px") %]
[% 'Payment Terms' | $T8 %] [% L.select_tag('payment_id', ALL_PAYMENTS, 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') %]
[%- LxERP.t8('Periodic Invoices') %] [% L.button_tag("edit_periodic_invoices_config(); return false;", LxERP.t8('Configure')) %] ([% HTML.escape(periodic_invoices_status) %]) [% L.hidden_tag("periodic_invoices_config", periodic_invoices_config) %] ?
[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due_follow_ups) %]
[% 'Total weight' | $T8 %] [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]
[% 'Ertrag' | $T8 %] [% LxERP.format_amount(marge_total, 2) %]
[% 'Ertrag prozentual' | $T8 %] [% LxERP.format_amount(marge_percent, 2) %] %
[%- IF taxaccounts %] [% 'Tax Included' | $T8 %]

[%- END %] [%- IF NOT taxincluded %] [%- END %] [% tax %] [%- IF rounding %] [%- END %]
[% 'Subtotal' | $T8 %] [% LxERP.format_amount(invsubtotal, 2) %]
[% 'Rounding' | $T8 %] [% LxERP.format_amount(rounding, 2) %]
[% 'Total' | $T8 %] [% LxERP.format_amount(invtotal, 2) %]
[%- PROCESS 'webdav/_list.html' %]
[%- LxERP.t8("Loading...") %]
[% L.hidden_tag("rowcount", rowcount) %] [% IF vc == 'customer' %] [% ELSE %] [% END %]