X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2Fform_footer.html;h=9101d2c143f5b8789cb7c89ddd74b34d5205d391;hb=07c884e5ac2318a9a67947faa88ecd1d4ca0629e;hp=6cbcd4ef1db7c0fbe133914807380387473e9f5b;hpb=075bd42af8885aee3c18fe055a2c82b8b43f4cea;p=kivitendo-erp.git diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 6cbcd4ef1..9101d2c14 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,25 +11,44 @@ - + [%- IF id && follow_ups.size %] @@ -40,6 +60,18 @@ [%- 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 %] @@ -93,6 +125,13 @@ [%- END %] [%- END %] +[%- IF rounding %] + + + + +[%- END %] + @@ -104,62 +143,69 @@ -[% PROCESS 'webdav/_list.html' %] - [% PROCESS 'is/_payments.html' %] - - - - - - -
[% 'Rounding' | $T8 %][% LxERP.format_amount(rounding, 2) %]
[% 'Total' | $T8 %] [% LxERP.format_amount(invtotal, 2) %]

-[% print_options %] -
+ +[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %] +
+ +
+

[% print_options %]

- [% IF id %] +
+ - - - - + [% IF id %] + + + + [% IF show_storno %] - + [% L.submit_tag("action_storno", 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 && (!storno || storno_id) %] + [% L.submit_tag("action_delete", LxERP.t8("Delete"), confirm=LxERP.t8('Do you really want to delete this invoice?')) %] [% END %] -[% IF show_delete %] - - +[% IF show_delete && !storno %] + [% END %] - + [% ELSE # no id %] [% UNLESS locked %] - - - - - - - + + + + + + + [% L.button_tag('kivi.Draft.popup("is", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %] [%- 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 %] +
@@ -168,5 +214,6 @@ - - +