[% IF ( error_registers ) %]
You must have at least one cash register associated with this branch before you can record payments.
[% ELSE %]
[% IF payment_id && !Koha.Preference('FinePaymentAutoPopup') %]
Payment received: Print receipt
[% END %]
[% END %]