X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_footer.html;h=fbeb52992a4fb86782db7f2b6e834cce75130129;hb=c7241bf7c547d63999898dee7b5dd486e4d122d3;hp=ddf4a53d2b544310958e51035116ee016379f65f;hpb=f7f03503cfc22a15f5497d09dd9215c10c1d39b1;p=kivitendo-erp.git
diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html
index ddf4a53d2..fbeb52992 100644
--- a/templates/webpages/oe/form_footer.html
+++ b/templates/webpages/oe/form_footer.html
@@ -2,6 +2,15 @@
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- IF is_req_quo || is_pur_ord %]
+ [%- SET allow_invoice=1 %]
+[%- ELSIF is_sales_quo && INSTANCE_CONF.get_allow_sales_invoice_from_sales_quotation %]
+ [%- SET allow_invoice=1 %]
+[%- ELSIF is_sales_ord && INSTANCE_CONF.get_allow_sales_invoice_from_sales_order %]
+ [%- SET allow_invoice=1 %]
+[%- ELSE %]
+ [%- SET allow_invoice=0 %]
+[%- END %]
@@ -27,7 +36,11 @@
label_key = 'description',
show_empty = 1 -%]
-
+
+
+ [% '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') %] |
+
[%- IF is_sales_ord %]
@@ -36,6 +49,7 @@
[% L.button_tag("edit_periodic_invoices_config(); return false;", LxERP.t8('Configure')) %]
([% HTML.escape(periodic_invoices_status) %])
[% L.hidden_tag("periodic_invoices_config", periodic_invoices_config) %]
+ ?
[%- END %]
@@ -47,6 +61,18 @@
[%- END %]
|
+ [%- IF show_weight %]
+
+
+
+ [% 'Total weight' | $T8 %] |
+
+ [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]
+ |
+
+
+ |
+ [%- END %]
[%- IF is_sales %]
@@ -81,6 +107,12 @@
[% 'Subtotal' | $T8 %] |
[% LxERP.format_amount(invsubtotal, 2) %] |
+[%- END %]
+[%- IF rounding %]
+
+ [% 'Rounding' | $T8 %] |
+ [% LxERP.format_amount(rounding, 2) %] |
+
[%- END %]
[% tax %]
@@ -96,57 +128,44 @@
|
-