[% USE CGI %] [% SET footerjs = 1 %] [% BLOCK translate_card_element %] [%- SWITCH element -%] [%- CASE 'layout' -%]layout [%- CASE 'Layouts' -%]Layouts [%- CASE 'template' -%]template [%- CASE 'Templates' -%]Templates [%- CASE 'profile' -%]profile [%- CASE 'Profiles' -%]Profiles [%- CASE 'batch' -%]batch [%- CASE 'Batches' -%]Batches [%- CASE 'Actions' -%]Actions [%- END -%] [% END %] [% BLOCK translate_card_elements %] [%- SWITCH element -%] [%- CASE 'layout' -%]layouts [%- CASE 'template' -%]templates [%- CASE 'profile' -%]profiles [%- CASE 'batch' -%]batches [%- END -%] [% END %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Patron card creator › [% PROCESS translate_card_element element=card_element_title %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'patroncards-toolbar.inc' %] [% INCLUDE 'patroncards-errors.inc' %]
[% IF ( table_loop ) %]

Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]

[% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] [% FOREACH header_field IN table_loo.header_fields %] [% SWITCH header_field.field_label -%] [%- CASE 'Layout ID' -%] [%- CASE 'Layout' -%] [%- CASE 'Action' -%] [%- CASE 'Actions' -%] [%- CASE 'Select' -%][% IF ( print ) %][% END %] [%- CASE 'Template ID' -%] [%- CASE 'Template Name' -%] [%- CASE 'Description' -%] [%- CASE 'Profile ID' -%] [%- CASE 'Printer Name' -%] [%- CASE 'Paper Bin' -%] [%- CASE 'Batch ID' -%] [%- CASE 'Patron Count' -%] [%- CASE -%] [% END -%] [% END %] [% ELSE %] [% FOREACH text_field IN table_loo.text_fields %] [% IF ( text_field.select_field ) %] [% IF ( print ) %][% END %] [% ELSIF ( text_field.field_value ) %] [% ELSE %] [% END %] [% END %] [% END %] [% END %]
Layout IDLayoutActionActionsSelectTemplate IDTemplate nameDescriptionProfile IDPrinter namePaper binBatch IDPatron count[% header_field.field_label | html %]
Edit [% IF ( print ) %] Export[% END %] Delete [% text_field.field_value | html %] 
[% IF ( print ) %][% END %]
[% IF patron_lists %]
Or use a patron list
[% END %]
[% ELSE %]

There are no [% PROCESS translate_card_element element=card_element_title %] currently available.

Use the toolbar above to create a new [% PROCESS translate_card_element element=card_element %].

[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'greybox.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]