[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Dictionary › Guided reports › Reports › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] [%- BLOCK area_name -%] [%- SWITCH area -%] [%- CASE 'CIRC' -%]Circulation [%- CASE 'CAT' -%]Catalog [%- CASE 'PAT' -%]Patrons [%- CASE 'ACQ' -%]Acquisitions [%- CASE 'ACC' -%]Accounts [%- CASE 'SER' -%]Serials [%- END -%] [%- END -%]
[% IF ( start_dictionary ) %] [% END %]

Dictionary

[% IF ( start_dictionary ) %]

Use the dictionary to define custom criteria for reporting.

[% IF ( definitions ) %]

Current terms

[% IF ( areas ) %] Filter by area [% END %]

[% FOREACH definition IN definitions %] [% END %]
Name Description Area Definition Action
[% definition.name | html %] [% definition.description | html %] [% definition.areaname | html %] [% definition.saved_sql | html %]
[% ELSE %]
There are no saved definitions. Add a definition to the dictionary.
[% END %] [% END %] [% IF ( new_dictionary ) %]

Add new definition

Step 1 of 5: Name the new definition
[% END %] [%- IF ( step_2 ) -%]

Add new definition

Step 2 of 5: Choose the area
[%- END -%] [% IF ( step_3 ) %]

Add new definition

Step 3 of 5: Choose a column
[% END %] [% IF ( step_4 ) %]

Add new definition

Step 4 of 5: Specify a value [% FOREACH column IN columns %]
  1. Column: [% column.name | html %]
  2. [% IF ( column.distinct ) %]
  3. [% END %] [% IF ( column.date ) %]
  4. Start of date range
    [% INCLUDE 'date-format.inc' %]
    End of date range
    [% INCLUDE 'date-format.inc' %]
  5. [% END %] [% IF ( column.text ) %]
  6. [% END %] [% END %]
[% END %] [% IF ( step_5 ) %]

Add new definition

Step 5 of 5: Confirm details
  1. Name:[%- definition_name | html -%]
  2. Description:[%- definition_description | html -%]
  3. Area:[%- PROCESS area_name area=area -%]
  4. Data: [%- FOREACH criteria_loo IN criteria_loop -%] [%- END -%]
    Columns Values
    [%- criteria_loo.name | html -%] [%- criteria_loo.value | html -%]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]