2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Acquisitions › Search existing records</title>
4 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
5 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="acq_neworderbiblio" class="acq">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'acquisitions-search.inc' %]
12 <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="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> › Search existing records</div>
14 <div id="doc3" class="yui-t2">
20 <h1>Search existing records</h1>
24 <b>[% total %] results found </b>
25 <div class="pages">[% pagination_bar %]</div>
27 <h3> No results found</h3>
29 No results match your search for <span style="font-weight: bold;">“[% query %]”</span> in [% LibraryName %]
33 [% IF ( query_error ) %]
34 <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
38 <div class="searchresults">
50 [% FOREACH biblio IN resultsloop %]
53 <p><span class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title | html %]</a></span>
54 [% FOREACH subtitle IN biblio.subtitles %] <span class="subtitle">[% subtitle.subfield %]</span>[% END %]
55 [% IF ( biblio.author ) %] by <span class="author">[% biblio.author %]</span>,[% END %]</p>
56 <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
57 [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
58 [% IF ( biblio.notes ) %] : [% biblio.notes %][% END %]
59 [% IF ( biblio.size ) %] ; [% biblio.size %][% END %]
63 [% biblio.publishercode %]
64 [% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
67 [% biblio.copyrightdate %]
70 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber %]&viewas=html" class="previewMARC">View MARC</a>
73 <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% biblio.biblionumber %]" title="Order this one">
81 <div id="marcPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
82 <div class="modal-dialog">
83 <div class="modal-content">
84 <div class="modal-header">
85 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
86 <h3 id="marcPreviewLabel">MARC preview</h3>
88 <div class="modal-body">
89 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
91 <div class="modal-footer">
92 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
100 [% INCLUDE 'acquisitions-add-to-basket.inc' %]
105 [% INCLUDE 'acquisitions-menu.inc' %]
109 [% MACRO jsinclude BLOCK %]
110 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
111 [% INCLUDE 'datatables.inc' %]
112 <script type="text/javascript">
113 $(document).ready(function() {
114 var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
121 $(".previewMARC").on("click", function(e){
123 var ltitle = $(this).text();
124 var page = $(this).attr("href");
125 $("#marcPreviewLabel").text(ltitle);
126 $("#marcPreview .modal-body").load(page + " table");
127 $('#marcPreview').modal({show:true});
129 $("#marcPreview").on("hidden", function(){
130 $("#marcPreviewLabel").html("");
131 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
137 [% INCLUDE 'intranet-bottom.inc' %]