X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2de7b1da5588237977366ff7e6526f5b7c84a83b..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/ir/form_footer.html
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index 83ab34abb..30f77c596 100644
--- a/templates/webpages/ir/form_footer.html
+++ b/templates/webpages/ir/form_footer.html
@@ -1,7 +1,7 @@
[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
-[%- USE L %]
+[%- USE L %][%- USE P -%]
@@ -11,17 +11,36 @@
[% 'Notes' | $T8 %]
[% 'Internal Notes' | $T8 %]
- [% 'Payment Options' | $T8 %]
+ [% 'Payment / Delivery Options' | $T8 %]
-
+ [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
-
+ [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
- [%- L.checkbox_tag('direct_debit', 'checked', direct_debit, 'label', LxERP.t8('direct debit')) %]
+
+
+ [% 'Payment Terms' | $T8 %]
+ [% L.select_tag('payment_id', payment_terms, default = payment_id, title_key = 'description', with_empty = 1, style="width: 250px") %]
+
+
+
+
+ [% '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 %]
@@ -33,18 +52,18 @@
[%- END %]
+[%- IF show_weight %]
[% 'Total weight' | $T8 %]
[% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
-
-
+[%- END %]
[%- IF taxaccounts %]
@@ -104,42 +123,10 @@
[% print_options %]
- [% IF id %]
-
-
-[% IF show_storno %]
-
-[% END %]
-
-
-
-[% IF show_delete %]
-
-[% END %]
-
-
-
- [% ELSE # no id %]
- [% UNLESS locked %]
-
-
-
- [%- END %]
- [% END # id %]
-
- [% IF id %]
- [%#- button for saving history %]
-
-
- [% IF INSTANCE_CONF.get_ir_show_mark_as_paid %]
-
- [% END %]
- [% END %]
-
-
-
+[% P.hidden_tag('draft_id', draft_id) %]
+[% P.hidden_tag('draft_description', draft_description) %]