Fix for 1704, now if autoitemreturns is off you get a dialogue warning a
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / issuingrules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo; Issuing Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <script type="text/javascript">
6 //<![CDATA[
7 $(document).ready(function() {
8         $('#selectlibrary').find("input:submit").hide();
9         $('#branch').change(function() {
10                 $('#selectlibrary').submit();
11         });
12 });
13 //]]>
14 </script>
15
16 </head>
17 <body>
18 <!-- TMPL_INCLUDE NAME="header.inc" -->
19 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
20
21 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;  Issuing Rules</div>
22
23 <div id="doc3" class="yui-t1">
24
25 <div id="bd">
26     <div id="yui-main">
27     <div class="yui-b">
28
29     <h1>Defining <!-- TMPL_IF NAME="branch" -->issuing rules for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default issuing rules<!-- /TMPL_IF --></h1>
30     <div class="help">
31         <h3>HINT for issues</h3>
32         <p>Each box needs to be filled in with issuelength,maxissues. For example: 21,5 enables 5 issues for 21 days</p>
33     </div>
34
35     <div class="help">
36         <h3>Default values</h3>
37         <ul>
38             <li>If a cell is not filled, the value in the default column (top right) is used</li>
39             <li>If a total is filled (last line), the patron must fit both itemtype and total rule</li>
40             <li>If a rule is filled for a given branch, it is used, otherwise, it's the rule of the "default" branch</li>
41                 </ul>
42     </div>
43         <form method="post" id="selectlibrary" action="/cgi-bin/koha/admin/issuingrules.pl">
44         <label for="branch">Select a library :</label>
45             <select id="branch" name="branch">
46                 <option value="">Default</option>
47                 <!-- TMPL_LOOP NAME="branchloop" -->
48                     <!-- TMPL_IF NAME="selected" -->
49                         <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
50                     <!-- TMPL_ELSE -->
51                         <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
52                     <!-- /TMPL_IF -->
53                 <!-- /TMPL_LOOP -->
54             </select>
55             <input type="submit" value="Select" />
56         </form>
57         <form method="post" action="/cgi-bin/koha/admin/issuingrules.pl">
58             <input type="hidden" name="op" value="save" />
59             <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
60             
61             <table>
62                 <caption>Defining circulation rules for <!-- TMPL_VAR NAME="branch" --></caption>
63                 <tr>
64                     <th>&nbsp;</th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_IF EXPR="in_title eq '*'" -->Default<!-- TMPL_ELSE --><!-- TMPL_VAR NAME="in_title" --><!-- /TMPL_IF --></th><!-- /TMPL_LOOP -->
65                 </tr>
66                 <!-- TMPL_LOOP NAME="row" -->
67                     <tr>
68                         <th scope="row"><!-- TMPL_IF name="total" -->Total <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="categorycode" --><!-- /TMPL_IF --></th>
69                         <!-- TMPL_LOOP NAME="cell" -->
70                             <!-- TMPL_IF NAME="toggle" -->
71                                 <td class="highlight">
72                             <!-- TMPL_ELSE -->
73                                 <td>
74                             <!-- /TMPL_IF -->
75                                 <input name="<!-- TMPL_VAR NAME="issuingname" -->" value="<!-- TMPL_VAR NAME="issuingvalue" -->" size="6" maxlength="10" />
76                             </td>
77                         <!-- /TMPL_LOOP -->
78                     </tr>
79                 <!-- /TMPL_LOOP -->
80             </table>
81             <fieldset class="action"><input type="submit" value="Save Changes" /> <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a></fieldset>
82         </form>
83
84 </div>
85 </div>
86 <div class="yui-b">
87 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
88 </div>
89 </div>
90 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->