X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_footer.html;h=3fedfe185d1abf125e4096910073fefbaef41a5d;hb=c19956a7fe5d98df3535adc2e1a0786832497d2e;hp=e7b9660dcf5e5ab25713236c3eabb382fdfce75f;hpb=558c234e56b3a5387b164655e05f562929d9f736;p=kivitendo-erp.git
diff --git a/templates/webpages/ar/form_footer.html b/templates/webpages/ar/form_footer.html
index e7b9660dc..3fedfe185 100644
--- a/templates/webpages/ar/form_footer.html
+++ b/templates/webpages/ar/form_footer.html
@@ -1,6 +1,6 @@
[% USE LxERP %]
[% USE T8 %]
-[% USE L %]
+[% USE L %][%- USE P -%]
[% IF ( follow_up_length && follow_up_due_length ) %]
[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_up_length , follow_up_due_length) %]
@@ -8,43 +8,8 @@
-
-
-
-
-
-
-
- [% IF ( show_storno_button ) %]
-
- [% END %]
-
- [% IF ( id ) %]
- [% IF ( radier ) %]
-
-
- [% END %]
-
- [% IF ( !is_closed ) %]
-
- [% END %]
-
-
-
-
- [% ELSE %]
- [% IF ( !is_closed ) %]
-
- [% L.button_tag('kivi.Draft.popup("ar", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
- [% END %]
- [% END %]
-
- [% IF ( show_mark_as_paid_button ) %]
- [% 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 %]
-
- [% L.button_tag("kivi.RecordTemplate.popup('ar_transaction')", LxERP.t8("Record templates")) %]
-
+ [% P.hidden_tag('draft_id', draft_id) %]
+ [% P.hidden_tag('draft_description', draft_description) %]