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
139 lines
5.5 KiB
Text
139 lines
5.5 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Acquisitions › Transfer order</title>
|
|
[%- USE KohaDates -%]
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<style type="text/css">
|
|
#custom-doc { width:44.46em;*width:43.39em;min-width:578px; margin:auto; text-align:left; }
|
|
</style>
|
|
[% IF transferred %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
opener.location.reload();
|
|
window.close();
|
|
//]]>
|
|
</script>
|
|
[% END %]
|
|
|
|
[% IF ( bookselleridfrom ) %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function confirmtransfer() {
|
|
return confirm( _("Transfer order to this basket?") );
|
|
}
|
|
//]]>
|
|
</script>
|
|
[% END %]
|
|
|
|
|
|
</head>
|
|
<body id="acq_transferorder" class="acq">
|
|
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
<div class="yui-g">
|
|
[% IF ( bookselleridfrom ) %]
|
|
<h3>Search for a vendor to transfer to</h3>
|
|
<div class="transferinfo">
|
|
<ul>
|
|
<li><span class="label">From vendor: </span>[% booksellerfromname %]</li>
|
|
<li><span class="label">Basket: </span>[% basketfromname %]</li>
|
|
<li><span class="label">Order: </span>[% ordernumber %]</li>
|
|
</ol>
|
|
</div>
|
|
[% ELSE %]
|
|
<h3>Search for a vendor to transfer from</h3>
|
|
[% END %]
|
|
<form method="get" action="transferorder.pl">
|
|
<fieldset>
|
|
<input type="hidden" name="op" value="do_search" />
|
|
[% IF ( ordernumber ) %]
|
|
<input type="hidden" name="ordernumber" value="[% ordernumber %]" />
|
|
[% END %]
|
|
[% IF ( bookselleridfrom ) %]
|
|
<input type="hidden" name="bookselleridfrom" value="[% bookselleridfrom %]" />
|
|
[% END %]
|
|
<label for="query">Vendor:</label>
|
|
<input type="text" name="query" />
|
|
<input type="submit" value="Search" />
|
|
</fieldset>
|
|
</form>
|
|
[% IF ( show_baskets ) %]
|
|
<h3>Baskets for [% booksellertoname %]</h3>
|
|
[% IF ( basketsloop ) %]
|
|
<table>
|
|
<thead>
|
|
<th>Basket (#)</th>
|
|
<th>Created by</th>
|
|
<th>Date</th>
|
|
<th> </th>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH basket IN basketsloop %]
|
|
<tr>
|
|
<td>[% basket.basketname %] (#[% basket.basketno %])</td>
|
|
<td>[% basket.createdby %]</td>
|
|
<td>[% basket.creationdate | $KohaDates %]</td>
|
|
<td><a href="transferorder.pl?basketno=[% basket.basketno %]&ordernumber=[% ordernumber %]" onclick="return confirmtransfer();">Choose</a>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<p>There are no open baskets for this vendor.</p>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( ordersloop ) %]
|
|
<h3>Orders for [% booksellerfromname %]</h3>
|
|
<table>
|
|
<thead>
|
|
<th>Order</th>
|
|
<th>Summary</th>
|
|
<th> </th>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH ordersloo IN ordersloop %]
|
|
<tr>
|
|
<td><a href="neworderempty.pl?ordernumber=[% ordersloo.ordernumber %]">[% ordersloo.ordernumber %]</a></td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber %]">[% ordersloo.title |html %]</a>
|
|
[% IF ( ordersloo.author ) %] by [% ordersloo.author %][% END %]
|
|
[% IF ( ordersloo.isbn ) %] – [% ordersloo.isbn %][% END %]
|
|
[% IF ( ordersloo.publishercode ) %]<br />Publisher :[% ordersloo.publishercode %][% END %]
|
|
</td>
|
|
<td><a href="transferorder.pl?bookselleridfrom=[% ordersloo.bookselleridfrom %]&ordernumber=[% ordersloo.ordernumber %]">Transfer</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
[% END %]
|
|
[% IF ( do_search ) %]
|
|
[% IF ( bookselleridfrom ) %]
|
|
<h3>Choose a vendor to transfer to</h3>
|
|
[% ELSE %]
|
|
<h3>Choose a vendor to transfer from</h3>
|
|
[% END %]
|
|
[% IF ( booksellersloop ) %]
|
|
<table>
|
|
<thead>
|
|
<th>Name</th>
|
|
<th> </th>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH bookseller IN booksellersloop %]
|
|
<tr>
|
|
<td>[% bookseller.name %]</td>
|
|
<td><a href="transferorder.pl?[% IF (bookselleridfrom) %]bookselleridto[% ELSE %]bookselleridfrom[% END %]=[% bookseller.id %][% IF (ordernumber) %]&ordernumber=[% ordernumber %][% END %]">Choose</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
[% ELSE %]
|
|
<p>No results found.</p>
|
|
[% END %]
|
|
[% END %]
|
|
</div>
|
|
|
|
<div id="closewindow"><a href="#" class="close">Cancel</a></div>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|