X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_footer.html;h=67a49a5a28ea9437a489f5f8c4d431d72f8e08c5;hb=108f7a8c7ba3137f0e0bcf5142b0269dd25b1115;hp=9e751783bae1db901ad5fe8b5a56b25a5259a75f;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;p=kivitendo-erp.git
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index 9e751783b..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 %]
@@ -51,12 +81,12 @@
[% SET total_ref = item _ '_total' %]
[% SET netto_ref = item _ '_netto' %]
- Enthaltene [% $description_ref | html %] [% $rate_ref * 100 %]%
+ [% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%
[% LxERP.format_amount($total_ref, 2) %]
[%- IF taxincluded %]
- Nettobetrag
+ [% 'Net amount' | $T8 %]
[% LxERP.format_amount($netto_ref, 2) %]
[%- END %]
@@ -73,50 +103,51 @@
-[% PROCESS 'webdav/_list.thml' %]
-
[% 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 %]
+
+ [% END %]
[% END %]
@@ -126,7 +157,3 @@
-
-