[% USE LxERP %]
[% USE T8 %]
[% 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) %]
[% END %]
[% IF ( !id && draft_id ) %]
[% END %]
[% IF ( show_storno_button ) %]
[% END %]
[% IF ( id ) %]
[% IF ( radier ) %]
[% END %]
[% IF ( !is_closed ) %]
[% END %]
[% ELSE %]
[% IF ( !is_closed ) %]
[% END %]
[% END %]
[% IF ( show_mark_as_paid_button ) %]
[% END %]