|
Lines 37-872
Link Here
|
| 37 |
</head> |
37 |
</head> |
| 38 |
|
38 |
|
| 39 |
<body id="circ_returns" class="circ"> |
39 |
<body id="circ_returns" class="circ"> |
| 40 |
<span class="audio-alert-success"></span> |
40 |
<span class="audio-alert-success"></span> |
| 41 |
|
41 |
|
| 42 |
[% INCLUDE 'header.inc' %] |
42 |
[% INCLUDE 'header.inc' %] |
| 43 |
[% INCLUDE 'checkin-search.inc' %] |
43 |
[% INCLUDE 'checkin-search.inc' %] |
| 44 |
|
44 |
|
| 45 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Check in</div> |
45 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Check in</div> |
| 46 |
|
46 |
|
| 47 |
<div class="main container-fluid"> |
47 |
<div class="main container-fluid"> |
| 48 |
<div class="row"> |
48 |
<div class="row"> |
| 49 |
<div class="col-sm-12"> |
49 |
<div class="col-sm-12"> |
| 50 |
<main> |
50 |
<main> |
| 51 |
<div class="row"> |
51 |
<div class="row"> |
| 52 |
|
52 |
|
| 53 |
[% IF Koha.Preference('CircSidebar') %] |
53 |
[% IF Koha.Preference('CircSidebar') %] |
| 54 |
<div class="col-sm-10 col-sm-push-2"> |
54 |
<div class="col-sm-10 col-sm-push-2"> |
| 55 |
[% ELSE %] |
|
|
| 56 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
| 57 |
[% END %] |
| 58 |
|
| 59 |
[% IF hold_auto_filled %] |
| 60 |
<div class="dialog alert hold-auto-filled"> |
| 61 |
[% IF ( reservenotes ) %] |
| 62 |
<h4>Notes: [% reservenotes | html %]</h4> |
| 63 |
[% END %] |
| 64 |
<h3>Hold filled for:</h3> |
| 65 |
<li> |
| 66 |
[% INCLUDE 'patron-title.inc' patron=patron %] |
| 67 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
| 68 |
</li> |
| 69 |
|
| 70 |
[% INCLUDE display_holdpatron_address %] |
| 71 |
|
| 72 |
[% IF ( patron.phone ) %] |
| 73 |
<li>[% patron.phone | html %]</li> |
| 74 |
[% END %] |
| 75 |
|
| 76 |
[% IF ( patron.email ) %] |
| 77 |
<li> |
| 78 |
[% IF ( transfertodo ) %] |
| 79 |
[% patron.email | html %] |
| 80 |
[% ELSE %] |
55 |
[% ELSE %] |
| 81 |
<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a> |
56 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
| 82 |
[% END %] |
57 |
[% END %] |
| 83 |
</li> |
|
|
| 84 |
[% END %] |
| 85 |
|
| 86 |
[% UNLESS ( transfertodo) %] |
| 87 |
[% INCLUDE display_bormessagepref %] |
| 88 |
[% END %] |
| 89 |
|
| 90 |
[% IF ( patron.debarred ) %] |
| 91 |
<li class="error">Patron is RESTRICTED</li> |
| 92 |
[% END %] |
| 93 |
|
| 94 |
[% IF ( patron.gonenoaddress ) %] |
| 95 |
<li class="error">Patron's address is in doubt</li> |
| 96 |
[% END %] |
| 97 |
|
| 98 |
[% IF ( transfertodo ) %] |
| 99 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 100 |
[% ELSE %] |
| 101 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 102 |
[% END %] |
| 103 |
|
| 104 |
<a href="#" class="btn btn-default print print-slip"> |
| 105 |
<i class="fa fa-print"></i> Print |
| 106 |
</a> |
| 107 |
</div> |
| 108 |
[% END %] |
| 109 |
|
| 110 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
| 111 |
<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> |
| 112 |
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] |
| 113 |
<div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div> |
| 114 |
[% END %] |
| 115 |
|
| 116 |
[% IF additional_materials %] |
| 117 |
<div class="dialog message" id="materials">Note about the accompanying materials: <br /> |
| 118 |
[% additional_materials | html %] |
| 119 |
</div> |
| 120 |
[% END %] |
| 121 |
|
| 122 |
[% IF ( collectionItemNeedsTransferred ) %] |
| 123 |
<div id="rotating-collection" class="dialog message"> |
| 124 |
<h3>Please transfer item to: [% Branches.GetName( collectionBranch ) | html %]</h3> |
| 125 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
| 126 |
<p>This item is part of a rotating collection.</p> |
| 127 |
<p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&branchcode=[% collectionBranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
| 128 |
</div> |
| 129 |
[% END %] |
| 130 |
|
58 |
|
| 131 |
<!-- Patron has added an issue note --> |
59 |
[% IF hold_auto_filled %] |
| 132 |
[% IF ( issue.note) %] |
60 |
<div class="dialog alert hold-auto-filled"> |
| 133 |
<div class="dialog message"> |
61 |
[% IF ( reservenotes ) %] |
| 134 |
<h1>Patron note</h1> |
62 |
<h4>Notes: [% reservenotes | html %]</h4> |
| 135 |
<p>[% issue.notedate | $KohaDates %]</p> |
63 |
[% END %] |
| 136 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber | uri %]"> [% title | html %]</a> [% author | html %]</p> |
64 |
<h3>Hold filled for:</h3> |
| 137 |
<p>[% issue.note | html %]</p> |
65 |
<ul> |
| 138 |
</div> |
66 |
<li> |
| 139 |
[% END %] |
67 |
[% INCLUDE 'patron-title.inc' patron=patron %] |
| 140 |
|
68 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
| 141 |
<!-- Patron has fines --> |
69 |
</li> |
| 142 |
[% IF ( fines ) %] |
70 |
|
| 143 |
<div class="dialog alert"> |
71 |
[% INCLUDE display_holdpatron_address %] |
| 144 |
<h3>Patron has outstanding fines of [% fines | html %].</h3> |
72 |
|
| 145 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber | uri %]">Make payment</a>.</p> |
73 |
[% IF ( patron.phone ) %] |
| 146 |
</div> |
74 |
<li>[% patron.phone | html %]</li> |
| 147 |
[% END %] |
75 |
[% END %] |
| 148 |
|
76 |
|
| 149 |
<!-- Patron has waiting holds --> |
77 |
[% IF ( patron.email ) %] |
| 150 |
[% IF ( waiting_holds ) %] |
78 |
<li> |
| 151 |
<div id="awaiting-pickup" class="dialog message"> |
79 |
[% IF ( transfertodo ) %] |
| 152 |
<h3>[% holdsfirstname | html %] [% holdssurname | html %] has [% waiting_holds | html %] hold(s) waiting for pickup.</h3> |
80 |
[% patron.email | html %] |
| 153 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber | uri %]">Check out to this patron</a>.</p> |
81 |
[% ELSE %] |
| 154 |
</div> |
82 |
<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a> |
| 155 |
[% END %] |
83 |
[% END %] |
| 156 |
|
84 |
</li> |
| 157 |
<!-- Patron is restricted and checkin was backdated --> |
85 |
[% END %] |
| 158 |
[% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %] |
86 |
|
| 159 |
<div id="restricted_backdated" class="dialog message"> |
87 |
[% UNLESS ( transfertodo) %] |
| 160 |
<h3> |
88 |
[% INCLUDE display_bormessagepref %] |
| 161 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]"> |
89 |
[% END %] |
| 162 |
[% patron.firstname | html %] [% patron.surname | html %] |
90 |
|
| 163 |
</a> |
91 |
[% IF ( patron.debarred ) %] |
| 164 |
is restricted. Please verify this patron should still be restricted. |
92 |
<li class="error">Patron is RESTRICTED</li> |
| 165 |
</h3> |
93 |
[% END %] |
| 166 |
</div> |
94 |
|
| 167 |
[% END %] |
95 |
[% IF ( patron.gonenoaddress ) %] |
|
|
96 |
<li class="error">Patron's address is in doubt</li> |
| 97 |
[% END %] |
| 98 |
</li> |
| 168 |
|
99 |
|
| 169 |
[% IF wrongbranch %] |
100 |
[% IF ( transfertodo ) %] |
| 170 |
<div id="wrong-branch-modal" class="modal fade audio-alert-action"> |
101 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 171 |
<div class="modal-dialog"> |
102 |
[% ELSE %] |
| 172 |
<div class="modal-content"> |
103 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 173 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
104 |
[% END %] |
| 174 |
<div class="modal-header"> |
|
|
| 175 |
<h3> |
| 176 |
Cannot check in |
| 177 |
</h3> |
| 178 |
</div> |
| 179 |
<div class="modal-body"> |
| 180 |
<p> |
| 181 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 182 |
[% itembarcode | html %]: [% title | html %] |
| 183 |
</a> |
| 184 |
</p> |
| 185 |
<p> |
| 186 |
<strong> |
| 187 |
NOT CHECKED IN |
| 188 |
</strong> |
| 189 |
</p> |
| 190 |
<p> |
| 191 |
This item must be checked in at following library: |
| 192 |
<strong> |
| 193 |
[% Branches.GetName( rightbranch ) | html %] |
| 194 |
</strong> |
| 195 |
</p> |
| 196 |
</div> |
| 197 |
<div class="modal-footer"> |
| 198 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 199 |
</div> |
| 200 |
</form> |
| 201 |
</div> |
| 202 |
</div> |
| 203 |
</div> |
| 204 |
[% END %] |
| 205 |
|
105 |
|
| 206 |
<!-- case of a mistake in transfer loop --> |
106 |
<a href="#" class="btn btn-default print print-slip"> |
| 207 |
[% IF WrongTransfer && !transfertodo %] |
107 |
<i class="fa fa-print"></i> Print |
| 208 |
<div id="wrong-transfer-modal" class="modal fade audio-alert-action"> |
108 |
</a> |
| 209 |
<div class="modal-dialog"> |
109 |
</div> |
| 210 |
<div class="modal-content"> |
|
|
| 211 |
<div class="modal-header"> |
| 212 |
<h3> |
| 213 |
Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %] |
| 214 |
</h3> |
| 215 |
</div> |
| 216 |
<div class="modal-body"> |
| 217 |
<p> |
| 218 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 219 |
[% itembarcode | html %]: [% title | html %] |
| 220 |
</a> |
| 221 |
</p> |
| 222 |
</div> |
| 223 |
<div class="modal-footer"> |
| 224 |
<!-- CONFIRM --> |
| 225 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 226 |
<!-- PRINT SLIP --> |
| 227 |
<button type="button" data-dismiss="modal" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
| 228 |
<!-- CANCEL TRANSFER --> |
| 229 |
<form method="post" action="returns.pl" name="mainform"> |
| 230 |
<button class="btn btn-default deny" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
| 231 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 232 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 233 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 234 |
<input type="hidden" name="canceltransfer" value="1" /> |
| 235 |
[% FOREACH inputloo IN inputloop %] |
| 236 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 237 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 238 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 239 |
[% END %] |
110 |
[% END %] |
| 240 |
</form> |
|
|
| 241 |
</div> |
| 242 |
</div> |
| 243 |
</div> |
| 244 |
</div> |
| 245 |
[% END %] |
| 246 |
|
| 247 |
[% IF ( found ) %] |
| 248 |
[% IF ( waiting ) %] |
| 249 |
<div id="hold-found1" class="modal fade audio-alert-action"> |
| 250 |
<div class="modal-dialog"> |
| 251 |
<div class="modal-content"> |
| 252 |
<form method="post" action="returns.pl" class="confirm"> |
| 253 |
<div class="modal-header"> |
| 254 |
<h3> |
| 255 |
Hold found (item is already waiting): |
| 256 |
<br/> |
| 257 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a> |
| 258 |
<div class="hold-found-barcode"> |
| 259 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&itemnumber=[% itemnumber | uri %]">[% itembarcode | html %]</a> |
| 260 |
</div> |
| 261 |
</h3> |
| 262 |
</div> |
| 263 |
|
| 264 |
<div class="modal-body"> |
| 265 |
[% IF ( reservenotes ) %] |
| 266 |
<h4>Notes: [% reservenotes | html %]</h4> |
| 267 |
[% END %] |
| 268 |
|
111 |
|
| 269 |
<h4>Hold for:</h4> |
112 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
| 270 |
<ul> |
113 |
<div class="dialog alert"> |
| 271 |
<li> |
114 |
<strong>Error:</strong> |
| 272 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.surname | html %], [% patron.firstname | html %]</a> ([% patron.cardnumber | html %]) |
115 |
This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect. |
| 273 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
116 |
</div> |
| 274 |
</li> |
117 |
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] |
| 275 |
[% INCLUDE display_holdpatron_address %] |
118 |
<div class="dialog alert"> |
| 276 |
[% IF ( patron.phone ) %] |
119 |
<strong>Error:</strong> |
| 277 |
<li> [% patron.phone | html %]</li> |
120 |
The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation. |
| 278 |
[% END %] |
121 |
</div> |
| 279 |
|
|
|
| 280 |
[% IF ( patron.email ) %] |
| 281 |
<li><a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a></li> |
| 282 |
[% END %] |
| 283 |
|
| 284 |
[% IF ( patron.debarred ) %] |
| 285 |
<li class="error">Patron is RESTRICTED</li> |
| 286 |
[% END %] |
| 287 |
|
| 288 |
[% IF ( patron.gonenoaddress ) %] |
| 289 |
<li class="error">Patron's address is in doubt</li> |
| 290 |
[% END %] |
| 291 |
</ul> |
| 292 |
|
| 293 |
[% IF ( transfertodo ) %] |
| 294 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 295 |
[% ELSE %] |
| 296 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 297 |
[% END %] |
| 298 |
|
| 299 |
[% FOREACH inputloo IN inputloop %] |
| 300 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 301 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 302 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 303 |
[% END %] |
| 304 |
|
| 305 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 306 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 307 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 308 |
<input type="hidden" name="reserve_id" value="[% reserve_id | html %]" /> |
| 309 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
| 310 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 311 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 312 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 313 |
|
| 314 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 315 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 316 |
</div> |
| 317 |
|
| 318 |
<div class="modal-footer"> |
| 319 |
<input type="hidden" name="cancel_reserve" value="0" /> |
| 320 |
|
| 321 |
<button type="submit" class="btn btn-default approve" data-dismiss="modal"> |
| 322 |
<i class="fa fa-check"></i> Confirm hold |
| 323 |
</button> |
| 324 |
|
| 325 |
<input type="hidden" name="print_slip" value="0" /> |
| 326 |
<button type="submit" class="btn btn-default print"> |
| 327 |
<i class="fa fa-print"></i> Print slip and confirm |
| 328 |
</button> |
| 329 |
|
| 330 |
<button type="submit" class="btn btn-default deny cancel-hold"> |
| 331 |
<i class="fa fa-times"></i> Cancel hold |
| 332 |
</button> |
| 333 |
</div> |
| 334 |
</form> |
| 335 |
</div> |
| 336 |
</div> |
| 337 |
</div> |
| 338 |
[% END %] |
| 339 |
|
| 340 |
[% IF ( diffbranch ) %] |
| 341 |
<!-- diffbranch --> |
| 342 |
<div id="transfer-needed" class="dialog message audio-alert-action"> |
| 343 |
<h3>Hold needing transfer found</h3> |
| 344 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
| 345 |
<h4>Hold for: </h4> |
| 346 |
<ul> |
| 347 |
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.surname | html %], [% patron.firstname | html %]</a> ([% patron.cardnumber | html %]) <span class="patron-category"> - [% patron.category.description | html %]</span> </li> |
| 348 |
[% INCLUDE display_holdpatron_address %] |
| 349 |
[% IF ( patron.phone ) %]<li>[% patron.phone | html %]</li>[% END %] |
| 350 |
[% IF ( patron.email ) %]<li>[% IF ( transfertodo ) %][% patron.email | html %][% ELSE %]<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a>[% END %]</li>[% END %] |
| 351 |
[% IF ( patron.debarred ) %]<li class="error">Patron is RESTRICTED</li>[% END %] |
| 352 |
[% IF ( patron.gonenoaddress ) %]<li class="error">Patron's address is in doubt</li>[% END %] |
| 353 |
</ul> |
| 354 |
[% IF ( transfertodo ) %] |
| 355 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 356 |
[% ELSE %] |
| 357 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 358 |
[% END %] |
| 359 |
|
| 360 |
<form method="post" action="returns.pl" class="confirm"> |
| 361 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
| 362 |
<input type="hidden" name="print_slip" value="0" /> |
| 363 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 364 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 365 |
<button type="submit" class="print"><i class="fa fa-print"></i> Print slip and continue</button> |
| 366 |
[% FOREACH inputloo IN inputloop %] |
| 367 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 368 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 369 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 370 |
[% END %] |
| 371 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
| 372 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 373 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 374 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 375 |
<input type="hidden" name="barcode" value="0" /> |
| 376 |
|
| 377 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 378 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 379 |
</form> |
| 380 |
</div> |
| 381 |
[% END %] |
| 382 |
|
| 383 |
[% IF transfer || needstransfer %] |
| 384 |
<div id="item-transfer-modal" class="modal fade audio-alert-action"> |
| 385 |
<div class="modal-dialog"> |
| 386 |
<div class="modal-content"> |
| 387 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
| 388 |
<div class="modal-header"> |
| 389 |
<h3> |
| 390 |
Please return this item to [% Branches.GetName( returnbranch ) | html %] |
| 391 |
</h3> |
| 392 |
</div> |
| 393 |
<div class="modal-body"> |
| 394 |
<p> |
| 395 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 396 |
[% itembarcode | html %]: [% title | html %] |
| 397 |
</a> |
| 398 |
</p> |
| 399 |
[% IF !transfer %] |
| 400 |
<p> |
| 401 |
Transfer now? |
| 402 |
</p> |
| 403 |
[% END %] |
| 404 |
<input type="hidden" name="tobranch" value="[% returnbranch | html %]" /> |
| 405 |
<input type="hidden" name="transferitem" value="[% itemnumber | html %]" /> |
| 406 |
<input type="hidden" name="barcode" value="0" /> |
| 407 |
</div> |
| 408 |
<div class="modal-footer"> |
| 409 |
[% IF !transfer %] |
| 410 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
| 411 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
| 412 |
<button type="button" data-dismiss="modal" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> |
| 413 |
[% ELSE %] |
| 414 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 415 |
<button type="button" data-dismiss="modal" name="dotransfer" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
| 416 |
[% END %] |
| 417 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 418 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 419 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 420 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 421 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 422 |
[% FOREACH inputloo IN inputloop %] |
| 423 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 424 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 425 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 426 |
[% END %] |
122 |
[% END %] |
| 427 |
</div> |
|
|
| 428 |
</form> |
| 429 |
</div> |
| 430 |
</div> |
| 431 |
</div> |
| 432 |
[% END %] |
| 433 |
|
| 434 |
[% IF ( diffbranch ) %] |
| 435 |
<!-- diffbranch --> |
| 436 |
<h3 class="audio-alert-action">Item consigned:</h3> |
| 437 |
<table> |
| 438 |
<caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a></caption> |
| 439 |
<tr> |
| 440 |
<th>Hold for:</th> |
| 441 |
<td>[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]</td> |
| 442 |
</tr> |
| 443 |
</table> |
| 444 |
<form method="post" action="returns.pl"><input type="submit" value="OK" /> |
| 445 |
[% FOREACH inputloo IN inputloop %] |
| 446 |
[% UNLESS ( inputloo.first ) %] |
| 447 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 448 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 449 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 450 |
[% END %] |
| 451 |
[% END %] |
| 452 |
|
| 453 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 454 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 455 |
|
| 456 |
<input type="hidden" name="barcode" value="0" /> |
| 457 |
</form> |
| 458 |
[% END %] |
| 459 |
|
| 460 |
|
| 461 |
<!-- case of simple return no issue or transfer but with a reservation --> |
| 462 |
[% IF ( reserved ) %] |
| 463 |
<!-- reserved --> |
| 464 |
<div id="hold-found2" class="modal fade audio-alert-action"> |
| 465 |
<div class="modal-dialog"> |
| 466 |
<div class="modal-content"> |
| 467 |
<form method="post" action="returns.pl" class="confirm"> |
| 468 |
<div class="modal-header"> |
| 469 |
<h3> |
| 470 |
Hold found: |
| 471 |
<br/> |
| 472 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a> |
| 473 |
<div class="hold-found-barcode"> |
| 474 |
(<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&itemnumber=[% itemnumber | html %]">[% itembarcode | html %]</a>) |
| 475 |
</div> |
| 476 |
</h3> |
| 477 |
</div> |
| 478 |
|
| 479 |
<div class="modal-body"> |
| 480 |
[% IF ( reservenotes ) %] |
| 481 |
<h4>Notes:</h4> |
| 482 |
<p>[% reservenotes | html %]</p> |
| 483 |
<hr /> |
| 484 |
[% END %] |
| 485 |
<h5>Hold for:</h5> |
| 486 |
<ul> |
| 487 |
<li> |
| 488 |
[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %] |
| 489 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
| 490 |
</li> |
| 491 |
|
123 |
|
| 492 |
[% INCLUDE display_holdpatron_address %] |
124 |
[% IF additional_materials %] |
| 493 |
|
125 |
<div class="dialog message" id="materials"> |
| 494 |
[% IF ( patron.phone ) %] |
126 |
Note about the accompanying materials: <br /> |
| 495 |
<li>[% patron.phone | html %]</li> |
127 |
[% additional_materials | html %] |
|
|
128 |
</div> |
| 496 |
[% END %] |
129 |
[% END %] |
| 497 |
|
130 |
|
| 498 |
[% IF ( patron.email ) %] |
131 |
[% IF ( collectionItemNeedsTransferred ) %] |
| 499 |
<li> |
132 |
<div id="rotating-collection" class="dialog message"> |
| 500 |
[% IF ( transfertodo ) %] |
133 |
<h3>Please transfer item to: [% Branches.GetName( collectionBranch ) | html %]</h3> |
| 501 |
[% patron.email | html %] |
134 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
| 502 |
[% ELSE %] |
135 |
<p>This item is part of a rotating collection.</p> |
| 503 |
<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a> |
136 |
<p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&branchcode=[% collectionBranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
| 504 |
[% END %] |
137 |
</div> |
| 505 |
</li> |
|
|
| 506 |
[% END %] |
138 |
[% END %] |
| 507 |
|
139 |
|
| 508 |
[% UNLESS ( transfertodo) %] |
140 |
<!-- Patron has added an issue note --> |
| 509 |
[% INCLUDE display_bormessagepref %] |
141 |
[% IF ( issue.note) %] |
|
|
142 |
<div class="dialog message"> |
| 143 |
<h1>Patron note</h1> |
| 144 |
<p>[% issue.notedate | $KohaDates %]</p> |
| 145 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber | uri %]"> [% title | html %]</a> [% author | html %]</p> |
| 146 |
<p>[% issue.note | html %]</p> |
| 147 |
</div> |
| 510 |
[% END %] |
148 |
[% END %] |
| 511 |
|
149 |
|
| 512 |
[% IF ( patron.debarred ) %] |
150 |
<!-- Patron has fines --> |
| 513 |
<li class="error">Patron is RESTRICTED</li> |
151 |
[% IF ( fines ) %] |
|
|
152 |
<div class="dialog alert"> |
| 153 |
<h3>Patron has outstanding fines of [% fines | html %].</h3> |
| 154 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber | uri %]">Make payment</a>.</p> |
| 155 |
</div> |
| 514 |
[% END %] |
156 |
[% END %] |
| 515 |
|
157 |
|
| 516 |
[% IF ( patron.gonenoaddress ) %] |
158 |
<!-- Patron has waiting holds --> |
| 517 |
<li class="error">Patron's address is in doubt</li> |
159 |
[% IF ( waiting_holds ) %] |
|
|
160 |
<div id="awaiting-pickup" class="dialog message"> |
| 161 |
<h3>[% holdsfirstname | html %] [% holdssurname | html %] has [% waiting_holds | html %] hold(s) waiting for pickup.</h3> |
| 162 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber | uri %]">Check out to this patron</a>.</p> |
| 163 |
</div> |
| 518 |
[% END %] |
164 |
[% END %] |
| 519 |
</ul> |
|
|
| 520 |
[% IF ( transfertodo ) %] |
| 521 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 522 |
[% ELSE %] |
| 523 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 524 |
[% END %] |
| 525 |
|
| 526 |
<input type="hidden" name="print_slip" value="0" /> |
| 527 |
|
| 528 |
|
165 |
|
| 529 |
[% FOREACH inputloo IN inputloop %] |
166 |
<!-- Patron is restricted and checkin was backdated --> |
| 530 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
167 |
[% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %] |
| 531 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
168 |
<div id="restricted_backdated" class="dialog message"> |
| 532 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
169 |
<h3> |
| 533 |
[% END %] |
170 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]"> |
|
|
171 |
[% patron.firstname | html %] [% patron.surname | html %] |
| 172 |
</a> |
| 173 |
is restricted. Please verify this patron should still be restricted. |
| 174 |
</h3> |
| 175 |
</div> |
| 176 |
[% END %] |
| 534 |
|
177 |
|
| 535 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
178 |
[% IF wrongbranch %] |
| 536 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
179 |
<div id="wrong-branch-modal" class="modal fade audio-alert-action"> |
| 537 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
180 |
<div class="modal-dialog"> |
| 538 |
<input type="hidden" name="reserve_id" value="[% reserve_id | html %]" /> |
181 |
<div class="modal-content"> |
| 539 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
182 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
| 540 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
183 |
<div class="modal-header"> |
| 541 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
184 |
<h3> |
| 542 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
185 |
Cannot check in |
| 543 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
186 |
</h3> |
| 544 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
187 |
</div> |
| 545 |
</div> |
188 |
<div class="modal-body"> |
| 546 |
|
189 |
<p> |
| 547 |
<div class="modal-footer"> |
190 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 548 |
[% IF ( transfertodo ) %] |
191 |
[% itembarcode | html %]: [% title | html %] |
| 549 |
<button type="submit" class="btn btn-default approve"> |
192 |
</a> |
| 550 |
<i class="fa fa-check"></i> Confirm hold and transfer |
193 |
</p> |
| 551 |
</button> |
194 |
<p> |
| 552 |
<button type="submit" class="btn btn-default print"> |
195 |
<strong> |
| 553 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
196 |
NOT CHECKED IN |
| 554 |
</button> |
197 |
</strong> |
| 555 |
[% ELSE %] |
198 |
</p> |
| 556 |
<button type="submit" class="btn btn-default approve"> |
199 |
<p> |
| 557 |
<i class="fa fa-check"></i> Confirm hold |
200 |
This item must be checked in at following library: |
| 558 |
</button> |
201 |
<strong> |
| 559 |
<button type="submit" class="btn btn-default print"> |
202 |
[% Branches.GetName( rightbranch ) | html %] |
| 560 |
<i class="fa fa-print"></i> Print slip and confirm |
203 |
</strong> |
| 561 |
</button> |
204 |
</p> |
| 562 |
[% END %] |
205 |
</div> |
|
|
206 |
<div class="modal-footer"> |
| 207 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 208 |
</div> |
| 209 |
</form> |
| 210 |
</div> |
| 211 |
</div> |
| 212 |
</div> |
| 213 |
[% END %] |
| 563 |
|
214 |
|
| 564 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
215 |
<!-- case of a mistake in transfer loop --> |
| 565 |
<i class="fa fa-times"></i> Ignore |
216 |
[% IF WrongTransfer && !transfertodo %] |
| 566 |
</button> |
217 |
<div id="wrong-transfer-modal" class="modal fade audio-alert-action"> |
| 567 |
</div> |
218 |
<div class="modal-dialog"> |
| 568 |
</form> |
219 |
<div class="modal-content"> |
| 569 |
</div> |
220 |
<div class="modal-header"> |
| 570 |
</div> |
221 |
<h3> |
| 571 |
</div> |
222 |
Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %] |
| 572 |
[% END %] |
223 |
</h3> |
| 573 |
[% END %] |
224 |
</div> |
|
|
225 |
<div class="modal-body"> |
| 226 |
<p> |
| 227 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 228 |
[% itembarcode | html %]: [% title | html %] |
| 229 |
</a> |
| 230 |
</p> |
| 231 |
</div> |
| 232 |
<div class="modal-footer"> |
| 233 |
<!-- CONFIRM --> |
| 234 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 235 |
<!-- PRINT SLIP --> |
| 236 |
<button type="button" data-dismiss="modal" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
| 237 |
<!-- CANCEL TRANSFER --> |
| 238 |
<form method="post" action="returns.pl" name="mainform"> |
| 239 |
<button class="btn btn-default deny" type="submit"><i class="fa fa-times"></i> Cancel transfer</button> |
| 240 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 241 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 242 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 243 |
<input type="hidden" name="canceltransfer" value="1" /> |
| 244 |
[% FOREACH inputloo IN inputloop %] |
| 245 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 246 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 247 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 248 |
[% END %] |
| 249 |
</form> |
| 250 |
</div> |
| 251 |
</div> |
| 252 |
</div> |
| 253 |
</div> |
| 254 |
[% END %] |
| 574 |
|
255 |
|
| 575 |
[% IF ( errmsgloop ) %] |
256 |
[% IF ( found ) %] |
| 576 |
<div class="dialog alert audio-alert-warning"> |
257 |
[% IF ( waiting ) %] |
| 577 |
<h3>Check in message</h3> |
258 |
<div id="hold-found1" class="modal fade audio-alert-action"> |
| 578 |
[% IF itembiblionumber %] |
259 |
<div class="modal-dialog"> |
| 579 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
260 |
<div class="modal-content"> |
| 580 |
[% END %] |
261 |
<form method="post" action="returns.pl" class="confirm"> |
| 581 |
[% FOREACH errmsgloo IN errmsgloop %] |
262 |
<div class="modal-header"> |
| 582 |
[% IF ( errmsgloo.NotForLoanStatusUpdated ) %] |
263 |
<h3> |
| 583 |
<p class="problem"> |
264 |
Hold found (item is already waiting): |
| 584 |
Not for loan status updated. |
265 |
<br/> |
| 585 |
<br />Old value: |
266 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a> |
| 586 |
[% IF errmsgloo.NotForLoanStatusUpdated.from %] |
267 |
<div class="hold-found-barcode"> |
| 587 |
[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %]. |
268 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&itemnumber=[% itemnumber | uri %]">[% itembarcode | html %]</a> |
| 588 |
[% ELSE %] |
269 |
</div> |
| 589 |
Available for loan. |
270 |
</h3> |
| 590 |
[% END %] |
271 |
</div> |
| 591 |
<br />New value: |
272 |
|
| 592 |
[% IF errmsgloo.NotForLoanStatusUpdated.to %] |
273 |
<div class="modal-body"> |
| 593 |
[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %]. |
274 |
[% IF ( reservenotes ) %] |
| 594 |
[% ELSE %] |
275 |
<h4>Notes: [% reservenotes | html %]</h4> |
| 595 |
Available for loan. |
276 |
[% END %] |
| 596 |
[% END %] |
277 |
|
| 597 |
</p> |
278 |
<h4>Hold for:</h4> |
| 598 |
[% END %] |
279 |
<ul> |
| 599 |
[% IF ( errmsgloo.ItemLocationUpdated ) %] |
280 |
<li> |
| 600 |
<p class="problem"> |
281 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.surname | html %], [% patron.firstname | html %]</a> ([% patron.cardnumber | html %]) |
| 601 |
Item shelving location updated. |
282 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
| 602 |
<br />Old value: |
283 |
</li> |
| 603 |
[% IF errmsgloo.ItemLocationUpdated.from %] |
284 |
[% INCLUDE display_holdpatron_address %] |
| 604 |
[% IF errmsgloo.ItemLocationUpdated.from == '' %] |
285 |
[% IF ( patron.phone ) %] |
| 605 |
empty |
286 |
<li> [% patron.phone | html %]</li> |
| 606 |
[% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %] |
287 |
[% END %] |
| 607 |
[% errmsgloo.ItemLocationUpdated.from | html %] (No description available) |
288 |
|
| 608 |
[% ELSE %] |
289 |
[% IF ( patron.email ) %] |
| 609 |
[% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %] |
290 |
<li><a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a></li> |
|
|
291 |
[% END %] |
| 292 |
|
| 293 |
[% IF ( patron.debarred ) %] |
| 294 |
<li class="error">Patron is RESTRICTED</li> |
| 295 |
[% END %] |
| 296 |
|
| 297 |
[% IF ( patron.gonenoaddress ) %] |
| 298 |
<li class="error">Patron's address is in doubt</li> |
| 299 |
[% END %] |
| 300 |
</ul> |
| 301 |
|
| 302 |
[% IF ( transfertodo ) %] |
| 303 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 304 |
[% ELSE %] |
| 305 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 306 |
[% END %] |
| 307 |
|
| 308 |
[% FOREACH inputloo IN inputloop %] |
| 309 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 310 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 311 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 312 |
[% END %] |
| 313 |
|
| 314 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 315 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 316 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 317 |
<input type="hidden" name="reserve_id" value="[% reserve_id | html %]" /> |
| 318 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
| 319 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 320 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 321 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 322 |
|
| 323 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 324 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 325 |
</div> |
| 326 |
|
| 327 |
<div class="modal-footer"> |
| 328 |
<input type="hidden" name="cancel_reserve" value="0" /> |
| 329 |
|
| 330 |
<button type="submit" class="btn btn-default approve" data-dismiss="modal"> |
| 331 |
<i class="fa fa-check"></i> Confirm hold |
| 332 |
</button> |
| 333 |
|
| 334 |
<input type="hidden" name="print_slip" value="0" /> |
| 335 |
<button type="submit" class="btn btn-default print"> |
| 336 |
<i class="fa fa-print"></i> Print slip and confirm |
| 337 |
</button> |
| 338 |
|
| 339 |
<button type="submit" class="btn btn-default deny cancel-hold"> |
| 340 |
<i class="fa fa-times"></i> Cancel hold |
| 341 |
</button> |
| 342 |
</div> |
| 343 |
</form> |
| 344 |
</div> |
| 345 |
</div> |
| 346 |
</div> |
| 347 |
[% END %] |
| 348 |
|
| 349 |
[% IF ( diffbranch ) %] |
| 350 |
<!-- diffbranch --> |
| 351 |
<div id="transfer-needed" class="dialog message audio-alert-action"> |
| 352 |
<h3>Hold needing transfer found</h3> |
| 353 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
| 354 |
<h4>Hold for: </h4> |
| 355 |
<ul> |
| 356 |
<li> |
| 357 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.surname | html %], [% patron.firstname | html %]</a> ([% patron.cardnumber | html %]) <span class="patron-category"> - [% patron.category.description | html %]</span> |
| 358 |
</li> |
| 359 |
[% INCLUDE display_holdpatron_address %] |
| 360 |
[% IF ( patron.phone ) %] |
| 361 |
<li>[% patron.phone | html %]</li> |
| 362 |
[% END %] |
| 363 |
[% IF ( patron.email ) %] |
| 364 |
<li> |
| 365 |
[% IF ( transfertodo ) %] |
| 366 |
[% patron.email | html %] |
| 367 |
[% ELSE %] |
| 368 |
<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a> |
| 369 |
[% END %] |
| 370 |
</li> |
| 371 |
[% END %] |
| 372 |
[% IF ( patron.debarred ) %] |
| 373 |
<li class="error">Patron is RESTRICTED</li> |
| 374 |
[% END %] |
| 375 |
[% IF ( patron.gonenoaddress ) %] |
| 376 |
<li class="error">Patron's address is in doubt</li> |
| 377 |
[% END %] |
| 378 |
</ul> |
| 379 |
|
| 380 |
[% IF ( transfertodo ) %] |
| 381 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 382 |
[% ELSE %] |
| 383 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 384 |
[% END %] |
| 385 |
|
| 386 |
<form method="post" action="returns.pl" class="confirm"> |
| 387 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
| 388 |
<input type="hidden" name="print_slip" value="0" /> |
| 389 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 390 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 391 |
<button type="submit" class="print"><i class="fa fa-print"></i> Print slip and continue</button> |
| 392 |
[% FOREACH inputloo IN inputloop %] |
| 393 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 394 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 395 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 396 |
[% END %] |
| 397 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
| 398 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 399 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 400 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 401 |
<input type="hidden" name="barcode" value="0" /> |
| 402 |
|
| 403 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 404 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 405 |
</form> |
| 406 |
</div> |
| 407 |
[% END %] |
| 408 |
|
| 409 |
[% IF transfer || needstransfer %] |
| 410 |
<div id="item-transfer-modal" class="modal fade audio-alert-action"> |
| 411 |
<div class="modal-dialog"> |
| 412 |
<div class="modal-content"> |
| 413 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
| 414 |
<div class="modal-header"> |
| 415 |
<h3> |
| 416 |
Please return this item to [% Branches.GetName( returnbranch ) | html %] |
| 417 |
</h3> |
| 418 |
</div> |
| 419 |
<div class="modal-body"> |
| 420 |
<p> |
| 421 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]"> |
| 422 |
[% itembarcode | html %]: [% title | html %] |
| 423 |
</a> |
| 424 |
</p> |
| 425 |
[% IF !transfer %] |
| 426 |
<p> |
| 427 |
Transfer now? |
| 428 |
</p> |
| 429 |
[% END %] |
| 430 |
<input type="hidden" name="tobranch" value="[% returnbranch | html %]" /> |
| 431 |
<input type="hidden" name="transferitem" value="[% itemnumber | html %]" /> |
| 432 |
<input type="hidden" name="barcode" value="0" /> |
| 433 |
</div> |
| 434 |
<div class="modal-footer"> |
| 435 |
[% IF !transfer %] |
| 436 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> |
| 437 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
| 438 |
<button type="button" data-dismiss="modal" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> |
| 439 |
[% ELSE %] |
| 440 |
<button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> |
| 441 |
<button type="button" data-dismiss="modal" name="dotransfer" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
| 442 |
[% END %] |
| 443 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 444 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 445 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 446 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 447 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 448 |
[% FOREACH inputloo IN inputloop %] |
| 449 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 450 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 451 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 452 |
[% END %] |
| 453 |
</div> |
| 454 |
</form> |
| 455 |
</div> |
| 456 |
</div> |
| 457 |
</div> |
| 458 |
[% END %] |
| 459 |
|
| 460 |
[% IF ( diffbranch ) %] |
| 461 |
<!-- diffbranch --> |
| 462 |
<h3 class="audio-alert-action">Item consigned:</h3> |
| 463 |
<table> |
| 464 |
<caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a></caption> |
| 465 |
<tr> |
| 466 |
<th>Hold for:</th> |
| 467 |
<td>[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]</td> |
| 468 |
</tr> |
| 469 |
</table> |
| 470 |
<form method="post" action="returns.pl"> |
| 471 |
<input type="submit" value="OK" /> |
| 472 |
[% FOREACH inputloo IN inputloop %] |
| 473 |
[% UNLESS ( inputloo.first ) %] |
| 474 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 475 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 476 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 477 |
[% END %] |
| 478 |
[% END %] |
| 479 |
|
| 480 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 481 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 482 |
<input type="hidden" name="barcode" value="0" /> |
| 483 |
</form> |
| 484 |
[% END %] |
| 485 |
|
| 486 |
<!-- case of simple return no issue or transfer but with a reservation --> |
| 487 |
[% IF ( reserved ) %] |
| 488 |
<!-- reserved --> |
| 489 |
<div id="hold-found2" class="modal fade audio-alert-action"> |
| 490 |
<div class="modal-dialog"> |
| 491 |
<div class="modal-content"> |
| 492 |
<form method="post" action="returns.pl" class="confirm"> |
| 493 |
<div class="modal-header"> |
| 494 |
<h3> |
| 495 |
Hold found: |
| 496 |
<br/> |
| 497 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a> |
| 498 |
<div class="hold-found-barcode"> |
| 499 |
(<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&itemnumber=[% itemnumber | html %]">[% itembarcode | html %]</a>) |
| 500 |
</div> |
| 501 |
</h3> |
| 502 |
</div> |
| 503 |
|
| 504 |
<div class="modal-body"> |
| 505 |
[% IF ( reservenotes ) %] |
| 506 |
<h4>Notes:</h4> |
| 507 |
<p>[% reservenotes | html %]</p> |
| 508 |
<hr /> |
| 509 |
[% END %] |
| 510 |
<h5>Hold for:</h5> |
| 511 |
<ul> |
| 512 |
<li> |
| 513 |
[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %] |
| 514 |
<span class="patron-category"> - [% patron.category.description | html %]</span> |
| 515 |
</li> |
| 516 |
|
| 517 |
[% INCLUDE display_holdpatron_address %] |
| 518 |
|
| 519 |
[% IF ( patron.phone ) %] |
| 520 |
<li>[% patron.phone | html %]</li> |
| 521 |
[% END %] |
| 522 |
|
| 523 |
[% IF ( patron.email ) %] |
| 524 |
<li> |
| 525 |
[% IF ( transfertodo ) %] |
| 526 |
[% patron.email | html %] |
| 527 |
[% ELSE %] |
| 528 |
<a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a> |
| 529 |
[% END %] |
| 530 |
</li> |
| 531 |
[% END %] |
| 532 |
|
| 533 |
[% UNLESS ( transfertodo) %] |
| 534 |
[% INCLUDE display_bormessagepref %] |
| 535 |
[% END %] |
| 536 |
|
| 537 |
[% IF ( patron.debarred ) %] |
| 538 |
<li class="error">Patron is RESTRICTED</li> |
| 539 |
[% END %] |
| 540 |
|
| 541 |
[% IF ( patron.gonenoaddress ) %] |
| 542 |
<li class="error">Patron's address is in doubt</li> |
| 543 |
[% END %] |
| 544 |
</ul> |
| 545 |
[% IF ( transfertodo ) %] |
| 546 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 547 |
[% ELSE %] |
| 548 |
<h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4> |
| 549 |
[% END %] |
| 550 |
|
| 551 |
<input type="hidden" name="print_slip" value="0" /> |
| 552 |
|
| 553 |
|
| 554 |
[% FOREACH inputloo IN inputloop %] |
| 555 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 556 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 557 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 558 |
[% END %] |
| 559 |
|
| 560 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 561 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 562 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber | html %]" /> |
| 563 |
<input type="hidden" name="reserve_id" value="[% reserve_id | html %]" /> |
| 564 |
<input type="hidden" name="diffBranch" value="[% destbranch | html %]" /> |
| 565 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
| 566 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
| 567 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
| 568 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
| 569 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
| 570 |
</div> |
| 571 |
|
| 572 |
<div class="modal-footer"> |
| 573 |
[% IF ( transfertodo ) %] |
| 574 |
<button type="submit" class="btn btn-default approve"> |
| 575 |
<i class="fa fa-check"></i> Confirm hold and transfer |
| 576 |
</button> |
| 577 |
<button type="submit" class="btn btn-default print"> |
| 578 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
| 579 |
</button> |
| 580 |
[% ELSE %] |
| 581 |
<button type="submit" class="btn btn-default approve"> |
| 582 |
<i class="fa fa-check"></i> Confirm hold |
| 583 |
</button> |
| 584 |
<button type="submit" class="btn btn-default print"> |
| 585 |
<i class="fa fa-print"></i> Print slip and confirm |
| 586 |
</button> |
| 587 |
[% END %] |
| 588 |
|
| 589 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
| 590 |
<i class="fa fa-times"></i> Ignore |
| 591 |
</button> |
| 592 |
</div> |
| 593 |
</form> |
| 594 |
</div> |
| 595 |
</div> |
| 596 |
</div> |
| 597 |
[% END %] |
| 610 |
[% END %] |
598 |
[% END %] |
| 611 |
[% ELSE %] |
599 |
|
| 612 |
"Blank" |
600 |
[% IF ( errmsgloop ) %] |
| 613 |
[% END %] |
601 |
<div class="dialog alert audio-alert-warning"> |
| 614 |
<br />New value: |
602 |
<h3>Check in message</h3> |
| 615 |
[% IF errmsgloo.ItemLocationUpdated.to %] |
603 |
[% IF itembiblionumber %] |
| 616 |
[% IF errmsgloo.ItemLocationUpdated.to == '' %] |
604 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber | uri %]">[% itembarcode | html %]: [% title | html %]</a></p> |
| 617 |
empty |
605 |
[% END %] |
| 618 |
[% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %] |
606 |
[% FOREACH errmsgloo IN errmsgloop %] |
| 619 |
[% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value) |
607 |
[% IF ( errmsgloo.NotForLoanStatusUpdated ) %] |
| 620 |
[% ELSE %] |
608 |
<p class="problem"> |
| 621 |
[% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %] |
609 |
Not for loan status updated. |
|
|
610 |
<br />Old value: |
| 611 |
[% IF errmsgloo.NotForLoanStatusUpdated.from %] |
| 612 |
[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %]. |
| 613 |
[% ELSE %] |
| 614 |
Available for loan. |
| 615 |
[% END %] |
| 616 |
<br />New value: |
| 617 |
[% IF errmsgloo.NotForLoanStatusUpdated.to %] |
| 618 |
[% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %]. |
| 619 |
[% ELSE %] |
| 620 |
Available for loan. |
| 621 |
[% END %] |
| 622 |
</p> |
| 623 |
[% END %] |
| 624 |
[% IF ( errmsgloo.ItemLocationUpdated ) %] |
| 625 |
<p class="problem"> |
| 626 |
Item shelving location updated. |
| 627 |
<br />Old value: |
| 628 |
[% IF errmsgloo.ItemLocationUpdated.from %] |
| 629 |
[% IF errmsgloo.ItemLocationUpdated.from == '' %] |
| 630 |
empty |
| 631 |
[% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %] |
| 632 |
[% errmsgloo.ItemLocationUpdated.from | html %] (No description available) |
| 633 |
[% ELSE %] |
| 634 |
[% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %] |
| 635 |
[% END %] |
| 636 |
[% ELSE %] |
| 637 |
"Blank" |
| 638 |
[% END %] |
| 639 |
<br />New value: |
| 640 |
[% IF errmsgloo.ItemLocationUpdated.to %] |
| 641 |
[% IF errmsgloo.ItemLocationUpdated.to == '' %] |
| 642 |
empty |
| 643 |
[% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %] |
| 644 |
[% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value) |
| 645 |
[% ELSE %] |
| 646 |
[% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %] |
| 647 |
[% END %] |
| 648 |
[% ELSE %] |
| 649 |
"Blank" |
| 650 |
[% END %] |
| 651 |
</p> |
| 652 |
[% END %] |
| 653 |
[% IF ( errmsgloo.badbarcode ) %] |
| 654 |
<p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p> |
| 655 |
[% END %] |
| 656 |
[% IF ( errmsgloo.ispermanent ) %] |
| 657 |
<p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p> |
| 658 |
[% END %] |
| 659 |
[% IF ( errmsgloo.notissued ) %] |
| 660 |
<p class="problem">Not checked out.</p> |
| 661 |
[% END %] |
| 662 |
[% IF ( errmsgloo.localuse) %] |
| 663 |
<p class="problem">Local use recorded</p> |
| 664 |
[% END %] |
| 665 |
[% IF ( errmsgloo.waslost ) %] |
| 666 |
[% IF Koha.Preference('BlockReturnOfLostItems') %] |
| 667 |
<p class="problem">Item is lost, cannot be checked in.</p> |
| 668 |
[% ELSE %] |
| 669 |
<p class="problem">Item was lost, now found.</p> |
| 670 |
[% END %] |
| 671 |
[% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %] |
| 672 |
<p class="problem">A refund has been applied to the borrowing patron's account.</p> |
| 673 |
[% ELSIF Koha.Preference('BlockReturnOfLostItems') %] |
| 674 |
<h5>Cannot check in</h5> |
| 675 |
<p><strong>NOT CHECKED IN</strong></p> |
| 676 |
[% ELSE %] |
| 677 |
<p class="problem">Any lost item fees for this item will remain on the patron's account.</p> |
| 678 |
[% END %] |
| 679 |
[% END %] |
| 680 |
[% IF ( errmsgloo.withdrawn ) %] |
| 681 |
[% IF Koha.Preference('BlockReturnOfWithdrawnItems') %] |
| 682 |
<h5>Cannot check in</h5> |
| 683 |
<p><strong>NOT CHECKED IN</strong></p> |
| 684 |
[% END %] |
| 685 |
<p class="problem">Item is withdrawn.</p> |
| 686 |
[% END %] |
| 687 |
[% IF ( errmsgloo.debarred ) %] |
| 688 |
<p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber | uri %]">[% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p> |
| 689 |
[% END %] |
| 690 |
[% IF ( errmsgloo.prevdebarred ) %] |
| 691 |
<p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p> |
| 692 |
[% END %] |
| 693 |
[% IF ( errmsgloo.foreverdebarred ) %] |
| 694 |
<p class="problem"><b>Reminder: </b>Patron has an indefinite restriction.</p> |
| 695 |
[% END %] |
| 696 |
|
| 697 |
[% IF errmsgloo.data_corrupted %] |
| 698 |
<p class="problem">The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the <a href="/cgi-bin/koha/about.pl#sysinfo">about page</a> and search for the "data problems" section</p> |
| 699 |
[% END %] |
| 700 |
[% END %] |
| 701 |
</div> |
| 622 |
[% END %] |
702 |
[% END %] |
| 623 |
[% ELSE %] |
|
|
| 624 |
"Blank" |
| 625 |
[% END %] |
| 626 |
</p> |
| 627 |
[% END %] |
| 628 |
[% IF ( errmsgloo.badbarcode ) %] |
| 629 |
<p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p> |
| 630 |
[% END %] |
| 631 |
[% IF ( errmsgloo.ispermanent ) %] |
| 632 |
<p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]</p> |
| 633 |
[% END %] |
| 634 |
[% IF ( errmsgloo.notissued ) %] |
| 635 |
<p class="problem">Not checked out.</p> |
| 636 |
[% END %] |
| 637 |
[% IF ( errmsgloo.localuse) %] |
| 638 |
<p class="problem">Local use recorded</p> |
| 639 |
[% END %] |
| 640 |
[% IF ( errmsgloo.waslost ) %] |
| 641 |
[% IF Koha.Preference('BlockReturnOfLostItems') %] |
| 642 |
<p class="problem">Item is lost, cannot be checked in.</p> |
| 643 |
[% ELSE %] |
| 644 |
<p class="problem">Item was lost, now found.</p> |
| 645 |
[% END %] |
| 646 |
[% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %] |
| 647 |
<p class="problem">A refund has been applied to the borrowing patron's account.</p> |
| 648 |
[% ELSIF Koha.Preference('BlockReturnOfLostItems') %] |
| 649 |
<h5>Cannot check in</h5> |
| 650 |
<p><strong>NOT CHECKED IN</strong></p> |
| 651 |
[% ELSE %] |
| 652 |
<p class="problem">Any lost item fees for this item will remain on the patron's account.</p> |
| 653 |
[% END %] |
| 654 |
[% END %] |
| 655 |
[% IF ( errmsgloo.withdrawn ) %] |
| 656 |
[% IF Koha.Preference('BlockReturnOfWithdrawnItems') %] |
| 657 |
<h5>Cannot check in</h5> |
| 658 |
<p><strong>NOT CHECKED IN</strong></p> |
| 659 |
[% END %] |
| 660 |
<p class="problem">Item is withdrawn.</p> |
| 661 |
[% END %] |
| 662 |
[% IF ( errmsgloo.debarred ) %] |
| 663 |
<p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber | uri %]">[% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p> |
| 664 |
[% END %] |
| 665 |
[% IF ( errmsgloo.prevdebarred ) %] |
| 666 |
<p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p> |
| 667 |
[% END %] |
| 668 |
[% IF ( errmsgloo.foreverdebarred ) %] |
| 669 |
<p class="problem"><b>Reminder: </b>Patron has an indefinite restriction.</p> |
| 670 |
[% END %] |
| 671 |
|
703 |
|
| 672 |
[% IF errmsgloo.data_corrupted %] |
704 |
[% IF ( checkinmsg ) %] |
| 673 |
<p class="problem">The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the <a href="/cgi-bin/koha/about.pl#sysinfo">about page</a> and search for the "data problems" section</p> |
705 |
[% IF ( checkinmsgtype == 'alert' ) %] |
| 674 |
[% END %] |
706 |
<div class="dialog alert"> |
| 675 |
[% END %] |
707 |
[% ELSE %] |
| 676 |
</div> |
708 |
<div class="dialog message"> |
| 677 |
[% END %] |
709 |
[% END %] |
|
|
710 |
<p class="problem">[% checkinmsg | html_line_break %]</p> |
| 711 |
</div> |
| 712 |
[% END%] |
| 713 |
|
| 714 |
<form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" > |
| 715 |
<fieldset id="circ_returns_checkin"> |
| 716 |
<h3>Check in</h3> |
| 717 |
<div class="row"> |
| 718 |
<div class="col-sm-6"> |
| 719 |
<div class="hint">Enter item barcode:</div> |
| 720 |
<div class="form-control-group"> |
| 721 |
[% IF ( exemptfine ) %] |
| 722 |
<input name="barcode" id="barcode" size="14" class="focus input-warning" type="text" /> |
| 723 |
[% ELSIF ( dropboxmode ) %] |
| 724 |
<input name="barcode" id="barcode" size="14" class="barcode focus input-warning" /> |
| 725 |
[% ELSE %] |
| 726 |
<input name="barcode" id="barcode" size="14" class="barcode focus" /> |
| 727 |
[% END %] |
| 728 |
<button type="submit" class="btn btn-default">Check in</button> |
| 729 |
[% FOREACH inputloo IN inputloop %] |
| 730 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 731 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 732 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 733 |
[% END %] |
| 734 |
</div> |
| 735 |
<div id="show-circ-settings"> |
| 736 |
<a href="#"><i class="fa circ-settings-icon fa-caret-down"></i> Checkin settings</a> |
| 737 |
</div> |
| 738 |
</div> |
| 739 |
<div class="col-sm-6"> |
| 740 |
[% IF ( exemptfine ) %] |
| 741 |
<div id="exemptfines" class="checkin-active-setting"> |
| 742 |
[% ELSE %] |
| 743 |
<div id="exemptfines" class="checkin-active-setting" style="display:none;"> |
| 744 |
[% END %] |
| 745 |
<p><i class="fa fa-check"></i> Fines for returned items are forgiven.</p> |
| 746 |
</div> |
| 747 |
|
| 748 |
[% IF ( forgivemanualholdsexpire ) %] |
| 749 |
<div id="forgivemanualholdsexpire-alert" class="checkin-active-setting"> |
| 750 |
[% ELSE %] |
| 751 |
<div id="forgivemanualholdsexpire-alert" class="checkin-active-setting" style="display:none;"> |
| 752 |
[% END %] |
| 753 |
<p><i class="fa fa-check"></i> Fines are not charged for manually cancelled holds.</p> |
| 754 |
</div> |
| 755 |
|
| 756 |
[% IF ( dropboxmode ) %] |
| 757 |
<div id="dropboxmode" class="checkin-active-setting"> |
| 758 |
[% ELSE %] |
| 759 |
<div id="dropboxmode" class="checkin-active-setting" style="display:none;"> |
| 760 |
[% END %] |
| 761 |
<p><i class="fa fa-check"></i> Book drop mode. <span class="single-line">( Effective checkin date is [% dropboxdate | $KohaDates with_hours => 1 %] )</span></p> |
| 762 |
</div> |
| 763 |
[% IF ( return_date_override_remember ) %] |
| 764 |
<div id="return_date_remember" class="checkin-active-setting"> |
| 765 |
[% ELSE %] |
| 766 |
<div id="return_date_remember" class="checkin-active-setting" style="display:none;"> |
| 767 |
[% END %] |
| 768 |
<p><i class="fa fa-check"></i> Saved check-in date: <span id="saved_return_date" class="single-line">[% return_date_override | html %]</span></p> |
| 769 |
</div> |
| 770 |
</div> |
| 771 |
</div> |
| 772 |
|
| 773 |
<div class="circ-settings"> |
| 774 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
| 775 |
<div class="date-select" id="return_date_override_fields"> |
| 776 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
| 777 |
|
| 778 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" /> |
| 779 |
|
| 780 |
|
| 781 |
|
| 782 |
<button type="button" class="action btn btn-default btn-xs" id="cleardate" name="cleardate">Clear</button> |
| 783 |
<div class="circ-setting"> |
| 784 |
[% IF ( return_date_override_remember ) %] |
| 785 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" checked="checked" /> |
| 786 |
[% ELSE %] |
| 787 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" /> |
| 788 |
[% END %] |
| 789 |
<label for="return_date_override_remember"> Remember due date for next check in</label> |
| 790 |
</div> |
| 791 |
</div> |
| 792 |
[% END %] |
| 793 |
|
| 794 |
[% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] |
| 795 |
<div id="forgive-overdue-fines" class="circ-setting"> |
| 796 |
[% IF ( exemptfine ) %] |
| 797 |
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" /> |
| 798 |
[% ELSE %] |
| 799 |
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" /> |
| 800 |
[% END %] |
| 801 |
<label for="exemptcheck">Forgive overdue charges</label> |
| 802 |
</div> |
| 803 |
[% END %] <!-- overduecharges --> |
| 804 |
|
| 805 |
<div id="book-drop-mode" class="circ-setting"> |
| 806 |
[% IF ( dropboxmode ) %] |
| 807 |
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" /> |
| 808 |
[% ELSE %] |
| 809 |
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" /> |
| 810 |
[% END %] |
| 811 |
<label for="dropboxcheck">Book drop mode</label> |
| 812 |
</div> |
| 813 |
|
| 814 |
[% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %] |
| 815 |
<div class="forgive-manual-hold-fees circ-setting"> |
| 816 |
[% IF ( forgivemanualholdsexpire ) %] |
| 817 |
<input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" /> |
| 818 |
[% ELSE %] |
| 819 |
<input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" /> |
| 820 |
[% END %] |
| 821 |
<label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label> |
| 822 |
</div> |
| 823 |
[% END %] <!-- overduecharges --> |
| 824 |
|
| 825 |
</div> <!-- /.circ-settings --> |
| 826 |
</fieldset> <!-- /#circ_returns_checkin --> |
| 827 |
</form> <!-- /#checkin-form --> |
| 828 |
|
| 829 |
[% IF ( riloop ) %] |
| 830 |
<h2>Checked-in items</h2> |
| 831 |
<table id="checkedintable"> |
| 832 |
<thead> |
| 833 |
<tr> |
| 834 |
<th class="ci-duedate">Due date</th> |
| 835 |
<th class="ci-title">Title</th> |
| 836 |
<th class="ci-author">Author</th> |
| 837 |
<th class="ci-barcode">Barcode</th> |
| 838 |
<th class="ci-homelibrary">Home library</th> |
| 839 |
<th class="ci-holdinglibrary">Holding library</th> |
| 840 |
<th class="ci-shelvinglocation">Shelving location</th> |
| 841 |
<th class="ci-callnumber">Call number</th> |
| 842 |
<th class="ci-dateaccessioned">Date acquired</th> |
| 843 |
<th class="ci-type">Type</th> |
| 844 |
<th class="ci-patron">Patron</th> |
| 845 |
<th class="ci-note">Note</th> |
| 846 |
</tr> |
| 847 |
</thead> |
| 848 |
|
| 849 |
[% FOREACH riloo IN riloop %] |
| 850 |
<tr> |
| 851 |
<td class="ci-duedate"> |
| 852 |
[% IF ( riloo.duedate ) %] |
| 853 |
[% IF ( riloo.return_overdue ) %] |
| 854 |
<span class="overdue">[% riloo.duedate | html %] (overdue)</span> |
| 855 |
[% ELSE %] |
| 856 |
[% riloo.duedate | html %] |
| 857 |
[% END %] |
| 858 |
[% ELSE %] |
| 859 |
Not checked out |
| 860 |
[% END %] |
| 861 |
</td> |
| 862 |
<td class="ci-title"> |
| 863 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber | uri %]"> |
| 864 |
[% riloo.itemtitle | html %] |
| 865 |
</a> |
| 866 |
[% IF ( riloo.enumchron ) %] |
| 867 |
<br/> |
| 868 |
<span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron | html %]</span> |
| 869 |
[% END %] |
| 870 |
</td> |
| 871 |
<td class="ci-author">[% riloo.itemauthor | html %]</td> |
| 872 |
<td class="ci-barcode"> |
| 873 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber | uri %]&itemnumber=[% riloo.itemnumber | uri %]#item[% riloo.itemnumber | uri %]">[% riloo.barcode | html %]</a> |
| 874 |
</td> |
| 875 |
<td class="ci-homelibrary"> |
| 876 |
[% Branches.GetName( riloo.homebranch ) | html %] |
| 877 |
</td> |
| 878 |
<td class="ci-holdinglibrary"> |
| 879 |
[% Branches.GetName( riloo.holdingbranch ) | html %] |
| 880 |
</td> |
| 881 |
<td class="ci-shelvinglocation"> |
| 882 |
<span class="shelvingloc">[% riloo.location | html %]</span> |
| 883 |
</td> |
| 884 |
<td class="ci-callnumber"> |
| 885 |
[% riloo.itemcallnumber | html %] |
| 886 |
</td> |
| 887 |
<td class="ci-dateaccessioned"> |
| 888 |
[% riloo.dateaccessioned | $KohaDates %] |
| 889 |
</td> |
| 890 |
<td class="ci-type"> |
| 891 |
[% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %] |
| 892 |
</td> |
| 893 |
<td class="ci-patron"> |
| 894 |
[% IF ( riloo.duedate ) %] |
| 895 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.patron.borrowernumber | uri %]"> |
| 896 |
[% riloo.patron.surname | html %], [% riloo.patron.firstname | html %] ([% riloo.patron.category.description | html %]) |
| 897 |
</a> |
| 898 |
[% IF riloo.borissuescount %] |
| 899 |
<span class="results_summary nowrap"> |
| 900 |
<span class="label">Checkouts:</span> |
| 901 |
<span class="number_box"> |
| 902 |
<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% riloo.patron.borrowernumber | uri %]">[% riloo.borissuescount | html %]</a> |
| 903 |
</span> |
| 904 |
</span> |
| 905 |
[% END %] |
| 906 |
[% ELSE %] |
| 907 |
Not checked out |
| 908 |
[% END %] |
| 909 |
</td> |
| 910 |
<td class="ci-note"> |
| 911 |
[% IF ( riloo.patron.borrowernotes ) %] |
| 912 |
<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes | html %]</p></span> |
| 913 |
[% END %] |
| 914 |
[% IF ( riloo.itemnote ) %] |
| 915 |
<p><span class="circ-hlt item-note-public">[% riloo.itemnote | html %]</p></span> |
| 916 |
[% END %] |
| 917 |
[% IF ( riloo.itemnotes_nonpublic ) %] |
| 918 |
<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</p></span> |
| 919 |
[% END %] |
| 920 |
</td> |
| 921 |
</tr> |
| 922 |
[% END %] |
| 923 |
</table> |
| 924 |
[% END %] |
| 678 |
|
925 |
|
| 679 |
[% IF ( checkinmsg ) %] |
926 |
[% IF Koha.Preference('CircSidebar') %] |
| 680 |
[% IF ( checkinmsgtype == 'alert' ) %] |
927 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
| 681 |
<div class="dialog alert"> |
928 |
<div class="col-sm-2 col-sm-pull-10"> |
| 682 |
[% ELSE %] |
929 |
<aside> |
| 683 |
<div class="dialog message"> |
930 |
[% INCLUDE 'circ-nav.inc' %] |
| 684 |
[% END %] |
931 |
</aside> |
| 685 |
<p class="problem">[% checkinmsg | html_line_break %]</p> |
932 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
| 686 |
</div> |
933 |
</div> <!-- /.row --> |
| 687 |
[% END%] |
|
|
| 688 |
|
| 689 |
<form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" > |
| 690 |
<fieldset id="circ_returns_checkin"> |
| 691 |
<h3>Check in</h3> |
| 692 |
<div class="row"> |
| 693 |
<div class="col-sm-6"> |
| 694 |
<div class="hint">Enter item barcode:</div> |
| 695 |
<div class="form-control-group"> |
| 696 |
[% IF ( exemptfine ) %] |
| 697 |
<input name="barcode" id="barcode" size="14" class="focus input-warning" type="text" /> |
| 698 |
[% ELSIF ( dropboxmode ) %] |
| 699 |
<input name="barcode" id="barcode" size="14" class="barcode focus input-warning" /> |
| 700 |
[% ELSE %] |
934 |
[% ELSE %] |
| 701 |
<input name="barcode" id="barcode" size="14" class="barcode focus" /> |
935 |
</div> <!-- /.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 --> |
| 702 |
[% END %] |
936 |
</div> <!-- /.row --> |
| 703 |
<button type="submit" class="btn btn-default">Check in</button> |
|
|
| 704 |
[% FOREACH inputloo IN inputloop %] |
| 705 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
| 706 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
| 707 |
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" /> |
| 708 |
[% END %] |
937 |
[% END %] |
| 709 |
</div> |
|
|
| 710 |
<div id="show-circ-settings"> |
| 711 |
<a href="#"><i class="fa circ-settings-icon fa-caret-down"></i> Checkin settings</a> |
| 712 |
</div> |
| 713 |
</div> |
| 714 |
<div class="col-sm-6"> |
| 715 |
[% IF ( exemptfine ) %] |
| 716 |
<div id="exemptfines" class="checkin-active-setting"> |
| 717 |
[% ELSE %] |
| 718 |
<div id="exemptfines" class="checkin-active-setting" style="display:none;"> |
| 719 |
[% END %] |
| 720 |
<p><i class="fa fa-check"></i> Fines for returned items are forgiven.</p> |
| 721 |
</div> |
| 722 |
|
| 723 |
[% IF ( forgivemanualholdsexpire ) %] |
| 724 |
<div id="forgivemanualholdsexpire-alert" class="checkin-active-setting"> |
| 725 |
[% ELSE %] |
| 726 |
<div id="forgivemanualholdsexpire-alert" class="checkin-active-setting" style="display:none;"> |
| 727 |
[% END %] |
| 728 |
<p><i class="fa fa-check"></i> Fines are not charged for manually cancelled holds.</p> |
| 729 |
</div> |
| 730 |
|
| 731 |
[% IF ( dropboxmode ) %] |
| 732 |
<div id="dropboxmode" class="checkin-active-setting"> |
| 733 |
[% ELSE %] |
| 734 |
<div id="dropboxmode" class="checkin-active-setting" style="display:none;"> |
| 735 |
[% END %] |
| 736 |
<p><i class="fa fa-check"></i> Book drop mode. <span class="single-line">( Effective checkin date is [% dropboxdate | $KohaDates with_hours => 1 %] )</span></p> |
| 737 |
</div> |
| 738 |
[% IF ( return_date_override_remember ) %] |
| 739 |
<div id="return_date_remember" class="checkin-active-setting"> |
| 740 |
[% ELSE %] |
| 741 |
<div id="return_date_remember" class="checkin-active-setting" style="display:none;"> |
| 742 |
[% END %] |
| 743 |
<p><i class="fa fa-check"></i> Saved check-in date: <span id="saved_return_date" class="single-line">[% return_date_override | html %]</span></p> |
| 744 |
</div> |
| 745 |
</div> |
| 746 |
</div> |
| 747 |
|
| 748 |
<div class="circ-settings"> |
| 749 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
| 750 |
<div class="date-select" id="return_date_override_fields"> |
| 751 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
| 752 |
|
| 753 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" /> |
| 754 |
|
| 755 |
|
| 756 |
|
| 757 |
<button type="button" class="action btn btn-default btn-xs" id="cleardate" name="cleardate">Clear</button> |
| 758 |
<div class="circ-setting"> |
| 759 |
[% IF ( return_date_override_remember ) %] |
| 760 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" checked="checked" /> |
| 761 |
[% ELSE %] |
| 762 |
<input type="checkbox" id="return_date_override_remember" name="return_date_override_remember" /> |
| 763 |
[% END %] |
| 764 |
<label for="return_date_override_remember"> Remember due date for next check in</label> |
| 765 |
</div> |
| 766 |
</div> |
| 767 |
[% END %] |
| 768 |
[% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] |
| 769 |
<div id="forgive-overdue-fines" class="circ-setting"> |
| 770 |
[% IF ( exemptfine ) %] |
| 771 |
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" /> |
| 772 |
[% ELSE %] |
| 773 |
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" /> |
| 774 |
[% END %] |
| 775 |
<label for="exemptcheck">Forgive overdue charges</label> |
| 776 |
</div> |
| 777 |
[% END %] <!-- overduecharges --> |
| 778 |
<div id="book-drop-mode" class="circ-setting"> |
| 779 |
[% IF ( dropboxmode ) %] |
| 780 |
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" /> |
| 781 |
[% ELSE %] |
| 782 |
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" /> |
| 783 |
[% END %] |
| 784 |
<label for="dropboxcheck">Book drop mode</label> |
| 785 |
</div> |
| 786 |
[% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %] |
| 787 |
<div class="forgive-manual-hold-fees circ-setting"> |
| 788 |
[% IF ( forgivemanualholdsexpire ) %] |
| 789 |
<input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" /> |
| 790 |
[% ELSE %] |
| 791 |
<input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" /> |
| 792 |
[% END %] |
| 793 |
<label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label> |
| 794 |
</div> |
| 795 |
[% END %] <!-- overduecharges --> |
| 796 |
</div> <!-- /.circ-settings --> |
| 797 |
</fieldset> <!-- /#circ_returns_checkin --> |
| 798 |
</form> <!-- /#checkin-form --> |
| 799 |
|
| 800 |
[% IF ( riloop ) %] |
| 801 |
<h2>Checked-in items</h2> |
| 802 |
<table id="checkedintable"> |
| 803 |
<thead><tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-dateaccessioned">Date acquired</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr></thead> |
| 804 |
|
| 805 |
[% FOREACH riloo IN riloop %] |
| 806 |
<tr> |
| 807 |
<td class="ci-duedate">[% IF ( riloo.duedate ) %] |
| 808 |
[% IF ( riloo.return_overdue ) %] |
| 809 |
<span class="overdue">[% riloo.duedate | html %] (overdue)</span> |
| 810 |
[% ELSE %][% riloo.duedate | html %] |
| 811 |
[% END %] |
| 812 |
[% ELSE %]Not checked out |
| 813 |
[% END %] |
| 814 |
</td> |
| 815 |
<td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber | uri %]"> |
| 816 |
[% riloo.itemtitle | html %] |
| 817 |
</a> |
| 818 |
[% IF ( riloo.enumchron ) %] |
| 819 |
<br/> |
| 820 |
<span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron | html %]</span> |
| 821 |
[% END %] |
| 822 |
</td> |
| 823 |
<td class="ci-author">[% riloo.itemauthor | html %]</td> |
| 824 |
<td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber | uri %]&itemnumber=[% riloo.itemnumber | uri %]#item[% riloo.itemnumber | uri %]">[% riloo.barcode | html %]</a></td> |
| 825 |
<td class="ci-homelibrary">[% Branches.GetName( riloo.homebranch ) | html %]</td> |
| 826 |
<td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) | html %]</td> |
| 827 |
<td class="ci-shelvinglocation"><span class="shelvingloc">[% riloo.location | html %]</span></td> |
| 828 |
<td class="ci-callnumber">[% riloo.itemcallnumber | html %]</td> |
| 829 |
<td class="ci-dateaccessioned">[% riloo.dateaccessioned | $KohaDates %]</td> |
| 830 |
<td class="ci-type">[% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]</td> |
| 831 |
<td class="ci-patron">[% IF ( riloo.duedate ) %] |
| 832 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.patron.borrowernumber | uri %]"> |
| 833 |
[% riloo.patron.surname | html %], [% riloo.patron.firstname | html %] ([% riloo.patron.category.description | html %]) |
| 834 |
</a> |
| 835 |
[% IF riloo.borissuescount %] |
| 836 |
<span class="results_summary nowrap"> |
| 837 |
<span class="label">Checkouts:</span> |
| 838 |
<span class="number_box"> |
| 839 |
<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% riloo.patron.borrowernumber | uri %]">[% riloo.borissuescount | html %]</a> |
| 840 |
</span> |
| 841 |
</span> |
| 842 |
[% END %] |
| 843 |
[% ELSE %]Not checked out[% END %]</td> |
| 844 |
<td class="ci-note"> |
| 845 |
[% IF ( riloo.patron.borrowernotes ) %]<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes | html %]</p></span>[% END %] |
| 846 |
[% IF ( riloo.itemnote ) %]<p><span class="circ-hlt item-note-public">[% riloo.itemnote | html %]</p></span>[% END %] |
| 847 |
[% IF ( riloo.itemnotes_nonpublic ) %]<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</p></span>[% END %] |
| 848 |
</td> |
| 849 |
</tr> |
| 850 |
[% END %] |
| 851 |
</table> |
| 852 |
[% END %] |
| 853 |
|
938 |
|
| 854 |
[% IF Koha.Preference('CircSidebar') %] |
939 |
</main> |
| 855 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
940 |
</div> <!-- /.col-sm-12 --> |
| 856 |
<div class="col-sm-2 col-sm-pull-10"> |
941 |
</div> <!-- /.row --> |
| 857 |
<aside> |
|
|
| 858 |
[% INCLUDE 'circ-nav.inc' %] |
| 859 |
</aside> |
| 860 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
| 861 |
</div> <!-- /.row --> |
| 862 |
[% ELSE %] |
| 863 |
</div> <!-- /.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 --> |
| 864 |
</div> <!-- /.row --> |
| 865 |
[% END %] |
| 866 |
|
| 867 |
</main> |
| 868 |
</div> <!-- /.col-sm-12 --> |
| 869 |
</div> <!-- /.row --> |
| 870 |
|
942 |
|
| 871 |
[% MACRO jsinclude BLOCK %] |
943 |
[% MACRO jsinclude BLOCK %] |
| 872 |
[% INCLUDE 'datatables.inc' %] |
944 |
[% INCLUDE 'datatables.inc' %] |
| 873 |
- |
|
|