[%- USE T8 %]
[%- USE HTML %]
[%- USE L %]
[%- USE LxERP %]
[%- IF (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 %]
[%- 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 %]
[% END %]
[%- END %]