X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6e15c0a98d4f7cb34f6e95b56923ebff659e4825..4dd985fec12f1d30595c8b9d0c9b3b8942f1fea8:/templates/webpages/is/form_footer.html
diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html
index 3a86b2ab8..3cffe0590 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,7 +11,7 @@
[% 'Notes (will appear on hard copy)' | $T8 %]
[% 'Internal Notes' | $T8 %]
- [% 'Payment Terms' | $T8 %]
+ [% 'Payment / Delivery Options' | $T8 %]
@@ -20,17 +21,34 @@
- [%- 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 %]
@@ -42,6 +60,18 @@
[%- END %]
+[%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %]
+
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+
+
+
+
+[%- END %]
+
+[% PROCESS 'webdav/_list.html' %]
+
+ [% LxERP.t8('Loading...') %]
+
+
+
+[% print_options %]
[% IF id %]
@@ -131,7 +159,7 @@
[% END %]
-
+
[% IF id && !is_type_credit_note %]
@@ -140,11 +168,7 @@
[% END %]
-
- [%- UNLESS locked %]
-
- [%- END %]
-
+
[% ELSE # no id %]
@@ -162,18 +186,9 @@
[% IF id %]
[%#- button for saving history %]
-
-
+ [% IF INSTANCE_CONF.get_is_show_mark_as_paid %]
+
+ [% END %]
[% END %]
-
-
-
-
-
-
-
-