[% USE raw %] [% USE Branches %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF op =='add_form' %] [% IF desk.desk_id %] Modify desk [% ELSE %] New desk [% END %] › [% ELSE %] [% IF op == 'delete_confirm' %] Confirm deletion of desk › [% END %] [% END %] Desks › Administration › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'desks-admin-search.inc' %]
[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this desk. Perhaps it already exists [% CASE 'error_on_insert' %] An error occurred when adding this desk. The desk ID might already exist [% CASE 'error_on_delete' %] An error occurred when deleting this desk. Check the logs [% CASE 'success_on_update' %] Desk updated successfully [% CASE 'success_on_insert' %] Desk added successfully [% CASE 'success_on_delete' %] Desk deleted successfully [% CASE 'already_exists' %] This desk already exists [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF op == 'add_form' %] [% IF desk %]

Modify a desk

[% ELSE %]

New desk

[% END %]
    [% IF desk %]
  1. Desk ID: [% desk.desk_id | html %]
  2. [% END %]
  3. Required
Cancel
[% END %] [% IF op == 'delete_confirm' %]

Delete desk "[% desk.desk_name | html %]?"

Desk ID [% desk.desk_id | html %]
Desk [% desk.desk_name | html %]
Library [% Branches.GetName( desk.branchcode ) | html %]
[% END %] [% IF op == 'list' %]

Desks

[% IF searchfield %] Searching: [% searchfield | html %] [% END %] [% IF desks.count %] [% FOREACH desk IN desks %] [% END %]
Desk ID Desk Library Action
[% desk.desk_id | html %] [% desk.desk_name | html %] [% Branches.GetName( desk.branchcode ) | html %] Edit Delete
[% ELSE %]
There are no desks defined. Create a new desk.
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]