X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7635f647ec7dcdef51684b21601ee0930ea2bc5b..c2aaf253649281fee8e79a3300d81c827d9a1fd1:/templates/webpages/oe/form_footer.html diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html index 87c1993a7..43b48f80c 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 %]
| [% 'Payment Terms' | $T8 %] | -- [%- INCLUDE 'generic/multibox.html' - name = 'payment_id', - style = 'width: 250px', - DATA = ALL_PAYMENTS, - id_key = 'id', - label_key = 'description', - show_empty = 1 -%] - | -[% L.select_tag('payment_id', ALL_PAYMENTS, 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') %] | +
| [% 'Rounding' | $T8 %] | +[% LxERP.format_amount(rounding, 2) %] | +
| [% 'Total' | $T8 %] | [% LxERP.format_amount(invtotal, 2) %]
@@ -117,59 +129,8 @@
- - - [% print_options %] - -[% label_edit %]- - - - - - - -[%- IF id %] - - - - [% label_workflow %] - - - [%- UNLESS (is_sales_ord && !INSTANCE_CONF.get_sales_order_show_delete) || (is_pur_ord && !INSTANCE_CONF.get_purchase_order_show_delete) %] - - [%- END %] - - [%- IF is_sales_quo %] - - [%- END %] - - [%- IF is_req_quo %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord && !delivered%] - - [%- END %] - - - - [%- IF is_sales_ord || is_pur_ord %] - [% heading %] als neue Vorlage verwenden für - [%- IF is_sales_ord %] - - - [%- ELSE %] - [%- IF is_pur_ord %] - - - [%- END %] - [%- END %] - [%- END %] -[%- END %] - - +[% L.hidden_tag("rowcount", rowcount) %] [% IF vc == 'customer' %] @@ -177,4 +138,15 @@ [% END %] +
+ [%- PROCESS 'common/_ship_to_dialog.html' %]
+
+
+
+
+
+ [% print_options %]
+
+
+
|