X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_footer.html;h=69fb993003a139759b6662690a50b8057660c7f8;hb=21834d2cfc47063cd0a730a20ff532d07d94def1;hp=f07a2b81019a65311fb9ded3fb348d1b81327de8;hpb=59adfa36c82c4e021011c84c70b9384badea33aa;p=kivitendo-erp.git
diff --git a/templates/webpages/ir/form_footer.html b/templates/webpages/ir/form_footer.html
index f07a2b810..69fb99300 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 -%]
@@ -117,43 +117,10 @@
[% 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 %]
-
- [%- 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) %]