1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions › Add order from a suggestion</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% INCLUDE 'datatables.inc' %]
6 <script type="text/javascript">
8 $(document).ready(function() {
9 var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, {
11 { "aTargets": [ 0 ], "bVisible": false, "bSearchable": false },
12 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
14 "sPaginationType": "four_button"
16 $("#show_only_mine").on('click', function(){
17 suggestionst.fnFilter('^[% loggedinuser %]$', 0, true);
19 $("#show_all").on('click', function(){
20 suggestionst.fnFilter('', 0 );
26 <body id="acq_newordersuggestion" class="acq">
27 [% INCLUDE 'header.inc' %]
28 [% INCLUDE 'suggestions-add-search.inc' %]
30 <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> › Add order from a suggestion</div>
32 <div id="doc3" class="yui-t2">
39 [% IF ( suggestions_loop ) %]
40 <a href="#" id="show_only_mine">Show only mine</a> | <a href="#" id="show_all">Show all suggestions</a>
41 <table id="suggestionst">
52 [% FOREACH suggestions_loo IN suggestions_loop %]
54 <td>[% suggestions_loo.managedby %]</td>
56 <p>[% suggestions_loo.title |html %] - [% suggestions_loo.author %]</p>
58 [% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate %] [% END %]
59 [% IF ( suggestions_loo.volumedesc ) %]volume: <i>[% suggestions_loo.volumedesc %]</i> [% END %]
60 [% IF ( suggestions_loo.isbn ) %]ISBN: <i>[% suggestions_loo.isbn %]</i> [% END %]
61 [% IF ( suggestions_loo.publishercode ) %]<br />published by: [% suggestions_loo.publishercode %] [% END %]
62 [% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear %]</i> [% END %]
63 [% IF ( suggestions_loo.place ) %] in <i>[% suggestions_loo.place %]</i> [% END %]
64 [% IF ( suggestions_loo.note ) %]<p><i>([% suggestions_loo.note %])</i></p> [% END %]
68 [% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %],[% END %] [% suggestions_loo.firstnamesuggestedby %]
71 [% suggestions_loo.surnamemanagedby %][% IF ( suggestions_loo.firstnamemanagedby ) %],[% END %] [% suggestions_loo.firstnamemanagedby %]
74 [% IF ( suggestions_loo.biblionumber ) %]
75 <a href="neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&suggestionid=[% suggestions_loo.suggestionid %]&biblio=[% suggestions_loo.biblionumber %]" class="button">Order</a>
77 <a href="neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&suggestionid=[% suggestions_loo.suggestionid %]" class="button">Order</a>
85 There are no outstanding (accepted) suggestions.
90 [% INCLUDE 'acquisitions-menu.inc' %]
93 [% INCLUDE 'intranet-bottom.inc' %]