[% INCLUDE 'blocking_errors.inc' %] [% IF subscriptionid and ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_receive_serials ) %]
[% IF CAN_user_serials_create_subscription %] [% IF biblionumber_for_new_subscription %]
New subscription for this serial
[% ELSE %]
New subscription
[% END %] [% END %] [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %] [% UNLESS ( cannotedit ) %]
[% END %] [% END %] [% IF not cannotedit or CAN_user_serials_receive_serials %] [% IF CAN_user_serials_renew_subscription and not closed %]
Renew
[% END %] [% IF CAN_user_serials_receive_serials and not closed %]
Receive
[% END %] [% UNLESS cannotedit %] [% IF closed %]
Reopen
[% ELSE %]
Close
[% END %] [% END %] [% END %] [% IF Koha.Preference('Mana') == 1 and Koha.Preference('AutoShareWithMana').grep('subscription').size == 0 %] [% IF one_language_enabled==0 or mana_id %]
Share
[% ELSE %]
Share
[% END %] [% END %] [% IF ( mana_id && Koha.Preference('Mana') == 1 ) %]
[% END %]
[% ELSIF CAN_user_serials_create_subscription %]
[% IF ( biblionumber_for_new_subscription ) %]
New subscription for this serial
[% ELSE %]
New subscription
[% END %]
[% END %]