X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fform_footer.html;h=6c6072e84cd1694891d690c47ebcbc2e832710d0;hb=3a13039a9d18b1a07cccbf6c4628671c38816150;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..6c6072e84 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 %]
[% 'Rounding' | $T8 %] | +[% LxERP.format_amount(rounding, 2) %] | +
---|---|
[% 'Total' | $T8 %] | [% LxERP.format_amount(invtotal, 2) %]
@@ -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 %] |