[% IF ( CAN_user_serials_create_subscription ) %] [% IF ( biblionumber_for_new_subscription ) %]
New subscription
[% ELSE %]
New subscription
[% END %] [% END %] [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %] [% IF ( subscriptionid ) %] [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %] [% UNLESS ( cannotedit ) %]
Edit
[% IF ( cannotedit ) %]
[% ELSE %]
[% END %]
Edit subscription
[% IF ( cannotedit ) %]
[% ELSE %]
[% END %]
Edit as new (duplicate)
[% IF ( CAN_user_serials_delete_subscription ) %] [% IF ( cannotedit ) %]
[% ELSE %]
[% END %]
Delete subscription
[% END %]
[% END %] [% END %] [% UNLESS ( cannotedit ) %] [% UNLESS closed %] [% IF ( CAN_user_serials_renew_subscription ) %]
Renew
[% END %] [% END %] [% IF ( CAN_user_serials_receive_serials ) %] [% UNLESS closed %]
Receive
[% END %] [% END %] [% IF CAN_user_serials_edit_subscription %] [% IF closed %]
Reopen
[% ELSE %]
Close
[% END %] [% END %] [% END %] [% END %] [% END %]