X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fis%2Fform_footer.html;h=7d4c6089d167e11d9291b6364c4926fa2db35532;hb=e3dfdb7a78f6e0bc8ac1075fedc36f8247c6fd92;hp=6cbcd4ef1db7c0fbe133914807380387473e9f5b;hpb=345248fd59538b5bfabc5fc54defdc17f76481f3;p=kivitendo-erp.git
diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html
index 6cbcd4ef1..7d4c6089d 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,36 @@
[% '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") %]
-
+ [% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]
- [%- 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 %]
+ [% 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 %]
@@ -40,6 +52,18 @@
[%- END %]
+[%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %]
+
+ [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
+
+
+
+
+[%- END %]
@@ -93,6 +117,13 @@
[%- END %]
[%- END %]
+[%- IF rounding %]
+
+ [% 'Rounding' | $T8 %]
+ [% LxERP.format_amount(rounding, 2) %]
+
+[%- END %]
+
[% 'Total' | $T8 %]
[% LxERP.format_amount(invtotal, 2) %]
@@ -104,69 +135,37 @@
-[% PROCESS 'webdav/_list.html' %]
-
[% PROCESS 'is/_payments.html' %]
-
-
-
-
-
-
-[% print_options %]
-
-
-
-
-
- [% IF id %]
-
-
-
-
-
-[% IF show_storno %]
-
-[% END %]
-
-
-
-[% IF id && !is_type_credit_note %]
-
-[% END %]
-[% IF show_delete %]
-
-
-[% END %]
-
-
-
- [% ELSE # no id %]
- [% UNLESS locked %]
-
-
-
-
-
-
-
- [%- END %]
- [% END # id %]
-
- [% IF id %]
- [%#- button for saving history %]
-
-
-
- [% END %]
+
+[% PROCESS 'webdav/_list.html' %]
+
+ [% LxERP.t8('Loading...') %]
+
+
-
-
+[% P.hidden_tag('draft_id', draft_id) %]
+[% P.hidden_tag('draft_description', draft_description) %]
-
+
+ [%- PROCESS 'common/_ship_to_dialog.html' cvars=shipto_cvars %]
+
+
+
+
+ [% print_options %]
+
+
+
+
+
+
+ [%- PROCESS 'common/_print_dialog.html' %]
+