|
Lines 11-986
Link Here
|
| 11 |
[% SET footerjs = 1 %] |
11 |
[% SET footerjs = 1 %] |
| 12 |
[% INCLUDE 'doc-head-open.inc' %] |
12 |
[% INCLUDE 'doc-head-open.inc' %] |
| 13 |
[% SET destination = "circ" %] |
13 |
[% SET destination = "circ" %] |
| 14 |
<title>Koha › Circulation |
14 |
<title> |
| 15 |
[% IF patron %] |
15 |
Koha › Circulation |
| 16 |
› Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %] |
16 |
[% IF patron %] |
| 17 |
[% END %] |
17 |
› Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %] |
|
|
18 |
[% END %] |
| 18 |
</title> |
19 |
</title> |
| 19 |
[% INCLUDE 'doc-head-close.inc' %] |
20 |
[% INCLUDE 'doc-head-close.inc' %] |
| 20 |
</head> |
21 |
</head> |
| 21 |
|
22 |
|
| 22 |
<body id="circ_circulation" class="circ"> |
23 |
<body id="circ_circulation" class="circ"> |
| 23 |
|
24 |
|
| 24 |
[% INCLUDE 'header.inc' %] |
25 |
[% INCLUDE 'header.inc' %] |
| 25 |
[% INCLUDE 'circ-search.inc' %] |
26 |
[% INCLUDE 'circ-search.inc' %] |
| 26 |
|
|
|
| 27 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › |
| 28 |
[% IF patron %] |
| 29 |
<a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %] |
| 30 |
[% ELSE %] |
| 31 |
<strong>Checkouts</strong> |
| 32 |
[% END %] |
| 33 |
</div> |
| 34 |
[% IF ( $borrowers ) %] |
| 35 |
<div id="doc" class="yui-t7"> |
| 36 |
|
| 37 |
<div id="bd"> |
| 38 |
<div id="yui-main"> |
| 39 |
<div class="yui-g"> |
| 40 |
[% ELSE %] |
| 41 |
<div id="doc3" class="yui-t2"> |
| 42 |
|
| 43 |
<div id="bd"> |
| 44 |
<div id="yui-main"> |
| 45 |
<div class="yui-b"> |
| 46 |
[% END %] |
| 47 |
|
| 48 |
[% IF patron %] |
| 49 |
[% INCLUDE 'members-toolbar.inc' %] |
| 50 |
[% END %] |
| 51 |
|
| 52 |
<!-- INITIAL BLOC : PARAMETERS & BORROWER INFO --> |
| 53 |
[% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% expiry | $KohaDates %]</div>[% END %] |
| 54 |
|
| 55 |
[% IF autoswitched %] |
| 56 |
<div id="autoswitched" class="dialog message">Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.</div> |
| 57 |
[% END %] |
| 58 |
|
27 |
|
| 59 |
[% IF additional_materials %] |
28 |
<div id="breadcrumbs"> |
| 60 |
<div id="materials" class="dialog message">Note about the accompanying materials: <br /> |
29 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
| 61 |
[% additional_materials | html %] |
30 |
<a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › |
|
|
31 |
[% IF patron %] |
| 32 |
<a href="/cgi-bin/koha/circ/circulation.pl">Checkouts</a> › [% INCLUDE 'patron-title.inc' %] |
| 33 |
[% ELSE %] |
| 34 |
<strong>Checkouts</strong> |
| 35 |
[% END %] |
| 62 |
</div> |
36 |
</div> |
| 63 |
[% END %] |
|
|
| 64 |
|
37 |
|
| 65 |
[% IF ( alert.ITEM_LOST ) %] |
38 |
[% IF ( $borrowers ) %] |
| 66 |
<div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST | html %]".</div> |
39 |
<div id="doc" class="yui-t7"> |
| 67 |
[% END %] |
40 |
<div id="bd"> |
| 68 |
|
41 |
<div id="yui-main"> |
| 69 |
[% IF ( alert.OTHER_CHARGES ) %] |
42 |
<div class="yui-g"> |
| 70 |
<div class="dialog message">The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES | $Price %]</div> |
43 |
[% ELSE %] |
| 71 |
[% END %] |
44 |
<div id="doc3" class="yui-t2"> |
| 72 |
|
45 |
<div id="bd"> |
| 73 |
[% IF alert.HIGHHOLDS %] |
46 |
<div id="yui-main"> |
| 74 |
<div class="dialog message">High demand item. <b>Loan period was not shortened due to override.</b> Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).</div> |
47 |
<div class="yui-b"> |
| 75 |
[% END %] |
48 |
[% END %] |
| 76 |
|
|
|
| 77 |
[% IF alert.RETURNED_FROM_ANOTHER %] |
| 78 |
<div class="dialog alert">Item was checked out to [% INCLUDE 'patron-title.inc' patron = alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.</div> |
| 79 |
[% END %] |
| 80 |
|
| 81 |
[% IF ( nopermission ) %] |
| 82 |
<div class="dialog alert">Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.</div> |
| 83 |
[% END %] |
| 84 |
|
| 85 |
[% IF ( NEEDSCONFIRMATION ) %] |
| 86 |
<div class="yui-g"> |
| 87 |
|
| 88 |
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action"> |
| 89 |
[% IF CAN_user_circulate_force_checkout %] |
| 90 |
<h3>Please confirm checkout</h3> |
| 91 |
[% ELSE %] |
| 92 |
<h3>Cannot check out</h3> |
| 93 |
[% END %] |
| 94 |
|
| 95 |
<ul> |
| 96 |
[%IF ( AGE_RESTRICTION ) %] |
| 97 |
<li>Age restriction [% AGE_RESTRICTION | html %]. |
| 98 |
[% IF CAN_user_circulate_force_checkout %] |
| 99 |
Check out anyway? |
| 100 |
[% END %] |
| 101 |
</li> |
| 102 |
[% END %] |
| 103 |
|
| 104 |
[% IF ( DEBT ) %] |
| 105 |
<li>The patron has a debt of [% DEBT | $Price %].</li> |
| 106 |
[% END %] |
| 107 |
|
| 108 |
[% IF ( DEBT_GUARANTEES ) %] |
| 109 |
<li>The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].</li> |
| 110 |
[% END %] |
| 111 |
|
| 112 |
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %] |
| 113 |
<li>Rental charge for this item: [% RENTALCHARGE | $Price %]</li> |
| 114 |
[% END %] |
| 115 |
|
| 116 |
[% IF ( RENEW_ISSUE ) %] |
| 117 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?</li> |
| 118 |
[% END %] |
| 119 |
|
| 120 |
[% IF ( RESERVE_WAITING ) %] |
| 121 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]</li> |
| 122 |
[% END %] |
| 123 |
|
| 124 |
[% IF ( RESERVED ) %] |
| 125 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]</li> |
| 126 |
[% END %] |
| 127 |
|
| 128 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
| 129 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber | uri %]">[% issued_firstname | html %] [% issued_surname | html %]</a> ([% issued_cardnumber | html %]). |
| 130 |
[% IF CAN_user_circulate_force_checkout %] |
| 131 |
Check in and check out? |
| 132 |
[% END %] |
| 133 |
</li> |
| 134 |
[% END %] |
| 135 |
|
49 |
|
| 136 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %] |
50 |
[% IF patron %] |
| 137 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
51 |
[% INCLUDE 'members-toolbar.inc' %] |
| 138 |
[% END %] |
52 |
[% END %] |
| 139 |
|
53 |
|
| 140 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %] |
54 |
<!-- INITIAL BLOC : PARAMETERS & BORROWER INFO --> |
| 141 |
<li>Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.</li> |
55 |
[% IF ( was_renewed ) %] |
| 142 |
[% END %] |
56 |
<div class="dialog message">Patron's account has been renewed until [% expiry | $KohaDates %]</div> |
|
|
57 |
[% END %] |
| 143 |
|
58 |
|
| 144 |
[% IF ( BORRNOTSAMEBRANCH ) %] |
59 |
[% IF autoswitched %] |
| 145 |
<li>This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])</li> |
60 |
<div id="autoswitched" class="dialog message">Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.</div> |
| 146 |
[% END %] |
61 |
[% END %] |
| 147 |
|
62 |
|
| 148 |
[% IF ( PATRON_CANT ) %] |
63 |
[% IF additional_materials %] |
| 149 |
<li>This patron can't check out this item per library circulation policy.</li> |
64 |
<div id="materials" class="dialog message">Note about the accompanying materials: <br /> |
| 150 |
[% END %] |
65 |
[% additional_materials | html %] |
|
|
66 |
</div> |
| 67 |
[% END %] |
| 151 |
|
68 |
|
| 152 |
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %] |
69 |
[% IF ( alert.ITEM_LOST ) %] |
| 153 |
<li>No circulation rule is defined for this patron and itemtype combination.</li> |
70 |
<div class="dialog message">This item has been lost with a status of "[% alert.ITEM_LOST | html %]".</div> |
| 154 |
[% END %] |
71 |
[% END %] |
| 155 |
|
72 |
|
| 156 |
[% IF ( NOT_FOR_LOAN_FORCING ) %] |
73 |
[% IF ( alert.OTHER_CHARGES ) %] |
| 157 |
<li> |
74 |
<div class="dialog message">The patron has unpaid charges for holds, rentals etc of [% alert.OTHER_CHARGES | $Price %]</div> |
| 158 |
[% IF ( itemtype_notforloan ) %] |
75 |
[% END %] |
| 159 |
Item type is normally not for loan. |
|
|
| 160 |
[% ELSIF ( item_notforloan ) %] |
| 161 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
| 162 |
Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
| 163 |
[% END %] |
| 164 |
[% IF CAN_user_circulate_force_checkout %] |
| 165 |
Check out anyway? |
| 166 |
[% END %] |
| 167 |
</li> |
| 168 |
[% END %] |
| 169 |
|
76 |
|
| 170 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
77 |
[% IF alert.HIGHHOLDS %] |
| 171 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). |
78 |
<div class="dialog message">High demand item. <b>Loan period was not shortened due to override.</b> Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).</div> |
| 172 |
[% IF CAN_user_circulate_force_checkout %] |
79 |
[% END %] |
| 173 |
Check out anyway? |
|
|
| 174 |
[% END %] |
| 175 |
</li> |
| 176 |
[% END %] |
| 177 |
|
80 |
|
| 178 |
[% IF ( ITEM_LOST ) %] |
81 |
[% IF alert.RETURNED_FROM_ANOTHER %] |
| 179 |
<li>This item has been lost with a status of "[% ITEM_LOST | html %]". |
82 |
<div class="dialog alert">Item was checked out to [% INCLUDE 'patron-title.inc' patron = alert.RETURNED_FROM_ANOTHER.patron %] and was returned automatically.</div> |
| 180 |
[% IF CAN_user_circulate_force_checkout %] |
83 |
[% END %] |
| 181 |
Check out anyway? |
|
|
| 182 |
[% END %] |
| 183 |
</li> |
| 184 |
[% END %] |
| 185 |
|
84 |
|
| 186 |
[% IF HIGHHOLDS %] |
85 |
[% IF ( nopermission ) %] |
| 187 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li> |
86 |
<div class="dialog alert">Staff members are not allowed to discharge borrowers, nor borrowers to request a discharge.</div> |
| 188 |
[% END %] |
87 |
[% END %] |
| 189 |
|
88 |
|
| 190 |
[% IF PREVISSUE %] |
89 |
[% IF ( NEEDSCONFIRMATION ) %] |
| 191 |
<li>Patron has previously checked out this title: <b>[% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</b>. Check out anyway?</li> |
90 |
<div class="yui-g"> |
| 192 |
[% END %] |
91 |
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action"> |
|
|
92 |
[% IF CAN_user_circulate_force_checkout %] |
| 93 |
<h3>Please confirm checkout</h3> |
| 94 |
[% ELSE %] |
| 95 |
<h3>Cannot check out</h3> |
| 96 |
[% END %] |
| 97 |
|
| 98 |
<ul> |
| 99 |
[%IF ( AGE_RESTRICTION ) %] |
| 100 |
<li> |
| 101 |
Age restriction [% AGE_RESTRICTION | html %]. |
| 102 |
[% IF CAN_user_circulate_force_checkout %] |
| 103 |
Check out anyway? |
| 104 |
[% END %] |
| 105 |
</li> |
| 106 |
[% END %] |
| 193 |
|
107 |
|
| 194 |
[% IF BIBLIO_ALREADY_ISSUED %] |
108 |
[% IF ( DEBT ) %] |
| 195 |
<li> |
109 |
<li>The patron has a debt of [% DEBT | $Price %].</li> |
| 196 |
Patron has already checked out another item from this record. |
110 |
[% END %] |
| 197 |
[% IF CAN_user_circulate_force_checkout %] |
|
|
| 198 |
Check out anyway? |
| 199 |
[% END %] |
| 200 |
</li> |
| 201 |
[% END %] |
| 202 |
</ul> |
| 203 |
|
111 |
|
| 204 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
112 |
[% IF ( DEBT_GUARANTEES ) %] |
| 205 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
113 |
<li>The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].</li> |
| 206 |
<input type="hidden" name="restoreduedatespec" /> |
114 |
[% END %] |
| 207 |
|
115 |
|
| 208 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
116 |
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %] |
|
|
117 |
<li>Rental charge for this item: [% RENTALCHARGE | $Price %]</li> |
| 118 |
[% END %] |
| 209 |
|
119 |
|
| 210 |
[% IF HIGHHOLDS %] |
120 |
[% IF ( RENEW_ISSUE ) %] |
| 211 |
<p class="circ-override-high-holds"> |
121 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?</li> |
| 212 |
<input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" /> |
122 |
[% END %] |
| 213 |
<label for="override_high_holds_tmp">Don't decrease loan length based on holds</label> |
|
|
| 214 |
</p> |
| 215 |
[% END %] |
| 216 |
|
123 |
|
| 217 |
[% IF ( RESERVED ) %] |
124 |
[% IF ( RESERVE_WAITING ) %] |
| 218 |
<p> |
125 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]</li> |
| 219 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
126 |
[% END %] |
| 220 |
<label for="cancelreserve">Cancel hold</label> |
|
|
| 221 |
</p> |
| 222 |
[% END %] |
| 223 |
|
127 |
|
| 224 |
[% IF ( RESERVE_WAITING ) %] |
128 |
[% IF ( RESERVED ) %] |
| 225 |
<p> |
129 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]</li> |
| 226 |
<label for="cancelreserve">Cancel hold</label> |
130 |
[% END %] |
| 227 |
<input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br /> |
|
|
| 228 |
<label for="revertreserve">Revert waiting status</label> |
| 229 |
<input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/> |
| 230 |
</p> |
| 231 |
[% END %] |
| 232 |
|
131 |
|
| 233 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
132 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
| 234 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
133 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber | uri %]">[% issued_firstname | html %] [% issued_surname | html %]</a> ([% issued_cardnumber | html %]). |
| 235 |
<input type="hidden" name="issueconfirmed" value="1" /> |
134 |
[% IF CAN_user_circulate_force_checkout %] |
| 236 |
<input type="hidden" name="override_high_holds" value="[% override_high_holds | html %]"/> |
135 |
Check in and check out? |
| 237 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
136 |
[% END %] |
| 238 |
[% IF ( INVALID_DATE ) %] |
137 |
</li> |
| 239 |
<p> |
138 |
[% END %] |
| 240 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
|
|
| 241 |
<label for="duedatespec">Due date</label> |
| 242 |
</p> |
| 243 |
[% ELSE %] |
| 244 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 245 |
[% END %] |
| 246 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 247 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 248 |
[% IF ( RENEW_ISSUE ) %] |
| 249 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button> |
| 250 |
[% ELSE %] |
| 251 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button> |
| 252 |
[% END %] |
| 253 |
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" /> |
| 254 |
<input type="hidden" name="auto_renew" value="[% auto_renew | html %]" /> |
| 255 |
</form> |
| 256 |
[% END %] |
| 257 |
|
139 |
|
| 258 |
[% IF ( RESERVED ) %] |
140 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %] |
| 259 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
141 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
| 260 |
<input type="hidden" name="restoreduedatespec" /> |
142 |
[% END %] |
| 261 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
|
|
| 262 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 263 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 264 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
| 265 |
</form> |
| 266 |
[% END %] |
| 267 |
|
143 |
|
| 268 |
[% IF ( RESERVE_WAITING ) %] |
144 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %] |
| 269 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
145 |
<li>Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.</li> |
| 270 |
<input type="hidden" name="restoreduedatespec" /> |
146 |
[% END %] |
| 271 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
|
|
| 272 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 273 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 274 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
| 275 |
</form> |
| 276 |
[% END %] |
| 277 |
|
147 |
|
| 278 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
148 |
[% IF ( BORRNOTSAMEBRANCH ) %] |
| 279 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
149 |
<li>This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])</li> |
| 280 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
150 |
[% END %] |
| 281 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
|
|
| 282 |
<input type="hidden" name="restoreduedatespec" /> |
| 283 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 284 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
| 285 |
[% IF ( RENEW_ISSUE ) %] |
| 286 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
| 287 |
[% ELSE %] |
| 288 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't check out (N)</button> |
| 289 |
[% END %] |
| 290 |
[% ELSE %] |
| 291 |
<button type="submit" class="deny"><i class="fa fa-times"></i> Continue</button> |
| 292 |
[% END %] |
| 293 |
</form> |
| 294 |
|
151 |
|
| 295 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
152 |
[% IF ( PATRON_CANT ) %] |
| 296 |
[% UNLESS noissues %] |
153 |
<li>This patron can't check out this item per library circulation policy.</li> |
| 297 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
154 |
[% END %] |
| 298 |
[% END %] |
|
|
| 299 |
[% END %] |
| 300 |
</div></div> |
| 301 |
[% END %] <!-- NEEDSCONFIRMATION --> |
| 302 |
|
155 |
|
| 303 |
[% IF ( IMPOSSIBLE ) %] |
156 |
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %] |
|
|
157 |
<li>No circulation rule is defined for this patron and itemtype combination.</li> |
| 158 |
[% END %] |
| 304 |
|
159 |
|
| 305 |
<div class="yui-g"> |
160 |
[% IF ( NOT_FOR_LOAN_FORCING ) %] |
| 306 |
<div id="circ_impossible" class="dialog alert audio-alert-warning"> |
161 |
<li> |
| 307 |
[% IF ( UNKNOWN_BARCODE ) %] |
162 |
[% IF ( itemtype_notforloan ) %] |
| 308 |
<h3>Barcode not found</h3> |
163 |
Item type is normally not for loan. |
| 309 |
[% END %] |
164 |
[% ELSIF ( item_notforloan ) %] |
| 310 |
<!-- RESULT OF ISSUING REQUEST --> |
165 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
| 311 |
<ul> |
166 |
Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
| 312 |
[% IF ( STATS ) %] |
167 |
[% END %] |
| 313 |
<li>Local use recorded</li> |
168 |
[% IF CAN_user_circulate_force_checkout %] |
| 314 |
[% END %] |
169 |
Check out anyway? |
|
|
170 |
[% END %] |
| 171 |
</li> |
| 172 |
[% END %] |
| 315 |
|
173 |
|
| 316 |
[% IF ( INVALID_DATE ) %] |
174 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
| 317 |
<li>The due date "[% INVALID_DATE | html %]" is invalid</li> |
175 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). |
| 318 |
[% END %] |
176 |
[% IF CAN_user_circulate_force_checkout %] |
|
|
177 |
Check out anyway? |
| 178 |
[% END %] |
| 179 |
</li> |
| 180 |
[% END %] |
| 319 |
|
181 |
|
| 320 |
[% IF ( UNKNOWN_BARCODE ) %] |
182 |
[% IF ( ITEM_LOST ) %] |
| 321 |
<li>The barcode was not found: <span class="ex">[% barcode | html %]</span> |
183 |
<li>This item has been lost with a status of "[% ITEM_LOST | html %]". |
|
|
184 |
[% IF CAN_user_circulate_force_checkout %] |
| 185 |
Check out anyway? |
| 186 |
[% END %] |
| 187 |
</li> |
| 188 |
[% END %] |
| 322 |
|
189 |
|
| 323 |
<div> |
190 |
[% IF HIGHHOLDS %] |
| 324 |
[% IF ( FALLBACK ) %] |
191 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li> |
| 325 |
[% IF options %] |
192 |
[% END %] |
| 326 |
<button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> Show matching titles</button> |
|
|
| 327 |
[% ELSE %] |
| 328 |
<div>No items were found by searching.</div> |
| 329 |
[% END %] |
| 330 |
[% END %] |
| 331 |
|
193 |
|
| 332 |
[% IF ( fast_cataloging ) %] |
194 |
[% IF PREVISSUE %] |
| 333 |
[% IF ( CAN_user_editcatalogue_fast_cataloging ) %] |
195 |
<li>Patron has previously checked out this title: <b>[% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</b>. Check out anyway?</li> |
| 334 |
<a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% patron.borrowernumber | html %]&branch=[% branch | html %]&duedatespec=[% duedatespec | html %]&stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a> |
196 |
[% END %] |
| 335 |
[% END %] |
|
|
| 336 |
[% END %] |
| 337 |
</div> |
| 338 |
|
197 |
|
| 339 |
</li> |
198 |
[% IF BIBLIO_ALREADY_ISSUED %] |
| 340 |
[% END %] |
199 |
<li> |
|
|
200 |
Patron has already checked out another item from this record. |
| 201 |
[% IF CAN_user_circulate_force_checkout %] |
| 202 |
Check out anyway? |
| 203 |
[% END %] |
| 204 |
</li> |
| 205 |
[% END %] |
| 206 |
</ul> |
| 207 |
|
| 208 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
| 209 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
| 210 |
<input type="hidden" name="restoreduedatespec" /> |
| 211 |
|
| 212 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
| 213 |
|
| 214 |
[% IF HIGHHOLDS %] |
| 215 |
<p class="circ-override-high-holds"> |
| 216 |
<input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" /> |
| 217 |
<label for="override_high_holds_tmp">Don't decrease loan length based on holds</label> |
| 218 |
</p> |
| 219 |
[% END %] |
| 220 |
|
| 221 |
[% IF ( RESERVED ) %] |
| 222 |
<p> |
| 223 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
| 224 |
<label for="cancelreserve">Cancel hold</label> |
| 225 |
</p> |
| 226 |
[% END %] |
| 227 |
|
| 228 |
[% IF ( RESERVE_WAITING ) %] |
| 229 |
<p> |
| 230 |
<label for="cancelreserve">Cancel hold</label> |
| 231 |
<input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br /> |
| 232 |
<label for="revertreserve">Revert waiting status</label> |
| 233 |
<input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/> |
| 234 |
</p> |
| 235 |
[% END %] |
| 236 |
|
| 237 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
| 238 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 239 |
<input type="hidden" name="issueconfirmed" value="1" /> |
| 240 |
<input type="hidden" name="override_high_holds" value="[% override_high_holds | html %]"/> |
| 241 |
|
| 242 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
| 243 |
|
| 244 |
[% IF ( INVALID_DATE ) %] |
| 245 |
<p> |
| 246 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
| 247 |
<label for="duedatespec">Due date</label> |
| 248 |
</p> |
| 249 |
[% ELSE %] |
| 250 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 251 |
[% END %] |
| 252 |
|
| 253 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 254 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 255 |
|
| 256 |
[% IF ( RENEW_ISSUE ) %] |
| 257 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button> |
| 258 |
[% ELSE %] |
| 259 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button> |
| 260 |
[% END %] |
| 261 |
|
| 262 |
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" /> |
| 263 |
<input type="hidden" name="auto_renew" value="[% auto_renew | html %]" /> |
| 264 |
</form> |
| 265 |
[% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
| 266 |
|
| 267 |
[% IF ( RESERVED ) %] |
| 268 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
| 269 |
<input type="hidden" name="restoreduedatespec" /> |
| 270 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 271 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 272 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 273 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
| 274 |
</form> |
| 275 |
[% END %] |
| 276 |
|
| 277 |
[% IF ( RESERVE_WAITING ) %] |
| 278 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
| 279 |
<input type="hidden" name="restoreduedatespec" /> |
| 280 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 281 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 282 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 283 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
| 284 |
</form> |
| 285 |
[% END %] |
| 286 |
|
| 287 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
| 288 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
| 289 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 290 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 291 |
<input type="hidden" name="restoreduedatespec" /> |
| 292 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 293 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
| 294 |
[% IF ( RENEW_ISSUE ) %] |
| 295 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
| 296 |
[% ELSE %] |
| 297 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't check out (N)</button> |
| 298 |
[% END %] |
| 299 |
[% ELSE %] |
| 300 |
<button type="submit" class="deny"><i class="fa fa-times"></i> Continue</button> |
| 301 |
[% END %] |
| 302 |
</form> |
| 341 |
|
303 |
|
| 342 |
[% IF ( NOT_FOR_LOAN ) %] |
304 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
| 343 |
<li> |
305 |
[% UNLESS noissues %] |
| 344 |
[% IF ( itemtype_notforloan ) %] |
306 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
| 345 |
Item type not for loan. |
307 |
[% END %] |
| 346 |
[% ELSIF ( item_notforloan ) %] |
308 |
[% END %] |
| 347 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
309 |
</div> <!-- /#circ_needsconfirmation --> |
| 348 |
Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
310 |
</div> <!-- /.yui-g --> |
| 349 |
[% END %] |
311 |
[% END # /NEEDSCONFIRMATION %] |
| 350 |
</li> |
312 |
|
| 351 |
[% END %] |
313 |
[% IF ( IMPOSSIBLE ) %] |
|
|
314 |
<div class="yui-g"> |
| 315 |
<div id="circ_impossible" class="dialog alert audio-alert-warning"> |
| 316 |
[% IF ( UNKNOWN_BARCODE ) %] |
| 317 |
<h3>Barcode not found</h3> |
| 318 |
[% END %] |
| 319 |
|
| 320 |
<!-- RESULT OF ISSUING REQUEST --> |
| 321 |
<ul> |
| 322 |
[% IF ( STATS ) %] |
| 323 |
<li>Local use recorded</li> |
| 324 |
[% END %] |
| 352 |
|
325 |
|
| 353 |
[% IF ( WTHDRAWN ) %] |
326 |
[% IF ( INVALID_DATE ) %] |
| 354 |
<li> |
327 |
<li>The due date "[% INVALID_DATE | html %]" is invalid</li> |
| 355 |
<span>Item has been withdrawn</span> |
328 |
[% END %] |
| 356 |
[% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] |
|
|
| 357 |
[% IF (item_withdrawn_lib) %]<span class="co-withdrawn">([% item_withdrawn_lib | html %])</span>[% END %] |
| 358 |
</li> |
| 359 |
[% END %] |
| 360 |
|
329 |
|
| 361 |
[% IF ( RESTRICTED ) %] |
330 |
[% IF ( UNKNOWN_BARCODE ) %] |
| 362 |
<li>Item is restricted</li> |
331 |
<li>The barcode was not found: <span class="ex">[% barcode | html %]</span> |
| 363 |
[% END %] |
332 |
<div> |
|
|
333 |
[% IF ( FALLBACK ) %] |
| 334 |
[% IF options %] |
| 335 |
<button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> Show matching titles</button> |
| 336 |
[% ELSE %] |
| 337 |
<div>No items were found by searching.</div> |
| 338 |
[% END %] |
| 339 |
[% END %] |
| 364 |
|
340 |
|
| 365 |
[% IF ( GNA ) %] |
341 |
[% IF ( fast_cataloging ) %] |
| 366 |
<li>Patron's address is in doubt</li> |
342 |
[% IF ( CAN_user_editcatalogue_fast_cataloging ) %] |
| 367 |
[% END %] |
343 |
<a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% patron.borrowernumber | html %]&branch=[% branch | html %]&duedatespec=[% duedatespec | html %]&stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a> |
|
|
344 |
[% END %] |
| 345 |
[% END %] |
| 346 |
</div> |
| 347 |
</li> |
| 348 |
[% END %] |
| 368 |
|
349 |
|
| 369 |
[% IF ( CARD_LOST ) %] |
350 |
[% IF ( NOT_FOR_LOAN ) %] |
| 370 |
<li>Patron's card is lost</li> |
351 |
<li> |
| 371 |
[% END %] |
352 |
[% IF ( itemtype_notforloan ) %] |
|
|
353 |
Item type not for loan. |
| 354 |
[% ELSIF ( item_notforloan ) %] |
| 355 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
| 356 |
Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
| 357 |
[% END %] |
| 358 |
</li> |
| 359 |
[% END %] |
| 372 |
|
360 |
|
| 373 |
[% IF ( DEBARRED ) %] |
361 |
[% IF ( WTHDRAWN ) %] |
| 374 |
<li>Patron is restricted</li> |
362 |
<li> |
| 375 |
[% END %] |
363 |
<span>Item has been withdrawn</span> |
|
|
364 |
[% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] |
| 365 |
[% IF (item_withdrawn_lib) %]<span class="co-withdrawn">([% item_withdrawn_lib | html %])</span>[% END %] |
| 366 |
</li> |
| 367 |
[% END %] |
| 376 |
|
368 |
|
| 377 |
[% IF ( NO_MORE_RENEWALS ) %] |
369 |
[% IF ( RESTRICTED ) %] |
| 378 |
<li>No more renewals possible</li> |
370 |
<li>Item is restricted</li> |
| 379 |
[% END %] |
371 |
[% END %] |
| 380 |
|
372 |
|
| 381 |
[% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %] |
373 |
[% IF ( GNA ) %] |
| 382 |
<li>This item can not be renewed, it's an on-site checkout</li> |
374 |
<li>Patron's address is in doubt</li> |
| 383 |
[% END %] |
375 |
[% END %] |
| 384 |
|
376 |
|
| 385 |
[%IF ( AGE_RESTRICTION ) %] |
377 |
[% IF ( CARD_LOST ) %] |
| 386 |
<li>Age restriction [% AGE_RESTRICTION | html %].</li> |
378 |
<li>Patron's card is lost</li> |
| 387 |
[% END %] |
379 |
[% END %] |
| 388 |
|
380 |
|
| 389 |
[% IF ( EXPIRED ) %] |
381 |
[% IF ( DEBARRED ) %] |
| 390 |
<li>Patron's card is expired</li> |
382 |
<li>Patron is restricted</li> |
| 391 |
[% END %] |
383 |
[% END %] |
| 392 |
|
384 |
|
| 393 |
[% IF ( TOO_MANY ) %] |
385 |
[% IF ( NO_MORE_RENEWALS ) %] |
| 394 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
386 |
<li>No more renewals possible</li> |
| 395 |
[% END %] |
387 |
[% END %] |
| 396 |
|
388 |
|
| 397 |
[% IF ( ITEMNOTSAMEBRANCH ) %] |
389 |
[% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %] |
| 398 |
<li>This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.</li> |
390 |
<li>This item can not be renewed, it's an on-site checkout</li> |
| 399 |
[% END %] |
391 |
[% END %] |
| 400 |
|
392 |
|
| 401 |
[% IF RETURN_IMPOSSIBLE %] |
393 |
[%IF ( AGE_RESTRICTION ) %] |
| 402 |
<li>This item must be returned to [% Branches.GetName( branch_to_return ) | html %].</li> |
394 |
<li>Age restriction [% AGE_RESTRICTION | html %].</li> |
| 403 |
[% END %] |
395 |
[% END %] |
| 404 |
|
396 |
|
| 405 |
[% IF ( USERBLOCKEDWITHENDDATE ) %] |
397 |
[% IF ( EXPIRED ) %] |
| 406 |
<li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li> |
398 |
<li>Patron's card is expired</li> |
| 407 |
[% END %] |
399 |
[% END %] |
| 408 |
|
400 |
|
| 409 |
[% IF ( USERBLOCKEDNOENDDATE ) %] |
401 |
[% IF ( TOO_MANY ) %] |
| 410 |
<li>Patron has an indefinite restriction.</li> |
402 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
| 411 |
[% END %] |
403 |
[% END %] |
| 412 |
|
404 |
|
| 413 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
405 |
[% IF ( ITEMNOTSAMEBRANCH ) %] |
| 414 |
<li>Checkouts are BLOCKED because patron has overdue items.</li> |
406 |
<li>This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.</li> |
| 415 |
[% END %] |
407 |
[% END %] |
| 416 |
</ul> |
|
|
| 417 |
|
408 |
|
| 418 |
[% IF (forceallow) %] |
409 |
[% IF RETURN_IMPOSSIBLE %] |
| 419 |
<li>Restriction overridden temporarily.</li> |
410 |
<li>This item must be returned to [% Branches.GetName( branch_to_return ) | html %].</li> |
| 420 |
[% END %] |
411 |
[% END %] |
| 421 |
|
412 |
|
| 422 |
</div></div> |
413 |
[% IF ( USERBLOCKEDWITHENDDATE ) %] |
| 423 |
|
414 |
<li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li> |
| 424 |
[% IF ( FALLBACK ) %] |
|
|
| 425 |
[% IF options %] |
| 426 |
|
| 427 |
<!-- Modal --> |
| 428 |
<div class="modal" id="itemSearchFallback" tabindex="-1" role="dialog" aria-labelledby="itemSearchFallbackLabel"> |
| 429 |
<div class="modal-dialog modal-wide" role="document"> |
| 430 |
<div class="modal-content"> |
| 431 |
<div class="modal-header"> |
| 432 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 433 |
<h3 id="itemSearchFallbackLabel"><h3>Barcode not found. The following items were found by searching:</h3> |
| 434 |
</div> |
| 435 |
<div class="modal-body"> |
| 436 |
<table class="table_borrowers"> |
| 437 |
[% FOREACH book IN options %] |
| 438 |
<tr> |
| 439 |
<td> |
| 440 |
<a class="popup" target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% book.biblionumber | html %]">[% book.title | html %]</a> |
| 441 |
[% book.barcode | html %] |
| 442 |
</td> |
| 443 |
<td> |
| 444 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
| 445 |
[% IF (forceallow) %] |
| 446 |
<input type="hidden" name="forceallow" value="1"> |
| 447 |
[% END %] |
| 448 |
<input type="hidden" name="restoreduedatespec" /> |
| 449 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 450 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 451 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 452 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 453 |
<input type="hidden" name="barcode" value="[% book.barcode | html %]" /> |
| 454 |
<button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button> |
| 455 |
</form> |
| 456 |
</td> |
| 457 |
</tr> |
| 458 |
[% END %] |
415 |
[% END %] |
| 459 |
</table> |
|
|
| 460 |
</div> |
| 461 |
<div class="modal-footer"> |
| 462 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 463 |
</div> |
| 464 |
</div> |
| 465 |
</div> |
| 466 |
</div> |
| 467 |
[% END %] |
| 468 |
[% END %] |
| 469 |
|
416 |
|
| 470 |
[% ELSE %] |
417 |
[% IF ( USERBLOCKEDNOENDDATE ) %] |
| 471 |
[% IF (forceallow) %] |
418 |
<li>Patron has an indefinite restriction.</li> |
| 472 |
<div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div> |
419 |
[% END %] |
| 473 |
[% END %] |
|
|
| 474 |
[% END %] <!-- /impossible --> |
| 475 |
|
420 |
|
| 476 |
<span class="audio-alert-success"></span> |
421 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
|
|
422 |
<li>Checkouts are BLOCKED because patron has overdue items.</li> |
| 423 |
[% END %] |
| 424 |
</ul> |
| 477 |
|
425 |
|
| 478 |
[% IF ( issued ) %] |
426 |
[% IF (forceallow) %] |
| 479 |
<p>Item checked out</p> |
427 |
<li>Restriction overridden temporarily.</li> |
| 480 |
[% END %] |
428 |
[% END %] |
|
|
429 |
</ul> |
| 430 |
</div> <!-- /#circ_impossible --> |
| 431 |
</div> <!-- /.yui-g --> |
| 432 |
|
| 433 |
[% IF ( FALLBACK ) %] |
| 434 |
[% IF options %] |
| 435 |
<!-- Modal --> |
| 436 |
<div class="modal" id="itemSearchFallback" tabindex="-1" role="dialog" aria-labelledby="itemSearchFallbackLabel"> |
| 437 |
<div class="modal-dialog modal-wide" role="document"> |
| 438 |
<div class="modal-content"> |
| 439 |
<div class="modal-header"> |
| 440 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 441 |
<h3 id="itemSearchFallbackLabel"><h3>Barcode not found. The following items were found by searching:</h3> |
| 442 |
</div> |
| 443 |
<div class="modal-body"> |
| 444 |
<table class="table_borrowers"> |
| 445 |
[% FOREACH book IN options %] |
| 446 |
<tr> |
| 447 |
<td> |
| 448 |
<a class="popup" target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% book.biblionumber | html %]">[% book.title | html %]</a> |
| 449 |
[% book.barcode | html %] |
| 450 |
</td> |
| 451 |
<td> |
| 452 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
| 453 |
[% IF (forceallow) %] |
| 454 |
<input type="hidden" name="forceallow" value="1"> |
| 455 |
[% END %] |
| 456 |
<input type="hidden" name="restoreduedatespec" /> |
| 457 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 458 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
| 459 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
| 460 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 461 |
<input type="hidden" name="barcode" value="[% book.barcode | html %]" /> |
| 462 |
<button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button> |
| 463 |
</form> |
| 464 |
</td> |
| 465 |
</tr> |
| 466 |
[% END %] |
| 467 |
</table> |
| 468 |
</div> <!-- /.modal-body --> |
| 469 |
<div class="modal-footer"> |
| 470 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 471 |
</div> |
| 472 |
</div> <!-- /.modal-content --> |
| 473 |
</div> <!-- /.modal-dialog.modal-wide --> |
| 474 |
</div> <!-- /#itemSearchFallback --> |
| 475 |
[% END # /IF options %] |
| 476 |
[% END # /IF FALLBACK %] |
| 477 |
|
| 478 |
[% ELSE # IF IMPOSSIBLE %] |
| 479 |
[% IF (forceallow) %] |
| 480 |
<div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div> |
| 481 |
[% END %] |
| 482 |
[% END # /IF IMPOSSIBLE %] |
| 481 |
|
483 |
|
| 482 |
[% IF ( message ) %] |
484 |
<span class="audio-alert-success"></span> |
| 483 |
[% INCLUDE 'patron-toolbar.inc' %] |
|
|
| 484 |
<h4> |
| 485 |
No patron matched <span class="ex">[% message | html %]</span> |
| 486 |
</h4> |
| 487 |
[% END %] |
| 488 |
|
485 |
|
| 489 |
[% IF ( borrowers ) %] |
486 |
[% IF ( issued ) %] |
| 490 |
[% INCLUDE 'patron-toolbar.inc' %] |
487 |
<p>Item checked out</p> |
|
|
488 |
[% END %] |
| 491 |
|
489 |
|
| 492 |
<fieldset id="circ_circulation_selectborrower"> |
490 |
[% IF ( message ) %] |
| 493 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "circ" %] |
491 |
[% INCLUDE 'patron-toolbar.inc' %] |
| 494 |
</fieldset> |
492 |
<h4>No patron matched <span class="ex">[% message | html %]</span></h4> |
| 495 |
[% ELSE %] |
493 |
[% END %] |
| 496 |
|
494 |
|
| 497 |
<!-- BARCODE ENTRY --> |
495 |
[% IF ( borrowers ) %] |
| 498 |
|
496 |
|
| 499 |
[% IF patron %] |
497 |
[% INCLUDE 'patron-toolbar.inc' %] |
| 500 |
<div class="yui-g"> |
498 |
<fieldset id="circ_circulation_selectborrower"> |
|
|
499 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "circ" %] |
| 500 |
</fieldset> |
| 501 |
|
501 |
|
| 502 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
502 |
[% ELSE %] |
| 503 |
<div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div> |
|
|
| 504 |
[% END %] |
| 505 |
|
503 |
|
| 506 |
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] |
504 |
<!-- BARCODE ENTRY --> |
| 507 |
<div class="yui-u first"> |
505 |
|
|
|
506 |
[% IF patron %] |
| 507 |
<div class="yui-g"> |
| 508 |
|
| 509 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
| 510 |
<div class="dialog alert"> |
| 511 |
<strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect. |
| 512 |
</div> |
| 513 |
[% END %] |
| 514 |
|
| 515 |
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] |
| 516 |
<div class="yui-u first"> |
| 517 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
| 518 |
<input type="hidden" name="restoreduedatespec" /> |
| 519 |
[% IF ( issue ) %] |
| 520 |
<fieldset id="circ_circulation_issue" class="lastchecked"> |
| 521 |
[% ELSE %] |
| 522 |
<fieldset id="circ_circulation_issue"> |
| 523 |
[% END %] |
| 524 |
|
| 525 |
[% IF ( DisplayClearScreenButton ) %] |
| 526 |
<span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span> |
| 527 |
<span id="printclearscreen"><a href="#" title="Print slip and clear screen"><i class="fa fa-print"></i></a></span> |
| 528 |
[% END %] |
| 529 |
|
| 530 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
| 531 |
|
| 532 |
<label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> |
| 533 |
|
| 534 |
[% IF Koha.Preference('itemBarcodeFallbackSearch') %] |
| 535 |
<div class="hint">Enter item barcode or keyword:</div> |
| 536 |
[% ELSE %] |
| 537 |
<div class="hint">Enter item barcode:</div> |
| 538 |
[% END %] |
| 539 |
|
| 540 |
[% IF NEEDSCONFIRMATION %] |
| 541 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
| 542 |
[% ELSE %] |
| 543 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> |
| 544 |
[% END %] |
| 545 |
|
| 546 |
<button type="submit" class="btn btn-default">Check out</button> |
| 547 |
|
| 548 |
<div id="show-checkout-settings"> |
| 549 |
<a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> Checkout settings</a> |
| 550 |
</div> |
| 551 |
|
| 552 |
<div class="checkout-settings"> |
| 553 |
|
| 554 |
[% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] |
| 555 |
[% IF ( SpecifyDueDate ) %] |
| 556 |
<div id="specify-due-date" class="checkout-setting"> |
| 557 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
| 558 |
[% IF ( duedatespec ) %] |
| 559 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
| 560 |
[% ELSE %] |
| 561 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="" /> |
| 562 |
[% END %] |
| 563 |
<label for="stickyduedate"> Remember for session:</label> |
| 564 |
[% IF ( stickyduedate ) %] |
| 565 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" /> |
| 566 |
[% ELSE %] |
| 567 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" /> |
| 568 |
[% END %] |
| 569 |
<button class="btn btn-default btn-xs action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button> |
| 570 |
</div> |
| 571 |
[% END %] |
| 572 |
[% END %] |
| 508 |
|
573 |
|
| 509 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
574 |
[% UNLESS ( noissues ) %] |
| 510 |
<input type="hidden" name="restoreduedatespec" /> |
575 |
<div id="set-automatic-renewal" class="checkout-setting"> |
| 511 |
[% IF ( issue ) %] |
576 |
[% IF NEEDSCONFIRMATION %] |
| 512 |
<fieldset id="circ_circulation_issue" class="lastchecked"> |
577 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
| 513 |
[% ELSE %] |
578 |
[% ELSE %] |
| 514 |
<fieldset id="circ_circulation_issue"> |
579 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
| 515 |
[% END %] |
580 |
[% END %] |
| 516 |
[% IF ( DisplayClearScreenButton ) %] |
581 |
|
| 517 |
<span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span> |
582 |
<label for="auto_renew">Automatic renewal</label> |
| 518 |
<span id="printclearscreen"><a href="#" title="Print slip and clear screen"><i class="fa fa-print"></i></a></span> |
583 |
</div> |
| 519 |
[% END %] |
584 |
[% IF Koha.Preference('decreaseLoanHighHolds') %] |
|
|
585 |
<div id="set_high_holds_overrride" class="checkout-setting"> |
| 586 |
[% IF NEEDSCONFIRMATION %] |
| 587 |
[% IF override_high_holds %] |
| 588 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/> |
| 589 |
[% ELSE %] |
| 590 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/> |
| 591 |
[% END %] |
| 592 |
[% ELSE %] |
| 593 |
[% IF override_high_holds %] |
| 594 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" checked="checked" /> |
| 595 |
[% ELSE %] |
| 596 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" /> |
| 597 |
[% END %] |
| 598 |
[% END %] |
| 599 |
<label for="override_high_holds">Don't decrease checkout length based on holds</label> |
| 600 |
</div> |
| 601 |
[% END %] |
| 602 |
[% END %] |
| 520 |
|
603 |
|
| 521 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
604 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
|
|
605 |
<div id="onsite_checkout-select" class="checkout-setting"> |
| 606 |
[% IF noissues %] |
| 607 |
<div class="onsite-checkout-only"> |
| 608 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label> |
| 609 |
<input type="text" name="duedatespec" id="duedatespec" /> |
| 610 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
| 611 |
</div> |
| 612 |
[% ELSE %] |
| 613 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">On-site checkout</label> |
| 614 |
[% END %] |
| 615 |
</div> |
| 616 |
[% END %] |
| 522 |
|
617 |
|
| 523 |
<label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> |
618 |
</div> <!-- /.checkout-settings --> |
|
|
619 |
|
| 620 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 621 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 622 |
<input type="hidden" name="print" value="maybe" /> |
| 623 |
<input type="hidden" name="debt_confirmed" value="[% debt_confirmed | html %]" /> |
| 624 |
[% IF ( CHARGES ) %] |
| 625 |
<input type="hidden" name="charges" value="yes" /> |
| 626 |
[% END %] |
| 627 |
</fieldset> <!-- /#circ_circulation_issue --> |
| 628 |
|
| 629 |
[% IF ( issue ) %] |
| 630 |
<div class="lastchecked"> |
| 631 |
<p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]</p> |
| 632 |
</div> |
| 633 |
[% END %] |
| 634 |
</form> <!-- /#mainform --> |
| 635 |
</div> <!-- /yui-u.first --> |
| 636 |
|
| 637 |
[% END #/IF !noissues %] |
| 638 |
|
| 639 |
[% IF ( noissues ) %] |
| 640 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
| 641 |
<div class="yui-u"> |
| 642 |
[% ELSE %] |
| 643 |
<div> |
| 644 |
[% END %] |
| 645 |
[% ELSE %] |
| 646 |
<div class="yui-u"> |
| 647 |
[% END %] |
| 648 |
|
| 649 |
[% IF ( noissues ) %] |
| 650 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
| 651 |
<div id="circmessages" class="circmessage attention"> |
| 652 |
[% ELSE %] |
| 653 |
<h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4> |
| 654 |
<div id="circmessages" class="circmessage warning"> |
| 655 |
[% END %] |
| 656 |
<h3> |
| 657 |
Cannot check out! |
| 658 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
| 659 |
<span class="circ-hlt">Only on-site checkouts are allowed</span> |
| 660 |
[% END %] |
| 661 |
</h3> |
| 662 |
[% ELSE %] |
| 663 |
<div id="circmessages" class="circmessage attention"> |
| 664 |
<h3>Attention:</h3> |
| 665 |
[% END %] |
| 666 |
|
| 667 |
<ul> |
| 668 |
[% IF ( has_modifications ) %] |
| 669 |
<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications. |
| 670 |
[% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %] |
| 671 |
<a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a> |
| 672 |
[% END %] |
| 673 |
</li> |
| 674 |
[% END %] |
| 524 |
|
675 |
|
| 525 |
[% IF Koha.Preference('itemBarcodeFallbackSearch') %] |
676 |
[% IF ( warndeparture ) %] |
| 526 |
<div class="hint">Enter item barcode or keyword:</div> |
677 |
<li> |
| 527 |
[% ELSE %] |
678 |
<span class="circ-hlt">Expiration:</span> Patron's card will expire soon. |
| 528 |
<div class="hint">Enter item barcode:</div> |
679 |
Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
| 529 |
[% END %] |
|
|
| 530 |
|
680 |
|
| 531 |
[% IF NEEDSCONFIRMATION %] |
681 |
</li> |
| 532 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
682 |
[% END %] |
| 533 |
[% ELSE %] |
|
|
| 534 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> |
| 535 |
[% END %] |
| 536 |
<button type="submit" class="btn btn-default">Check out</button> |
| 537 |
|
683 |
|
| 538 |
<div id="show-checkout-settings"> |
684 |
[% IF ( returnbeforeexpiry ) %] |
| 539 |
<a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> Checkout settings</a> |
685 |
<li> |
| 540 |
</div> |
686 |
<span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the expiry date is before the date due, the date due will be set to the expiry date |
|
|
687 |
</li> |
| 688 |
[% END %] |
| 541 |
|
689 |
|
| 542 |
<div class="checkout-settings"> |
690 |
[% IF ( expired ) %] |
|
|
691 |
<li> |
| 692 |
<span class="circ-hlt">Expiration:</span> Patron's card has expired. |
| 693 |
[% IF ( expiry ) %] |
| 694 |
Patron's card expired on [% expiry | $KohaDates %] |
| 695 |
[% END %] |
| 696 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
| 697 |
</li> |
| 698 |
[% END %] |
| 543 |
|
699 |
|
| 544 |
[% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] |
700 |
[% IF ( gna ) %] |
| 545 |
[% IF ( SpecifyDueDate ) %] |
701 |
<li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li> |
| 546 |
<div id="specify-due-date" class="checkout-setting"> |
702 |
[% END %] |
| 547 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
|
|
| 548 |
[% IF ( duedatespec ) %] |
| 549 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
| 550 |
[% ELSE %] |
| 551 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="" /> |
| 552 |
[% END %] |
| 553 |
<label for="stickyduedate"> Remember for session:</label> |
| 554 |
[% IF ( stickyduedate ) %] |
| 555 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" /> |
| 556 |
[% ELSE %] |
| 557 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" /> |
| 558 |
[% END %] |
| 559 |
<button class="btn btn-default btn-xs action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button> |
| 560 |
</div> |
| 561 |
[% END %] |
| 562 |
[% END %] |
| 563 |
|
703 |
|
| 564 |
[% UNLESS ( noissues ) %] |
704 |
[% IF ( lost ) %] |
| 565 |
<div id="set-automatic-renewal" class="checkout-setting"> |
705 |
<li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li> |
| 566 |
[% IF NEEDSCONFIRMATION %] |
706 |
[% END %] |
| 567 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
|
|
| 568 |
[% ELSE %] |
| 569 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
| 570 |
[% END %] |
| 571 |
|
707 |
|
| 572 |
<label for="auto_renew">Automatic renewal</label> |
708 |
[% IF ( userdebarred ) %] |
| 573 |
</div> |
709 |
<li class="blocker"> |
| 574 |
[% IF Koha.Preference('decreaseLoanHighHolds') %] |
710 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted |
| 575 |
<div id="set_high_holds_overrride" class="checkout-setting"> |
711 |
|
| 576 |
[% IF NEEDSCONFIRMATION %] |
712 |
[% IF ( userdebarreddate ) %] |
| 577 |
[% IF override_high_holds %] |
713 |
until [% userdebarreddate | $KohaDates %] |
| 578 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/> |
714 |
[% END %] |
| 579 |
[% ELSE %] |
715 |
|
| 580 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/> |
716 |
[% IF ( debarredcomment ) %] |
| 581 |
[% END %] |
717 |
with the explanation: <br/> |
| 582 |
[% ELSE %] |
718 |
<i> |
| 583 |
[% IF override_high_holds %] |
719 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
| 584 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" checked="checked" /> |
720 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
| 585 |
[% ELSE %] |
721 |
[% ELSE %] |
| 586 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" class="circ_setting" /> |
722 |
[% debarredcomment | $raw | html_line_break %] |
| 587 |
[% END %] |
723 |
[% END %] |
| 588 |
[% END %] |
724 |
</i> |
| 589 |
<label for="override_high_holds">Don't decrease checkout length based on holds</label> |
725 |
[% END %] |
| 590 |
</div> |
726 |
<br/> |
| 591 |
[% END %] |
727 |
<a class="btn btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
| 592 |
[% END %] |
728 |
|
|
|
729 |
[% IF (noissues && patron && CAN_user_circulate_force_checkout) %] |
| 730 |
<span class="override_debarment"> |
| 731 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default">Override restriction temporarily</a> |
| 732 |
</span> |
| 733 |
[% END %] |
| 734 |
</li> <!-- /.blocker --> |
| 735 |
[% END # /IF userdebarred %] |
| 736 |
|
| 737 |
[% IF ( odues ) %] |
| 738 |
<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
| 739 |
[% END %] |
| 593 |
|
740 |
|
| 594 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
741 |
[% IF ( charges ) %] |
| 595 |
<div id="onsite_checkout-select" class="checkout-setting"> |
742 |
[% INCLUDE 'blocked-fines.inc' fines = chargesamount %] |
| 596 |
[% IF noissues %] |
743 |
[% END %] |
| 597 |
<div class="onsite-checkout-only"> |
|
|
| 598 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label> |
| 599 |
<input type="text" name="duedatespec" id="duedatespec" /> |
| 600 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
| 601 |
</div> |
| 602 |
[% ELSE %] |
| 603 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">On-site checkout</label> |
| 604 |
[% END %] |
| 605 |
</div> |
| 606 |
[% END %] |
| 607 |
|
744 |
|
| 608 |
</div> <!-- /.checkout-settings --> |
745 |
[% IF ( charges_guarantees ) %] |
|
|
746 |
<li> |
| 747 |
<span class="circ-hlt">Fees & Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
| 748 |
[% IF noissues %] |
| 749 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
| 750 |
[% END %] |
| 751 |
</li> |
| 752 |
[% END %] |
| 609 |
|
753 |
|
| 610 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
|
|
| 611 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
| 612 |
<input type="hidden" name="print" value="maybe" /> |
| 613 |
<input type="hidden" name="debt_confirmed" value="[% debt_confirmed | html %]" /> |
| 614 |
[% IF ( CHARGES ) %] |
| 615 |
<input type="hidden" name="charges" value="yes" /> |
| 616 |
[% END %] |
| 617 |
</fieldset> |
| 618 |
[% IF ( issue ) %] |
| 619 |
<div class="lastchecked"> |
| 620 |
<p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]</p> |
| 621 |
</div> |
| 622 |
[% END %] |
| 623 |
</form></div> |
| 624 |
|
754 |
|
| 625 |
[% END %]<!-- /unless noissues --> |
755 |
[% IF ( credits ) %] |
|
|
756 |
<li> |
| 757 |
<span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %] |
| 758 |
</li> |
| 759 |
[% END %] |
| 626 |
|
760 |
|
| 627 |
[% IF ( noissues ) %] |
761 |
</ul> |
| 628 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
762 |
</div> <!-- /.yui-g --> |
| 629 |
<div class="yui-u"> |
763 |
|
| 630 |
[% ELSE %] |
764 |
[% IF WaitingHolds.count %] |
| 631 |
<div> |
765 |
<div id="holdswaiting" class="circmessage"> |
| 632 |
[% END %] |
766 |
<h4>Holds waiting:</h4> |
| 633 |
[% ELSE %] |
767 |
[% FOREACH w IN WaitingHolds %] |
| 634 |
<div class="yui-u"> |
768 |
<ul> |
| 635 |
[% END %] |
769 |
<li> |
|
|
770 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
| 771 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
| 772 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
| 773 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
| 774 |
Hold placed on [% w.reservedate | $KohaDates %]. |
| 775 |
|
| 776 |
<br/> |
| 777 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %] |
| 778 |
[% SET expires_on = w.expirationdate %] |
| 779 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
| 780 |
</strong> |
| 781 |
</li> |
| 782 |
</ul> |
| 783 |
[% END %] |
| 784 |
</div> |
| 785 |
[% END # /IF WaitingHolds.count %] |
| 786 |
|
| 787 |
[% IF ( notes ) %] |
| 788 |
<div id="circnotes" class="circmessage"> |
| 789 |
<h4>Notes:</h4> |
| 790 |
<p><span class="circ-hlt">[% notesmsg | $raw %]</span></p> |
| 791 |
</div> |
| 792 |
[% END %] |
| 636 |
|
793 |
|
| 637 |
[% IF ( noissues ) %] |
794 |
<div id="messages" class="circmessage"> |
| 638 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
795 |
<h4>Messages:</h4> |
| 639 |
<div id="circmessages" class="circmessage attention"> |
796 |
<ul> |
| 640 |
[% ELSE %] |
797 |
[% FOREACH message IN messages %] |
| 641 |
<h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4> |
798 |
<li> |
| 642 |
<div id="circmessages" class="circmessage warning"> |
799 |
[% IF(message.message_type == "L") %] |
| 643 |
[% END %] |
800 |
<span class="circ-hlt"> |
| 644 |
<h3> |
801 |
[% ELSE %] |
| 645 |
Cannot check out! |
802 |
<span> |
| 646 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
803 |
[% END %] |
| 647 |
<span class="circ-hlt">Only on-site checkouts are allowed</span> |
804 |
[% message.message_date | $KohaDates %] |
| 648 |
[% END %] |
805 |
[% Branches.GetName( message.branchcode ) | html %] |
| 649 |
</h3> |
806 |
[% IF message.manager_id %] |
| 650 |
[% ELSE %] |
807 |
( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id | uri %]">[% message.get_column('manager_firstname') | html %] [% message.get_column('manager_surname') | html %]</a> ) |
| 651 |
<div id="circmessages" class="circmessage attention"> |
808 |
[% END %] |
| 652 |
<h3>Attention:</h3> |
809 |
<i>"[% message.message | html %]"</i> |
| 653 |
[% END %] |
810 |
</span> |
|
|
811 |
[% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] |
| 812 |
<a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&borrowernumber=[% message.borrowernumber | html %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a> |
| 813 |
[% END %] |
| 814 |
</li> |
| 815 |
[% END %] |
| 816 |
</ul> |
| 817 |
<a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
| 818 |
</div> <!-- /.messages --> |
| 819 |
|
| 820 |
</div> <!-- /div or div.yui-u --> |
| 821 |
</div> <!-- /.yui-g --> |
| 822 |
|
| 823 |
<div class="yui-g"> |
| 824 |
<div id="patronlists" class="toptabs"> |
| 825 |
<ul> |
| 826 |
<li> |
| 827 |
[% IF ( issuecount ) %] |
| 828 |
<a href="#checkouts">[% issuecount | html %] Checkout(s)</a> |
| 829 |
[% ELSE %] |
| 830 |
<a href="#checkouts">0 Checkouts</a> |
| 831 |
[% END %] |
| 832 |
</li> |
| 654 |
|
833 |
|
| 655 |
<ul> |
834 |
[% IF relatives_issues_count %] |
|
|
835 |
<li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li> |
| 836 |
[% END %] |
| 656 |
|
837 |
|
| 657 |
[% IF ( has_modifications ) %] |
838 |
<li> |
| 658 |
<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications. |
839 |
[% IF ( holds_count ) %] |
| 659 |
[% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %] |
840 |
<a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a> |
| 660 |
<a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a> |
841 |
[% ELSE %] |
|
|
842 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
| 843 |
[% END %] |
| 844 |
</li> |
| 845 |
|
| 846 |
[% IF Koha.Preference('ArticleRequests') %] |
| 847 |
<li> |
| 848 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a> |
| 849 |
</li> |
| 850 |
[% END %] |
| 851 |
|
| 852 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li> |
| 853 |
|
| 854 |
[% SET enrollments = patron.get_club_enrollments(1) %] |
| 855 |
[% SET enrollable = patron.get_enrollable_clubs(0,1) %] |
| 856 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
| 857 |
<li> |
| 858 |
<a id="clubs-tab-link" href="#clubs-tab"> |
| 859 |
Clubs ([% enrollments.count | html %]/[% enrollable.count | html %]) |
| 860 |
</a> |
| 861 |
</li> |
| 862 |
[% END %] |
| 863 |
</ul> |
| 864 |
|
| 865 |
<!-- SUMMARY : TODAY & PREVIOUS ISSUES --> |
| 866 |
|
| 867 |
[% INCLUDE "checkouts-table.inc" %] |
| 868 |
|
| 869 |
[% IF ( relatives_issues_count ) %] |
| 870 |
<div id="relatives-issues"> |
| 871 |
<table id="relatives-issues-table"> |
| 872 |
<thead> |
| 873 |
<tr> |
| 874 |
<th scope="col">Due date (unformatted, hidden)</th> |
| 875 |
<th scope="col">Due date</th> |
| 876 |
<th scope="col">Title</th> |
| 877 |
<th scope="col">Item type</th> |
| 878 |
<th scope="col">Collection code</th> |
| 879 |
<th scope="col">Location</th> |
| 880 |
<th scope="col">Checked out on</th> |
| 881 |
<th scope="col">Checked out from</th> |
| 882 |
<th scope="col">Call no</th> |
| 883 |
<th scope="col">Charge</th> |
| 884 |
<th scope="col">Fine</th> |
| 885 |
<th scope="col">Price</th> |
| 886 |
<th scope="col">Patron</th> |
| 887 |
</tr> |
| 888 |
</thead> |
| 889 |
</table> |
| 890 |
</div> <!-- /#relatives-issues --> |
| 661 |
[% END %] |
891 |
[% END %] |
| 662 |
</li> |
|
|
| 663 |
[% END %] |
| 664 |
|
| 665 |
[% IF ( warndeparture ) %] |
| 666 |
<li><span class="circ-hlt">Expiration:</span> Patron's card will expire soon. |
| 667 |
Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
| 668 |
|
| 669 |
</li> |
| 670 |
[% END %] |
| 671 |
|
| 672 |
[% IF ( returnbeforeexpiry ) %] |
| 673 |
<li><span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the |
| 674 |
expiry date is before the date due, the date due will be set to the expiry date |
| 675 |
</li> |
| 676 |
[% END %] |
| 677 |
|
| 678 |
[% IF ( expired ) %] |
| 679 |
<li><span class="circ-hlt">Expiration:</span> Patron's card has expired. |
| 680 |
[% IF ( expiry ) %]Patron's card expired on [% expiry | $KohaDates %][% END %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
| 681 |
|
| 682 |
</li> |
| 683 |
[% END %] |
| 684 |
|
| 685 |
[% IF ( gna ) %] |
| 686 |
<li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li> |
| 687 |
[% END %] |
| 688 |
|
| 689 |
[% IF ( lost ) %] |
| 690 |
<li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li> |
| 691 |
[% END %] |
| 692 |
|
| 693 |
[% IF ( userdebarred ) %] |
| 694 |
<li class="blocker"> |
| 695 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted |
| 696 |
|
| 697 |
[% IF ( userdebarreddate ) %] |
| 698 |
until [% userdebarreddate | $KohaDates %] |
| 699 |
[% END %] |
| 700 |
|
| 701 |
[% IF ( debarredcomment ) %] |
| 702 |
with the explanation: <br/><i> |
| 703 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
| 704 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
| 705 |
[% ELSE %] |
| 706 |
[% debarredcomment | $raw | html_line_break %] |
| 707 |
[% END %] |
| 708 |
</i> |
| 709 |
[% END %] |
| 710 |
<br/> |
| 711 |
<a class="btn btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
| 712 |
[% IF (noissues && patron && CAN_user_circulate_force_checkout) %] |
| 713 |
<span class="override_debarment"> |
| 714 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default">Override restriction temporarily</a> |
| 715 |
</span> |
| 716 |
[% END %] |
| 717 |
</li> |
| 718 |
[% END %] |
| 719 |
|
| 720 |
[% IF ( odues ) %]<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
| 721 |
[% END %] |
| 722 |
|
892 |
|
| 723 |
[% IF ( charges ) %] |
893 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
| 724 |
[% INCLUDE 'blocked-fines.inc' fines = chargesamount %] |
894 |
<div id="clubs-tab"> |
| 725 |
[% END %] |
895 |
Loading... |
| 726 |
|
896 |
</div> <!-- /#clubs-tab --> |
| 727 |
[% IF ( charges_guarantees ) %] |
897 |
[% END %] |
| 728 |
<li> |
|
|
| 729 |
<span class="circ-hlt">Fees & Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
| 730 |
[% IF noissues %] |
| 731 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
| 732 |
[% END %] |
| 733 |
</li> |
| 734 |
[% END %] |
| 735 |
|
898 |
|
|
|
899 |
[% INCLUDE borrower_debarments.inc %] |
| 900 |
|
| 901 |
<div id="reserves"> |
| 902 |
[% IF ( holds_count ) %] |
| 903 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
| 904 |
<input type="hidden" name="from" value="circ" /> |
| 905 |
<table id="holds-table" style="width: 100% !Important;"> |
| 906 |
<thead> |
| 907 |
<tr> |
| 908 |
<th>Hold date</th> |
| 909 |
<th>Title</th> |
| 910 |
<th>Call number</th> |
| 911 |
<th>Barcode</th> |
| 912 |
<th>Pickup at</th> |
| 913 |
<th>Expiration</th> |
| 914 |
<th>Priority</th> |
| 915 |
<th>Cancel?</th> |
| 916 |
<th>Suspend?</th> |
| 917 |
<th>Status</th> |
| 918 |
</tr> |
| 919 |
</thead> |
| 920 |
</table> |
| 921 |
|
| 922 |
<fieldset class="action"> |
| 923 |
<input type="submit" class="cancel" name="submit" value="Cancel marked holds" /> |
| 924 |
</fieldset> |
| 925 |
</form> |
| 926 |
|
| 927 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
| 928 |
<fieldset class="action"> |
| 929 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 930 |
<input type="hidden" name="from" value="circ" /> |
| 931 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 932 |
<input type="submit" value="Suspend all holds" /> |
| 933 |
|
| 934 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
| 935 |
<label for="suspend_until">until</label> |
| 936 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
| 937 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
| 938 |
[% END %] |
| 939 |
</form> |
| 940 |
</fieldset> |
| 941 |
|
| 942 |
<fieldset class="action"> |
| 943 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 944 |
<input type="hidden" name="from" value="circ" /> |
| 945 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 946 |
<input type="hidden" name="suspend" value="0" /> |
| 947 |
<input type="submit" value="Resume all suspended holds" /> |
| 948 |
</form> |
| 949 |
</fieldset> |
| 950 |
[% END # /IF SuspendHoldsIntranet %] |
| 951 |
|
| 952 |
[% ELSE # IF holds_count %] |
| 953 |
<p>Patron has nothing on hold.</p> |
| 954 |
[% END # /IF holds_count %] |
| 955 |
</div> <!-- /#reserves --> |
| 956 |
|
| 957 |
[% IF Koha.Preference('ArticleRequests') %] |
| 958 |
[% INCLUDE 'patron-article-requests.inc' %] |
| 959 |
[% END %] |
| 736 |
|
960 |
|
| 737 |
[% IF ( credits ) %] |
961 |
[% ELSIF borrowernumber # IF patron %] |
| 738 |
<li> |
962 |
<div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> |
| 739 |
<span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %] |
963 |
[% END # /IF patron %] |
| 740 |
</li> |
|
|
| 741 |
[% END %] |
| 742 |
|
964 |
|
| 743 |
</ul> |
965 |
</div> <!-- /#patronlists --> |
| 744 |
</div> |
966 |
</div> <!-- /.yui-g --> |
| 745 |
|
|
|
| 746 |
[% IF WaitingHolds.count %] |
| 747 |
<div id="holdswaiting" class="circmessage"> |
| 748 |
<h4>Holds waiting:</h4> |
| 749 |
[% FOREACH w IN WaitingHolds %] |
| 750 |
<ul> |
| 751 |
<li> |
| 752 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
| 753 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
| 754 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
| 755 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
| 756 |
Hold placed on [% w.reservedate | $KohaDates %]. |
| 757 |
|
| 758 |
<br/> |
| 759 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %] |
| 760 |
[% SET expires_on = w.expirationdate %] |
| 761 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
| 762 |
</strong> |
| 763 |
</li> |
| 764 |
</ul> |
| 765 |
[% END %] |
| 766 |
</div> |
| 767 |
[% END %] |
967 |
[% END %] |
| 768 |
|
968 |
|
| 769 |
[% IF ( notes ) %] |
969 |
[% IF Koha.Preference('CircSidebar') %] |
| 770 |
<div id="circnotes" class="circmessage"> |
970 |
[% UNLESS ( borrowers ) %] |
| 771 |
<h4>Notes:</h4> |
971 |
[% IF not( borrowernumber and patron ) %] |
| 772 |
<p><span class="circ-hlt">[% notesmsg | $raw %]</span></p> |
972 |
<div class="yui-b noprint"> |
| 773 |
</div> |
973 |
[% INCLUDE 'circ-nav.inc' %] |
| 774 |
|
974 |
</div> |
| 775 |
|
|
|
| 776 |
<!-- /If notes -->[% END %] |
| 777 |
|
| 778 |
<div id="messages" class="circmessage"> |
| 779 |
<h4>Messages:</h4> |
| 780 |
<ul> |
| 781 |
[% FOREACH message IN messages %] |
| 782 |
<li> |
| 783 |
[% IF(message.message_type == "L") %] |
| 784 |
<span class="circ-hlt"> |
| 785 |
[% ELSE %] |
| 786 |
<span> |
| 787 |
[% END %] |
| 788 |
[% message.message_date | $KohaDates %] |
| 789 |
[% Branches.GetName( message.branchcode ) | html %] |
| 790 |
[% IF message.manager_id %] |
| 791 |
( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id | uri %]">[% message.get_column('manager_firstname') | html %] [% message.get_column('manager_surname') | html %]</a> ) |
| 792 |
[% END %] |
| 793 |
<i>"[% message.message | html %]"</i> |
| 794 |
</span> |
| 795 |
[% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] |
| 796 |
<a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&borrowernumber=[% message.borrowernumber | html %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a> |
| 797 |
[% END %] |
975 |
[% END %] |
| 798 |
</li> |
976 |
[% END %] |
| 799 |
[% END %] |
977 |
[% END %] |
| 800 |
</ul> |
978 |
</div> <!-- /.yui-b --> |
| 801 |
<a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
979 |
</div> <!-- /.yui-main --> |
| 802 |
</div> |
|
|
| 803 |
|
980 |
|
| 804 |
</div> |
981 |
[% UNLESS ( borrowers ) %] |
| 805 |
</div> |
982 |
[% IF borrowernumber and patron %] |
| 806 |
|
983 |
<div class="yui-b"> |
| 807 |
<div class="yui-g"><div id="patronlists" class="toptabs"> |
984 |
[% INCLUDE 'circ-menu.inc' %] |
| 808 |
|
985 |
</div> |
| 809 |
<ul> |
|
|
| 810 |
<li> |
| 811 |
[% IF ( issuecount ) %] |
| 812 |
<a href="#checkouts">[% issuecount | html %] Checkout(s)</a> |
| 813 |
[% ELSE %] |
| 814 |
<a href="#checkouts">0 Checkouts</a> |
| 815 |
[% END %] |
| 816 |
</li> |
| 817 |
|
| 818 |
[% IF relatives_issues_count %] |
| 819 |
<li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li> |
| 820 |
[% END %] |
| 821 |
|
| 822 |
<li> |
| 823 |
[% IF ( holds_count ) %] |
| 824 |
<a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a> |
| 825 |
[% ELSE %] |
| 826 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
| 827 |
[% END %] |
986 |
[% END %] |
| 828 |
</li> |
|
|
| 829 |
|
| 830 |
[% IF Koha.Preference('ArticleRequests') %] |
| 831 |
<li> |
| 832 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a> |
| 833 |
</li> |
| 834 |
[% END %] |
987 |
[% END %] |
|
|
988 |
</div> <!-- /#bd --> |
| 835 |
|
989 |
|
| 836 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li> |
|
|
| 837 |
|
| 838 |
[% SET enrollments = patron.get_club_enrollments(1) %] |
| 839 |
[% SET enrollable = patron.get_enrollable_clubs(0,1) %] |
| 840 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
| 841 |
<li> |
| 842 |
<a id="clubs-tab-link" href="#clubs-tab"> |
| 843 |
Clubs ([% enrollments.count | html %]/[% enrollable.count | html %]) |
| 844 |
</a> |
| 845 |
</li> |
| 846 |
[% END %] |
| 847 |
|
| 848 |
</ul> |
| 849 |
|
| 850 |
<!-- SUMMARY : TODAY & PREVIOUS ISSUES --> |
| 851 |
|
| 852 |
[% INCLUDE "checkouts-table.inc" %] |
| 853 |
|
| 854 |
[% IF ( relatives_issues_count ) %] |
| 855 |
<div id="relatives-issues"> |
| 856 |
<table id="relatives-issues-table"> |
| 857 |
<thead> |
| 858 |
<tr> |
| 859 |
<th scope="col">Due date (unformatted, hidden)</th> |
| 860 |
<th scope="col">Due date</th> |
| 861 |
<th scope="col">Title</th> |
| 862 |
<th scope="col">Item type</th> |
| 863 |
<th scope="col">Collection code</th> |
| 864 |
<th scope="col">Location</th> |
| 865 |
<th scope="col">Checked out on</th> |
| 866 |
<th scope="col">Checked out from</th> |
| 867 |
<th scope="col">Call no</th> |
| 868 |
<th scope="col">Charge</th> |
| 869 |
<th scope="col">Fine</th> |
| 870 |
<th scope="col">Price</th> |
| 871 |
<th scope="col">Patron</th> |
| 872 |
</tr> |
| 873 |
</thead> |
| 874 |
</table> |
| 875 |
</div> |
| 876 |
[% END %] |
| 877 |
|
| 878 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
| 879 |
<div id="clubs-tab"> |
| 880 |
Loading... |
| 881 |
</div> |
| 882 |
[% END %] |
| 883 |
|
| 884 |
[% INCLUDE borrower_debarments.inc %] |
| 885 |
|
| 886 |
<div id="reserves"> |
| 887 |
[% IF ( holds_count ) %] |
| 888 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
| 889 |
<input type="hidden" name="from" value="circ" /> |
| 890 |
<table id="holds-table" style="width: 100% !Important;"> |
| 891 |
<thead> |
| 892 |
<tr> |
| 893 |
<th>Hold date</th> |
| 894 |
<th>Title</th> |
| 895 |
<th>Call number</th> |
| 896 |
<th>Barcode</th> |
| 897 |
<th>Pickup at</th> |
| 898 |
<th>Expiration</th> |
| 899 |
<th>Priority</th> |
| 900 |
<th>Cancel?</th> |
| 901 |
<th>Suspend?</th> |
| 902 |
<th>Status</th> |
| 903 |
</tr> |
| 904 |
</thead> |
| 905 |
</table> |
| 906 |
|
| 907 |
<fieldset class="action"> |
| 908 |
<input type="submit" class="cancel" name="submit" value="Cancel marked holds" /> |
| 909 |
</fieldset> |
| 910 |
</form> |
| 911 |
|
| 912 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
| 913 |
<fieldset class="action"> |
| 914 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 915 |
<input type="hidden" name="from" value="circ" /> |
| 916 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 917 |
<input type="submit" value="Suspend all holds" /> |
| 918 |
|
| 919 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
| 920 |
<label for="suspend_until">until</label> |
| 921 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
| 922 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
| 923 |
[% END %] |
| 924 |
</form> |
| 925 |
</fieldset> |
| 926 |
|
| 927 |
<fieldset class="action"> |
| 928 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
| 929 |
<input type="hidden" name="from" value="circ" /> |
| 930 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 931 |
<input type="hidden" name="suspend" value="0" /> |
| 932 |
<input type="submit" value="Resume all suspended holds" /> |
| 933 |
</form> |
| 934 |
</fieldset> |
| 935 |
[% END # IF SuspendHoldsIntranet %] |
| 936 |
|
| 937 |
[% ELSE %] |
| 938 |
<p>Patron has nothing on hold.</p> |
| 939 |
[% END %] |
| 940 |
</div> <!-- reservesloop --> |
| 941 |
|
| 942 |
[% IF Koha.Preference('ArticleRequests') %] |
| 943 |
[% INCLUDE 'patron-article-requests.inc' %] |
| 944 |
[% END %] |
| 945 |
|
| 946 |
[% ELSIF borrowernumber %] |
| 947 |
<div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> |
| 948 |
[% END %] |
| 949 |
</div></div> |
| 950 |
[% END %] |
| 951 |
[% IF Koha.Preference('CircSidebar') %] |
| 952 |
[% UNLESS ( borrowers ) %] |
| 953 |
[% IF not( borrowernumber and patron ) %] |
| 954 |
<div class="yui-b noprint"> |
| 955 |
[% INCLUDE 'circ-nav.inc' %] |
| 956 |
</div> |
| 957 |
[% END %] |
| 958 |
[% END %] |
| 959 |
[% END %] |
| 960 |
</div> |
| 961 |
</div> |
| 962 |
[% UNLESS ( borrowers ) %] |
| 963 |
[% IF borrowernumber and patron %] |
| 964 |
<div class="yui-b"> |
| 965 |
[% INCLUDE 'circ-menu.inc' %] |
| 966 |
</div> |
| 967 |
[% END %] |
| 968 |
[% END %] |
| 969 |
</div> |
| 970 |
<!-- Modal --> |
990 |
<!-- Modal --> |
| 971 |
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true"> |
991 |
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true"> |
| 972 |
<div class="modal-dialog"> |
992 |
<div class="modal-dialog"> |
| 973 |
<div class="modal-content"> |
993 |
<div class="modal-content"> |
| 974 |
<div class="modal-header"> |
994 |
<div class="modal-header"> |
| 975 |
<h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3> |
995 |
<h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3> |
| 976 |
</div> |
996 |
</div> |
| 977 |
|
997 |
<div class="modal-body"> |
| 978 |
<div class="modal-body"> |
998 |
<p>You have already submitted a barcode, please wait for the checkout to process...</p> |
| 979 |
<p>You have already submitted a barcode, please wait for the checkout to process...</p> |
999 |
</div> |
| 980 |
</div> |
1000 |
</div> <!-- /.modal-content --> |
| 981 |
</div> |
1001 |
</div> <!-- /.modal-dialog --> |
| 982 |
</div> |
1002 |
</div> <!-- /#barcodeSubmittedModal --> |
| 983 |
</div> |
|
|
| 984 |
|
1003 |
|
| 985 |
[% MACRO jsinclude BLOCK %] |
1004 |
[% MACRO jsinclude BLOCK %] |
| 986 |
[% INCLUDE 'strings.inc' %] |
1005 |
[% INCLUDE 'strings.inc' %] |
| 987 |
- |
|
|