X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_footer.html;h=e66bb41ce21ea349e258c3c08f663a7591320c85;hb=a8151afb9e600b96569d0982465c5a2d3191e258;hp=8ac37eca60211c60603615fdb97f6282342d5b79;hpb=fc41222c61dbee590005f04c50e8603581462543;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_footer.html b/templates/webpages/ap/form_footer.html index 8ac37eca6..e66bb41ce 100644 --- a/templates/webpages/ap/form_footer.html +++ b/templates/webpages/ap/form_footer.html @@ -1,21 +1,16 @@ [%- USE T8 %] [%- USE HTML %] [%- USE L %] -[%- USE LxERP %] +[%- USE LxERP %][%- USE P -%] [%- IF (num_follow_ups && num_due) %] -

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

+

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

[%- END %] - - - -[%- IF ( !id && draft_id ) %] - [% L.checkbox_tag('remove_draft', checked=remove_draft, label=LxERP.t8('Remove draft when posting')) %] -
-[%- END %] +[% P.hidden_tag('draft_id', draft_id) %] +[% P.hidden_tag('draft_description', draft_description) %]
@@ -32,37 +27,34 @@ [%- 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")) %] - -