7 [% PROCESS 'i18n.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>[% FILTER collapse %]
11 [% IF Koha.Preference('UseCirculationDesks') %]
12 [% t("Set library and desk") | html %] ›
14 [% t("Set library") | html %] ›
16 [% t("Circulation") | html %] ›
17 [% t("Koha") | html %]
19 [% INCLUDE 'doc-head-close.inc' %]
21 .noshow {display: none;}
24 <body id="circ_set-library" class="circ">
25 [% WRAPPER 'header.inc' %]
26 [% INCLUDE 'circ-search.inc' %]
29 [% WRAPPER 'sub-header.inc' %]
30 [% WRAPPER breadcrumbs %]
31 [% WRAPPER breadcrumb_item %]
32 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
34 [% WRAPPER breadcrumb_item bc_active= 1 %]
35 <span>Set library</span>
37 [% END #/ WRAPPER breadcrumbs %]
38 [% END #/ WRAPPER sub-header.inc %]
40 <div class="main container-fluid">
42 <div class="col-sm-12">
46 [% IF Koha.Preference('CircSidebar') %]
47 <div class="col-sm-10 col-sm-push-2">
50 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
57 <h2>Update succeeded</h2>
59 [% FOREACH update IN updated %]
60 [% IF ( update.updated_branch || update.updated_desk || update.updated_register ) %]
61 [% IF ( updated.updated_branch ) %]
62 <li>Library: [% update.old_branch or "?" | html %] ⇒ [% update.new_branch or "?" | html %]</li>
64 [% IF ( update.updated_desk ) %]
65 <li>Desk: [% update.old_desk or "?" | html %] ⇒ [% LoginDeskname or "?" | html %]</li>
67 [% IF ( updated.updated_register ) %]
68 <li>Register: [% updated.old_register or "?" | html %] ⇒ [% Registers.session_register_name or "?" | html %]</li>
71 <li>ERROR - unknown</li>
75 <form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]">
77 [% FOREACH recycle_loo IN recycle_loop %]
78 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
81 <button type="submit">Continue</button>
86 <form method="post" action="set-library.pl">
87 [% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
88 <fieldset class="rows">
89 <legend>Set library</legend>
91 <li><label for="branch">Choose library:</label>
92 <select name="branch" id="branch">
93 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch, unfiltered => 1 ) %]
98 <select name="branch" id="branch" style="visibility:hidden;">
99 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
103 [% IF Koha.Preference('UseCirculationDesks') && Desks.all %]
104 <fieldset class="rows">
105 <legend>Set desk</legend>
107 <li><label for="desk">Choose desk:</label>
108 <select name="desk_id" id="desk_id">
109 [% PROCESS options_for_desks desks => Desks.all(), selected => desk_id %]
115 [% IF Koha.Preference('UseCashRegisters') %]
116 <fieldset class="rows">
117 <legend>Set cash register</legend>
120 <label for="register_id">Choose cash register:</label>
121 <select name="register_id" id="register_id">
122 <option id="noregister" selected="selected" value="">-- None --</option>
123 [% PROCESS options_for_registers registers => Registers.all() %]
130 <fieldset class="action">
131 <input type="submit" class="btn btn-primary" value="Submit" />
132 <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
135 [% FOREACH recycle_loo IN recycle_loop %]
136 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
138 <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]" />
144 [% IF Koha.Preference('CircSidebar') %]
145 </div> <!-- /.col-sm-10.col-sm-push-2 -->
146 <div class="col-sm-2 col-sm-pull-10">
148 [% INCLUDE 'circ-nav.inc' %]
150 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
151 </div> <!-- /.row -->
155 </div> <!-- /.col-sm-12 -->
156 </div> <!-- /.row -->
158 [% MACRO jsinclude BLOCK %]
159 [% Asset.js("js/desk_selection.js") | $raw %]
160 [% Asset.js("js/register_selection.js") | $raw %]
163 [% INCLUDE 'intranet-bottom.inc' %]