X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8003c3b1db2dd73402977fcfe29653108794099c..fbcd5580:/templates/webpages/ir/form_footer.html
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index c82f1ab81..ef36e6bff 100644
--- a/templates/webpages/ir/form_footer.html
+++ b/templates/webpages/ir/form_footer.html
@@ -1,6 +1,7 @@
[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
+[%- USE L %][%- USE P -%]
-[% PROCESS 'webdav/_list.html' %]
-
[% PROCESS 'ir/_payments.html' %]
-
-
-
-
-
-[% print_options %]
-
-
+
+[% PROCESS 'webdav/_list.html' %]
+
+ [%- LxERP.t8("Loading...") %]
+
+
+
+
[% print_options %]
[% IF id %]
[% IF show_storno %]
-
+ [% L.submit_tag("action", LxERP.t8("Storno"), confirm=LxERP.t8('Do you really want to cancel this invoice?')) %]
[% END %]
-
+
[% IF show_delete %]
+
[% END %]
[% ELSE # no id %]
- [% UNLESS locked %]
+ [% UNLESS locked %]
-
[%- END %]
+ [% L.button_tag('kivi.Draft.popup("ir", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
[% END # id %]
[% IF id %]
[%#- button for saving history %]
-
+
-
+ [% IF INSTANCE_CONF.get_ir_show_mark_as_paid %]
+ [% L.submit_tag("action", LxERP.t8('mark as paid'), confirm=LxERP.t8('This will remove the invoice from showing as unpaid even if the unpaid amount does not match the amount. Proceed?')) %]
+ [% END %]
[% END %]
-
-
+[% P.hidden_tag('draft_id', draft_id) %]
+[% P.hidden_tag('draft_description', draft_description) %]
-
-