X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fd8bde53d5f22fe6923a904682dc25f2b3af8a3d..fbcd5580:/templates/webpages/ar/form_footer.html
diff --git a/templates/webpages/ar/form_footer.html b/templates/webpages/ar/form_footer.html
index 9927cc852..70864955b 100644
--- a/templates/webpages/ar/form_footer.html
+++ b/templates/webpages/ar/form_footer.html
@@ -1,5 +1,6 @@
[% USE LxERP %]
[% USE T8 %]
+[% 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) %]
@@ -7,15 +8,8 @@
-
-
-
-
-
- [% IF ( !id && draft_id ) %]
-
-
- [% END %]
+ [% P.hidden_tag('draft_id', draft_id) %]
+ [% P.hidden_tag('draft_description', draft_description) %]
@@ -41,12 +35,28 @@
[% 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")) %]
+
+
+