1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Web installer ›
6 Create circulation rule
9 [% INCLUDE 'installer-doc-head-close.inc' %]
12 <body id="installer" class="installer">
13 <div class="container-fluid">
15 <div id="onboarding-step5" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
16 <h1 id="logo"><a href="#">Koha</a></h1>
20 <h2>Web installer › Complete</h2>
21 [% INCLUDE 'onboarding_messages.inc' %]
22 <h3>Congratulations you have finished and are ready to use Koha</h3>
23 <a class="btn btn-success" href="/cgi-bin/koha/mainpage.pl">Start using Koha</a>
27 <h2>Web installer › Create a new circulation rule </h2>
29 [% INCLUDE 'onboarding_messages.inc' %]
31 <form name="createcirculationrule" method="post" action="onboarding.pl">
32 <fieldset class="rows">
33 <input type="hidden" name="step" value="5"/>
34 <input type="hidden" name="op" value="add_validate_circ_rule" />
37 <label for="branchname" class="required"> Library branch</label>
38 <select name="branch" id="branchname" required="required">
39 <option value=""> Choose</option>
40 <option value="*" selected="selected">All</option>
41 [% FOREACH library IN libraries %]
42 <option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option>
45 <span class="required">Required</span>
48 <label for="categorycode" class="required">Patron category: </label>
49 <select name="categorycode" id="categorycode" required="required">
50 <option value=""> Choose</option>
51 <option value="*" selected="selected">All</option>
52 [% FOREACH category IN categories %]
53 <option value = "[% category.categorycode | html %]"> [% category.description | html %]</option>
56 <span class="required">Required</span>
60 <label for="itemtype" class="required">Item type: </label>
61 <select id="itemtype" name="itemtype" required="required">
62 <option value=""> Choose </option>
63 <option value="*" selected="selected">All</option>
64 [% FOREACH item IN itemtypes %]
65 <option value = "[% item.itemtype | html %]"> [% item.itemtype | html %]
68 <span class="required"> Required</span>
71 <label for="maxissueqty" class="required">Current checkouts allowed: </label>
72 <input type="number" min="0" name="maxissueqty" id="maxissueqty" size="10" value="50" class="required" required="required" />
73 <span class="required">Required</span>
77 <label for="issuelength" class="required">Loan period: </label>
78 <input type="number" min="0" name="issuelength" id="issuelength" size="10" value="14" class="required" required="required" />
79 <span class="required">Required</span>
82 <label for="lengthunit">Units: </label>
83 <select name="lengthunit" id="lengthunit" required="required">
84 <option value=""> Choose </option>
85 [% SET units = 'days' %]
87 [% SET default_privacy = category.default_privacy %]
92 <option value="days" selected="selected">Days</option>
93 <option value="hours">Hours</option>
95 <option value="days">Days</option>
96 <option value="hours" selected="selected">Hours</option>
101 <label for="renewalsallowed" class="required">Renewals allowed: </label>
102 <input type="number" min="0" name="renewalsallowed" id="renewalsallowed" size="10" max="10" value="10" class="required" required="required" />
103 <span class="required">Required</span>
107 <label for="renewalperiod" class="required">Renewals period: </label>
108 <input type="number" min="0" name="renewalperiod" id="renewalperiod" size="10" value="14" class="required" required="required" />
109 <span class="required">Required</span>
113 <label for="reservesallowed">Holds allowed (total): </label>
114 <input type="number" name="reservesallowed" id="reservesallowed" size="10" value="10" min="0">
118 <label for="holds_per_day">Holds allowed (daily): </label>
119 <input type="number" name="holds_per_day" id="holds_per_day" size="10" value="10" min="0">
123 <label for="holds_per_record">Holds per record (count): </label>
124 <input type="number" name="holds_per_record" id="holds_per_record" size="10" value="1" min="0">
128 <label for="onshelfholds">On shelf holds allowed: </label>
129 <select name="onshelfholds" id="onshelfholds" required="required">
130 <option value="">Choose</option>
131 <option value="1" selected="selected">Yes</option>
132 <option value="0">If any unavailable</option>
133 <option value="2">If all unavailable</option>
138 To create circulation rule, go to:
139 <span class="breadcrumbs">Administration › Circulation and fine rules </span>
144 <input type="submit" class="btn btn-primary" value="Submit" />
147 </div> <!-- / #onboarding-step5 -->
148 </div> <!-- / .row -->
149 </div><!-- / .container-fluid -->
151 [% MACRO jsinclude BLOCK %]
152 [% INCLUDE 'validator-strings.inc' %]
153 [% INCLUDE 'installer-strings.inc' %]
154 <script src="[% interface | html %]/[% theme | html %]/js/onboarding.js"></script>
157 [% INCLUDE 'installer-intranet-bottom.inc' %]