X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_footer.html;h=14f29547b2b2aee2d340a336e3f6f2e84e99da9a;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=7beb4076f965799fd6af819774b006682d849097;hpb=c920fab5f80d6e47db5447445a4fe37a19478071;p=kivitendo-erp.git diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html index 7beb4076f..14f29547b 100644 --- a/templates/webpages/oe/form_footer.html +++ b/templates/webpages/oe/form_footer.html @@ -1,6 +1,16 @@ [%- USE T8 %] [%- 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 %] @@ -12,21 +22,30 @@ - - + + - + + + + + + + +[%- IF is_sales_ord %] + + + +[%- END %] + [%- IF id && num_follow_ups %] @@ -34,28 +53,45 @@ [%- 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 %][% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %]
[%- LxERP.t8('Periodic Invoices') %] + [% 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) %] + ? +
[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due_follow_ups) %]
+ [%- IF show_weight %] + + + + + + +
[% 'Total weight' | $T8 %] + [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %] +
+ + [%- END %] [%- IF is_sales %] - + - + - - -
[% 'Ertrag' | $T8 %][% LxERP.format_amount(marge_total, 2) %] + [% LxERP.format_amount(marge_total, 2) %] + +
[% 'Ertrag prozentual' | $T8 %][% LxERP.format_amount(marge_percent, 2) %] + [% LxERP.format_amount(marge_percent, 2) %] + + %
[%- END %] + [%- IF taxaccounts %] - [% 'Tax Included' | $T8 %]

+ + [% 'Tax Included' | $T8 %]

[%- END %] [%- IF NOT taxincluded %] @@ -65,9 +101,18 @@ [%- END %] [% tax %] +[%- IF rounding %] + + + + +[%- END %] - +
[% 'Rounding' | $T8 %][% LxERP.format_amount(rounding, 2) %]
[% 'Total' | $T8 %][% LxERP.format_amount(invtotal, 2) %][% LxERP.format_amount(invtotal, 2) %] + + +
@@ -75,98 +120,36 @@ - - - -
- - -[%- IF webdav %] - - Dokumente im Webdav-Repository - - - - - - - - - [%- FOREACH file = WEBDAV %] - - - - - [%- END %] -
DateinameWebdavlink
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
- - - -
- -[%- END %] - - - - [% print_options %] - - -[% label_edit %]
- - - - - - - -[%- IF id %] - - - -
[% label_workflow %]
- - - - [%- IF is_sales_quo %] - - [%- END %] + +[%- PROCESS 'webdav/_list.html' %] +
+ [%- LxERP.t8("Loading...") %] +
+ - [%- 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' %] [% ELSE %] [% END %] + + + + + - - + +