X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7635f647ec7dcdef51684b21601ee0930ea2bc5b..fbcd5580:/templates/webpages/ir/form_footer.html?ds=sidebyside
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index 66758003d..ef36e6bff 100644
--- a/templates/webpages/ir/form_footer.html
+++ b/templates/webpages/ir/form_footer.html
@@ -1,7 +1,7 @@
[%- USE T8 %]
[%- USE HTML %]
[%- USE LxERP %]
-[%- USE L %]
+[%- USE L %][%- USE P -%]
[%- IF id && follow_ups.size %]
@@ -108,38 +121,39 @@
[% 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) %]