X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_footer.html;h=8f02e0c2dd0c4173fb8b2db84acf47e9cbe96512;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=ba952ca5deb137f0a3eb4a7b55c16acfd2e96c47;hpb=1ca98d42a3b628007035e89bb3763fe327b05c39;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_footer.html b/templates/webpages/ap/form_footer.html index ba952ca5d..8f02e0c2d 100644 --- a/templates/webpages/ap/form_footer.html +++ b/templates/webpages/ap/form_footer.html @@ -1,7 +1,7 @@ [%- USE T8 %] [%- USE HTML %] [%- USE L %] -[%- USE LxERP %] +[%- USE LxERP %][%- USE P -%] [%- IF (num_follow_ups && num_due) %]

[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due) %]

@@ -9,40 +9,8 @@ - - - -
- - - -[%- IF id %] - [%- IF radier %] - - - [%- END %] - - [%- IF show_storno %] - - [%- END %] - - - - - -[%- ELSIF show_post_draft %] - - [% L.button_tag('kivi.Draft.popup("ap", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %] -[%- END %] - -[%- IF id %] - - [% IF INSTANCE_CONF.get_ap_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 %] - - [% L.button_tag("kivi.RecordTemplate.popup('ap_transaction')", LxERP.t8("Record templates")) %] +[% P.hidden_tag('draft_id', draft_id) %] +[% P.hidden_tag('draft_description', draft_description) %]