X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_footer.html;h=fbeb52992a4fb86782db7f2b6e834cce75130129;hb=061f4d6d32ed95055114582ede45e8387b302a53;hp=b082bf25c02c4bee579cec0d137e3bb8ea9bd7d5;hpb=0194799c9cd192f01db7df4cf056e18871c979e0;p=kivitendo-erp.git diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html index b082bf25c..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 %] @@ -98,6 +107,12 @@ +[%- END %] +[%- IF rounding %] + + + + [%- END %] [% tax %] @@ -131,12 +146,19 @@ - - + +[% IF not tpca_reminder %] + + +[% ELSE %] + [% IF warn_save_active_periodic_invoice %] [% warn_save_active_periodic_invoice=1 %] [% END %] + [% L.submit_tag('action_save', LxERP.t8('Save'), confirm=LxERP.t8('Missing transport cost: #1 Are you sure?', tpca_reminder), 'data-require-transaction-description'=INSTANCE_CONF.get_require_transaction_description_ps, 'data-warn-save-active-periodic-invoice'=warn_save_active_periodic_invoice) %] + [% L.submit_tag('action_save_and_close', LxERP.t8('Save and close'), confirm=LxERP.t8('Missing transport cost: #1 Are you sure?', tpca_reminder), 'data-require-transaction-description'=INSTANCE_CONF.get_require_transaction_description_ps, 'data-warn-save-active-periodic-invoice'=warn_save_active_periodic_invoice) %] +[% END %] [%- IF id %] - +
[% label_workflow %]
@@ -157,10 +179,12 @@ [%- END %] + [%- IF allow_invoice %] + [%- END %] [%- IF is_sales_ord || is_pur_ord %] -
[% heading %] als neue Vorlage verwenden für
+
[% heading %] [% 'to be used as template for' | $T8 %]
[%- IF is_sales_ord %]
[% 'Subtotal' | $T8 %] [% LxERP.format_amount(invsubtotal, 2) %]
[% 'Rounding' | $T8 %][% LxERP.format_amount(rounding, 2) %]