X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_footer.html;h=14f29547b2b2aee2d340a336e3f6f2e84e99da9a;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=1896f7609e288bd7f8ff2ef04e5e70d0e4fcf688;hpb=766f5705ecb9cd56adfbffd94c871959bb64c6fd;p=kivitendo-erp.git diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html index 1896f7609..14f29547b 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 %] @@ -13,20 +22,12 @@ - - + + - + @@ -100,6 +101,12 @@ [%- END %] [% tax %] +[%- IF rounding %] + + + + +[%- END %]
[% 'Internal Notes' | $T8 %]
[% notes %][% intnotes %][% L.textarea_tag('notes', notes, style="width: 350px; height: 150px", class="texteditor") %][% L.textarea_tag('intnotes', intnotes, style="width: 350px; height: 150px") %]
[% '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 %]
[% 'Rounding' | $T8 %][% LxERP.format_amount(rounding, 2) %]
[% 'Total' | $T8 %] [% LxERP.format_amount(invtotal, 2) %] @@ -122,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) %] - [% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %] - [%- END %] - - [%- IF is_sales_quo %] - - [%- END %] - - [%- IF is_req_quo %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord %] - - [%- 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' %] @@ -182,4 +138,18 @@ [% END %] + + + + + + + +