Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
208 lines
11 KiB
Text
208 lines
11 KiB
Text
[% USE Koha %]
|
|
[% USE ItemTypes %]
|
|
[% USE AuthorisedValues %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Circulation › Transfers</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="circ_branchtransfers" class="circ">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'circ-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Transfers</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
[% IF ( found ) %]
|
|
<div class="yui-g"> <h3>Reserve found</h3>
|
|
<table>
|
|
<caption>
|
|
[% IF ( reserved ) %]
|
|
Reserve found for [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
|
|
[% END %]
|
|
[% IF ( waiting ) %]
|
|
Item is marked waiting at [% branchname %] for [% name %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowernumber %]</a>).
|
|
[% END %]
|
|
</caption>
|
|
<tr>
|
|
<th>
|
|
[% IF ( reserved ) %]Set reserve to waiting and transfer book to [% branchname %]: [% END %]
|
|
[% IF ( waiting ) %]Cancel reservation and then attempt transfer: [% END %]
|
|
</th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
|
|
[% FOREACH trsfitemloo IN trsfitemloop %]
|
|
<input type="hidden" name="bc-[% trsfitemloo.counter %]" value="[% trsfitemloo.barcode %]" />
|
|
<input type="hidden" name="fb-[% trsfitemloo.counter %]" value="[% trsfitemloo.frombrcd %]" />
|
|
<input type="hidden" name="tb-[% trsfitemloo.counter %]" value="[% trsfitemloo.tobrcd %]" />
|
|
[% END %]
|
|
<input type="hidden" name="itemnumber" value="[% itemnumber %]" />
|
|
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
|
|
[% IF ( waiting ) %]
|
|
<input type="hidden" name="barcode" value="[% barcode %]" />
|
|
<input type="hidden" name="request" value="KillWaiting" />
|
|
<input type="submit" value="Cancel" />
|
|
[% END %]
|
|
[% IF ( reserved ) %]
|
|
<input type="hidden" name="request" value="SetWaiting" />
|
|
<input type="submit" value="Waiting" />
|
|
[% END %]
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
[% IF ( reserved ) %]
|
|
<tr>
|
|
<th>Cancel reservation and then attempt transfer:</th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
|
|
[% FOREACH trsfitemloo IN trsfitemloop %]
|
|
<input type="hidden" name="bc-[% trsfitemloo.counter %]" value="[% trsfitemloo.barcode %]" />
|
|
<input type="hidden" name="fb-[% trsfitemloo.counter %]" value="[% trsfitemloo.frombrcd %]" />
|
|
<input type="hidden" name="tb-[% trsfitemloo.counter %]" value="[% trsfitemloo.tobrcd %]" />
|
|
[% END %]
|
|
<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
|
|
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
|
|
<input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
|
|
<input type="hidden" name="barcode" value="[% barcode %]" />
|
|
<input type="hidden" name="request" value="KillReserved" />
|
|
<input type="submit" value="Cancel" />
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
<tr>
|
|
<th>Ignore and return to transfers: </th>
|
|
<td>
|
|
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl" />
|
|
<input type="hidden" name="tobranchcd" value="[% tobranchcd %]" />
|
|
<input type="hidden" name="barcode" />
|
|
[% FOREACH trsfitemloo IN trsfitemloop %]
|
|
<input type="hidden" name="bc-[% trsfitemloo.counter %]" value="[% trsfitemloo.barcode %]" />
|
|
<input type="hidden" name="fb-[% trsfitemloo.counter %]" value="[% trsfitemloo.frombrcd %]" />
|
|
<input type="hidden" name="tb-[% trsfitemloo.counter %]" value="[% trsfitemloo.tobrcd %]" />
|
|
[% END %]
|
|
<input type="submit" value="Ignore" />
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table></div>
|
|
|
|
[% ELSE %]
|
|
[% IF ( reqmessage ) %]
|
|
<div class="dialog message">
|
|
<ul>
|
|
[% IF ( cancelled ) %]
|
|
<li>Reserve cancelled</li>
|
|
[% END %]
|
|
[% IF ( setwaiting ) %]
|
|
<li>Item should now be waiting at library: [% reqbrchname %]</li>
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
[% END %]
|
|
|
|
[% IF ( errmsgloop ) %]
|
|
<div class="dialog message">
|
|
<ul>
|
|
[% FOREACH errmsgloo IN errmsgloop %]
|
|
[% IF ( errmsgloo.errbadcode ) %]
|
|
<li>No Item with barcode: [% errmsgloo.msg %]</li>
|
|
[% END %]
|
|
[% IF ( errmsgloo.errispermanent ) %]
|
|
<li>Please return item to home library: [% errmsgloo.msg %]</li>
|
|
[% END %]
|
|
[% IF ( errmsgloo.errnotallowed ) %]
|
|
<li>Transfer is not allowed for:
|
|
<ol>
|
|
[% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
|
|
<li>Item type: <b>[% ItemTypes.GetDescription( errmsgloo.code ) %]</b></li>
|
|
[% ELSE %]
|
|
<li>Collection code: <b>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) %]</b></li>
|
|
[% END %]
|
|
<li>Destination library: <b>[% errmsgloo.tbr %]</b></li>
|
|
</ol>
|
|
</li>
|
|
[% END %]
|
|
[% IF ( errmsgloo.errdesteqholding ) %]
|
|
<li>Item is already at destination library.</li>
|
|
[% END %]
|
|
[% IF ( errmsgloo.errwasreturned ) %]
|
|
<li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.borrowernumber %]">
|
|
[% errmsgloo.firstname %] [% errmsgloo.surname %]
|
|
([% errmsgloo.cardnumber %])</a> and has been returned.</li>
|
|
[% END %]
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
[% END %]
|
|
|
|
<div id="branchtransfers">
|
|
<form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
|
|
<fieldset class="brief">
|
|
<legend>Transfer</legend>
|
|
<ol>
|
|
<li>
|
|
<label for="tobranchcd">Destination library: </label>
|
|
<select name="tobranchcd" id="tobranchcd">
|
|
[% FOREACH branchoptionloo IN branchoptionloop %]
|
|
[% IF ( branchoptionloo.selected ) %]
|
|
<option value="[% branchoptionloo.value %]" selected="selected">
|
|
[% ELSE %]
|
|
<option value="[% branchoptionloo.value %]">
|
|
[% END %]
|
|
[% branchoptionloo.branchname %]
|
|
</option>
|
|
[% END %]
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label for="barcode">Enter barcode: </label>
|
|
<input name="barcode" id="barcode" size="15" class="focus" /> <input type="submit" value="Submit" />
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<input type="hidden" name="tobranchcd" value="[% tobrancd %]" />
|
|
[% FOREACH trsfitemloo IN trsfitemloop %]
|
|
<input type="hidden" name="bc-[% trsfitemloo.counter %]" value="[% trsfitemloo.barcode %]" />
|
|
<input type="hidden" name="fb-[% trsfitemloo.counter %]" value="[% trsfitemloo.frombrcd %]" />
|
|
<input type="hidden" name="tb-[% trsfitemloo.counter %]" value="[% trsfitemloo.tobrcd %]" />
|
|
[% END %]
|
|
</form></div>
|
|
</div>
|
|
|
|
[% IF ( trsfitemloop ) %]
|
|
<div class="yui-g">
|
|
<table>
|
|
<caption>Transferred items</caption>
|
|
<tr>
|
|
<th class="tf-title">Title</th>
|
|
<th class="tf-author">Author</th>
|
|
<th class="tf-barcode">Barcode</th>
|
|
<th class="tf-location">Shelving location</th>
|
|
<th class="tf-itemcallnumber">Call number</th>
|
|
<th class="tf-itemtype">Item type</th>
|
|
<th class="tf-ccode">Collection code</th>
|
|
<th class="tf-destination">Destination</th>
|
|
</tr>
|
|
[% FOREACH trsfitemloo IN trsfitemloop %]
|
|
<tr>
|
|
<td class="tf-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% trsfitemloo.biblionumber %]">[% trsfitemloo.title |html %]</a></td>
|
|
<td class="tf-author">[% trsfitemloo.author %]</td>
|
|
<td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.biblionumber %]&itemnumber=[% trsfitemloo.itemnumber %]#item[% trsfitemloo.itemnumber %]">[% trsfitemloo.barcode %]</a></td>
|
|
<td class="tf-location">[% trsfitemloo.location %]</td>
|
|
<td class="tf-itemcallnumber">[% trsfitemloo.itemcallnumber %]</td>
|
|
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.itemtype ) %]</td>
|
|
<td class="tf-ccode">[% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %]</td>
|
|
<td class="tf-destination">[% trsfitemloo.tobrname %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
[% END %]
|
|
|
|
|
|
[% END %]
|
|
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|