X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fir%2Fform_footer.html;h=30f77c5960697c43603212fcde715a5cd6802186;hb=52faff2bc4541af63fd0a37e9dced0d32a7a6a0b;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..30f77c596 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 %]
-
-
-[% 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) %]