|
Line 0
Link Here
|
| 0 |
- |
1 |
[% USE KohaDates %] |
|
|
2 |
[% INCLUDE 'doc-head-open.inc' %] |
| 3 |
<title>Koha › Acquisitions › Duplicate Search</title> |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
| 6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
| 7 |
<script type="text/javascript">//<![CDATA[ |
| 8 |
$(document).ready(function(){ |
| 9 |
$(".sorted").tablesorter({ |
| 10 |
sortList: [[0,0]], |
| 11 |
headers: { 1: { sorter: false}} |
| 12 |
}).tablesorterPager({container: $(".pager"),positionFixed: false,size: 10}); |
| 13 |
});//]]> |
| 14 |
</script> |
| 15 |
<script type="text/javascript">//<![CDATA[ |
| 16 |
$(function(){ |
| 17 |
$('#alerttabs > ul').tabs(); |
| 18 |
}); //]]> |
| 19 |
</script> |
| 20 |
</head> |
| 21 |
<body id="acq_duplicatesearch" class="acq"> |
| 22 |
[% INCLUDE 'header.inc' %] |
| 23 |
[% INCLUDE 'acquisitions-search.inc' %] |
| 24 |
|
| 25 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="duplicatesearch.pl">Duplicate Search</a></div> |
| 26 |
<div id="doc3" class="yui-t2"> |
| 27 |
<div id="bd"> |
| 28 |
<div id="yui-main"> |
| 29 |
<div class="yui-b"> |
| 30 |
|
| 31 |
<h1>Duplicate Search</h1> |
| 32 |
<div id="acq_duplicatesearch"> |
| 33 |
[% IF ( result ) %] |
| 34 |
<div id="alerttabs" class="toptabs"> |
| 35 |
<ul> |
| 36 |
<li><a href="#pagerordertable">Order ([% numresults_order %])</a></li> |
| 37 |
<li><a href="#pagersuggestiontable">Suggestion ([% numresults_sugg %])</a></li> |
| 38 |
<li><a href="#pagercatalogtable">Catalog ([% numresults_bib %])</a></li> |
| 39 |
</ul> |
| 40 |
<div id="pagerordertable"> |
| 41 |
[% IF (numresults_order) %] |
| 42 |
[% INCLUDE 'table-pager.inc' perpage='10' %] |
| 43 |
<table id="ordertable" class="sorted"> |
| 44 |
[% ELSE %] |
| 45 |
<table> |
| 46 |
[% END %] |
| 47 |
<thead> |
| 48 |
<tr> |
| 49 |
<th>Basket Name</th> |
| 50 |
<th>Order Number</th> |
| 51 |
<th>Summary</th> |
| 52 |
<th>Vendor</th> |
| 53 |
</tr> |
| 54 |
</thead> |
| 55 |
[% FOREACH orders_loo IN orders_loop %] |
| 56 |
<tr> |
| 57 |
<td><a href="basket.pl?basketno=[% orders_loo.basketno %]">[% orders_loo.basketname %]</a></td> |
| 58 |
<td><a href="neworderempty.pl?ordernumber=[% orders_loo.ordernumber %]">[% orders_loo.ordernumber %]</a></td> |
| 59 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% orders_loo.biblionumber %]">[% orders_loo.title |html %]</a><br />[% orders_loo.author %]</td> |
| 60 |
<td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% orders_loo.id %]">[% orders_loo.name %]</a></td> |
| 61 |
</tr> |
| 62 |
[% END %] |
| 63 |
</table> |
| 64 |
</div> |
| 65 |
<div id="pagersuggestiontable"> |
| 66 |
<h1>Suggestion Search Results</h1> |
| 67 |
[% IF (numresults_sugg) %] |
| 68 |
[% INCLUDE 'table-pager.inc' perpage='10' %] |
| 69 |
<table id="suggestiontable" class="sorted"> |
| 70 |
[% ELSE %] |
| 71 |
<table> |
| 72 |
[% END %] |
| 73 |
<thead> |
| 74 |
<tr> |
| 75 |
<th>Title</th> |
| 76 |
<th>Author</th> |
| 77 |
<th>ISBN</th> |
| 78 |
<th>Status</th> |
| 79 |
</tr> |
| 80 |
</thead> |
| 81 |
[% FOREACH sugg_loo IN sugg_loop %] |
| 82 |
<tr> |
| 83 |
<td><a href ="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% sugg_loo.suggestionid %]&op=edit"/>[% sugg_loo.title %]</td> |
| 84 |
<td>[% sugg_loo.author %]</td> |
| 85 |
<td>[% sugg_loo.isbn %]</td> |
| 86 |
<td>[% sugg_loo.STATUS %]</td> |
| 87 |
</tr> |
| 88 |
[% END %] |
| 89 |
</table> |
| 90 |
</div> |
| 91 |
<div id="pagercatalogtable"> |
| 92 |
<h1>Catalog Search Results</h1> |
| 93 |
[% IF (numresults_bib) %] |
| 94 |
[% INCLUDE 'table-pager.inc' perpage='10' %] |
| 95 |
<table id="catalogtable" class="sorted"> |
| 96 |
[% ELSE %] |
| 97 |
<table> |
| 98 |
[% END %] |
| 99 |
<thead> |
| 100 |
<tr> |
| 101 |
<th>Title</th> |
| 102 |
<th>Author</th> |
| 103 |
<th>ISBN</th> |
| 104 |
</tr> |
| 105 |
</thead> |
| 106 |
[% FOREACH bib_loo IN bib_loop %] |
| 107 |
<tr> |
| 108 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% bib_loo.biblionumber %]">[% bib_loo.title %]</td> |
| 109 |
<td>[% bib_loo.author %]</td> |
| 110 |
<td>[% bib_loo.isbn %]</td> |
| 111 |
</tr> |
| 112 |
[% END %] |
| 113 |
</table> |
| 114 |
</div> |
| 115 |
</div> |
| 116 |
[% ELSE %] |
| 117 |
<p>No Result</p> |
| 118 |
[% END %] |
| 119 |
|
| 120 |
</div> |
| 121 |
</div> |
| 122 |
</div> |
| 123 |
<div class="yui-b"> |
| 124 |
<form name="form" action="/cgi-bin/koha/acqui/duplicatesearch.pl" method="post"> |
| 125 |
<input type="hidden" name="op" value="result" /> |
| 126 |
<fieldset class="brief"> |
| 127 |
<h4>Filter Results:</h4> |
| 128 |
<ol> |
| 129 |
<li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" size="20" /></li> |
| 130 |
<li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" size="20" /></li> |
| 131 |
<li><label for="isbn">ISBN: </label> <input type="text" name="isbn" id="isbn" value="[% isbn %]" size="20" /></li> |
| 132 |
<li><label for="title"></label><input type="hidden" name="idx" id="title" value="ti" /></li> |
| 133 |
<li><input type="hidden" name="q" id="title1" value="[% title %]" /></li> |
| 134 |
<li><label for="author"></label><input type="hidden" name="idx" id="author" value="au" /></li> |
| 135 |
<li><input type="hidden" name="q" id="author1" value="[% author %]" /></li> |
| 136 |
<li><label for="isbn"></label><input type="hidden" name="idx" id="isbn" value="nb" /></li> |
| 137 |
<input type="hidden" name="q" id="isbn1" value="[% isbn %]" /> |
| 138 |
</ol> |
| 139 |
<input type="submit" value="Search" /> <a href="/cgi-bin/koha/acqui/duplicatesearch.pl">Clear All</a> |
| 140 |
</fieldset> |
| 141 |
</form> |
| 142 |
[% INCLUDE 'acquisitions-menu.inc' %] |
| 143 |
</div> |
| 144 |
</div> |
| 145 |
[% INCLUDE 'intranet-bottom.inc' %] |