[% 'Notes (will appear on hard copy)' | $T8 %] |
[% 'Internal Notes' | $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") %]
|
[% '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 id && follow_ups.size %]
[%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
|
|
[%- END %]
|
[%- IF show_weight %]
[% 'Total weight' | $T8 %] |
[% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
|
|
[%- END %]
[% 'Ertrag' | $T8 %] |
[% LxERP.format_amount(marge_total, 2, 0) %]
|
[% 'Ertrag prozentual' | $T8 %] |
[% LxERP.format_amount(marge_percent, 2, 0) %] %
|
|
[%- IF taxaccounts %]
[% 'Tax Included' | $T8 %]
[%- END %]
[%- UNLESS taxincluded %]
[% 'Subtotal' | $T8 %] |
[% LxERP.format_amount(invsubtotal, 2) %] |
[%- END %]
[%# tax %]
[% FOREACH item = taxaccounts_array %]
[% SET description_ref = item _ '_description' %]
[% SET rate_ref = item _ '_rate' %]
[% SET total_ref = item _ '_total' %]
[% SET netto_ref = item _ '_netto' %]
[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]% |
[% LxERP.format_amount($total_ref, 2) %] |
[%- IF taxincluded %]
[% '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) %] |
|