X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2Fform_footer.html;h=60e349326a6c3bf2cc0226892c916649d7672c22;hb=71ada638068acc8b1481b7392bc0511fa627647e;hp=cf5c7d4fc6b6fc91a4a1b6be61152186a0185746;hpb=7bff84cbc6daa65a74b9f5c83415c98856eb30a1;p=kivitendo-erp.git
diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html
index cf5c7d4fc..60e349326 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 @@
[% '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 id && follow_ups.size %]
@@ -40,6 +60,18 @@
[%- END %]
+[%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %]
+
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+
+
+
+
+[%- END %]
@@ -75,6 +107,13 @@
[%- END %]
+[%- IF rounding %]
+
+ [% 'Rounding' | $T8 %]
+ [% LxERP.format_amount(rounding, 2) %]
+
+[%- END %]
+
[%# tax %]
[% FOREACH item = taxaccounts_array %]
[% SET description_ref = item _ '_description' %]
@@ -92,7 +131,6 @@
[%- END %]
[%- END %]
-
[% 'Total' | $T8 %]
[% LxERP.format_amount(invtotal, 2) %]
@@ -104,65 +142,63 @@
-[% PROCESS 'webdav/_list.html' %]
-
[% PROCESS 'is/_payments.html' %]
-
-
-
-
-
-
-[% print_options %]
-
-
+
+[% PROCESS 'webdav/_list.html' %]
+
+ [% LxERP.t8('Loading...') %]
+
+
+
+[% print_options %]
[% IF id %]
-
-
+
+
[% IF show_storno %]
-
+
[% END %]
-
+
[% IF id && !is_type_credit_note %]
-
+
[% END %]
-[% IF show_delete %]
+[% IF show_delete && !storno %]
-
+
[% END %]
-
- [%- UNLESS locked %]
-
- [%- 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 %]
@@ -172,7 +208,6 @@
-
-