X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9644a58f5bcb671f54a4e1713cc3e11c62ff7fca..c0ed7d2fa:/templates/webpages/ir/form_footer.html
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index b2732a7ce..67a49a5a2 100644
--- a/templates/webpages/ir/form_footer.html
+++ b/templates/webpages/ir/form_footer.html
@@ -1,6 +1,7 @@
[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
+[%- USE L %]
@@ -10,14 +11,31 @@
[% 'Notes' | $T8 %]
[% 'Internal Notes' | $T8 %]
+ [% 'Payment / Delivery Options' | $T8 %]
-
+ [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
+
+
+
+ [% '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 %]
@@ -28,6 +46,18 @@
[%- END %]
+[%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %]
+
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+
+
+
+
+[%- END %]
[%- IF taxaccounts %]
@@ -73,48 +103,47 @@
-[% PROCESS 'webdav/_list.html' %]
-
[% PROCESS 'ir/_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"), confirm=LxERP.t8('Do you really want to cancel this invoice?')) %]
[% END %]
-
+
[% IF show_delete %]
+
[% END %]
[% ELSE # no id %]
- [% UNLESS locked %]
+ [% UNLESS locked %]
-
[%- END %]
+ [% L.button_tag('kivi.Draft.popup("ir", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
[% END # id %]
[% IF id %]
[%#- button for saving history %]
-
+
[% IF INSTANCE_CONF.get_ir_show_mark_as_paid %]
@@ -128,5 +157,3 @@
-
-