Discharge
[% FOR message IN messages %]
[% IF message.code == "unable_to_generate_pdf" %]
An error occurs when generating the pdf file.
Please contact the administrator to resolve this problem.
[% END %]
[% END %]
[% UNLESS can_be_discharged %]
Cannot edit discharge: borrower has issues.
[% ELSE %]
[% IF has_reserves %]
Borrower has reserves: they will be canceled if the discharge is generated.
[% END %]
[% END %]