[% USE KohaDates %] [% USE Branches %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Patron clubs [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]

Patron clubs

[% IF club_template %]
[% IF stored == 'updated' %]

Club template [% club_template.name %] was updated.

[% ELSE %]

Club template [% club_template.name %] was saved.

[% END %]
[% ELSIF club %]
[% IF stored == 'updated' %]

Club [% club.name %] was updated.

[% ELSE %]

Club [% club.name %] was saved.

[% END %]
[% END %]

Club templates

[% IF CAN_user_clubs_edit_templates %] [% END %] [% IF club_templates %] [% FOREACH t IN club_templates %] [% END %]
Name Description Public enrollment Email required Library Actions
[% t.name %] [% t.description %] [% IF t.is_enrollable_from_opac %] Yes [% ELSE %] No [% END %] [% IF t.is_email_required %] Yes [% ELSE %] No [% END %] [% Branches.GetName( t.branchcode ) %] [% IF CAN_user_clubs_edit_templates %] Edit Delete [% END %]
[% ELSE %]
No club templates defined.
[% END %]

Clubs

[% IF CAN_user_clubs_edit_clubs %]
[% IF club_templates %] [% ELSE %] [% END %]
[% END %] [% IF clubs %] [% FOREACH c IN clubs %] [% END %]
Name Template Description Public enrollment Email required Library Start date End date Enrolled patrons  
[% c.name %] [% c.club_template.name %] [% c.description %] [% IF c.club_template.is_enrollable_from_opac %] Yes [% ELSE %] No [% END %] [% IF c.club_template.is_email_required %] Yes [% ELSE %] No [% END %] [% Branches.GetName( c.branchcode ) %] [% IF c.date_start %] [% c.date_start | $KohaDates %] [% END %] [% IF c.date_end %] [% c.date_end | $KohaDates %] [% END %] [% c.club_enrollments.count %]
[% ELSE %] [% IF club_templates %]
No clubs defined.
[% ELSE %]
No clubs defined. A club template must be defined before a club can be defined.
[% END %] [% END %]
[% INCLUDE 'tools-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]