X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2Fform_footer.html;h=741d7ad8fbb420f692d74664336f688de9606e7b;hb=03f9eac39d30ffe348947910e98929292ef42617;hp=6314c21cddca88df9478a05a1c0bb9a3c811f6de;hpb=1ee0a24734aefd23212f06419289980366fa3803;p=kivitendo-erp.git diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 6314c21cd..741d7ad8f 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] +[%- USE L %][%- USE P -%] @@ -10,27 +11,44 @@ - + [%- IF id && follow_ups.size %] @@ -42,23 +60,40 @@ [%- END %]
[% '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") %] - + - [%- 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 %] + [%- 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 -%] + +
[% '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 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 %]

@@ -72,6 +107,13 @@ [%- END %] +[%- IF rounding %] + + [% 'Rounding' | $T8 %] + [% LxERP.format_amount(rounding, 2) %] + +[%- END %] + [%# tax %] [% FOREACH item = taxaccounts_array %] [% SET description_ref = item _ '_description' %] @@ -89,7 +131,6 @@ [%- END %] [%- END %] - [% 'Total' | $T8 %] [% LxERP.format_amount(invtotal, 2) %] @@ -101,75 +142,74 @@ -[% PROCESS 'webdav/_list.html' %] - [% PROCESS 'is/_payments.html' %] - - -
- - - -[% print_options %] - - + +[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %] +
+ +
+

[% print_options %]

[% IF id %] - - + + [% IF show_storno %] - + [% L.submit_tag("action", LxERP.t8("Storno"), "data-require-transaction-description"=INSTANCE_CONF.get_require_transaction_description_ps, confirm=LxERP.t8('Do you really want to cancel this invoice?')) %] [% END %] - + [% IF id && !is_type_credit_note %] - + [% END %] -[% IF show_delete %] +[% IF show_delete && (!storno || storno_id) %] - [% END %] - - [%- UNLESS locked %] - - [%- END %] - +[% IF show_delete && !storno %] + +[% END %] + [% ELSE # no id %] [% UNLESS locked %] - - - - + + + + [%- END %] [% END # id %] [% IF id %] [%#- button for saving history %] - + + [% IF INSTANCE_CONF.get_is_show_mark_as_paid %] + + [% END %] + [% END %] - + [% IF callback %] + [% 'back' | $T8 %] [% END %] - + - - - - +