1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions › Add order from a suggestion</title>
3 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/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": true }, // must be searchable for fnFilter
12 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
14 "sPaginationType": "four_button"
16 $("#show_only_mine").on('click', function(e){
18 suggestionst.fnFilter('^[% loggedinuser %]$', 0, true);
20 $("#show_all").on('click', function(e){
22 suggestionst.fnFilter('', 0 );
28 <body id="acq_newordersuggestion" class="acq">
29 [% INCLUDE 'header.inc' %]
30 [% INCLUDE 'suggestions-add-search.inc' %]
32 <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>
34 <div id="doc3" class="yui-t2">
41 [% IF ( suggestions_loop ) %]
42 <a href="#" id="show_only_mine">Show only mine</a> | <a href="#" id="show_all">Show all suggestions</a>
43 <table id="suggestionst">
54 [% FOREACH suggestions_loo IN suggestions_loop %]
56 <td>[% suggestions_loo.managedby %]</td>
58 <p>[% suggestions_loo.title |html %] - [% suggestions_loo.author %]</p>
60 [% IF ( suggestions_loo.copyrightdate ) %]© [% suggestions_loo.copyrightdate %] [% END %]
61 [% IF ( suggestions_loo.volumedesc ) %]volume: <i>[% suggestions_loo.volumedesc %]</i> [% END %]
62 [% IF ( suggestions_loo.isbn ) %]ISBN: <i>[% suggestions_loo.isbn %]</i> [% END %]
63 [% IF ( suggestions_loo.publishercode ) %]<br />published by: [% suggestions_loo.publishercode %] [% END %]
64 [% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear %]</i> [% END %]
65 [% IF ( suggestions_loo.place ) %] in <i>[% suggestions_loo.place %]</i> [% END %]
66 [% IF ( suggestions_loo.note ) %]<p><i>([% suggestions_loo.note %])</i></p> [% END %]
70 [% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %],[% END %] [% suggestions_loo.firstnamesuggestedby %]
73 [% suggestions_loo.surnamemanagedby %][% IF ( suggestions_loo.firstnamemanagedby ) %],[% END %] [% suggestions_loo.firstnamemanagedby %]
76 [% IF ( suggestions_loo.biblionumber ) %]
77 <a href="neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&suggestionid=[% suggestions_loo.suggestionid %]&biblio=[% suggestions_loo.biblionumber %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Order</a>
79 <a href="neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&suggestionid=[% suggestions_loo.suggestionid %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Order</a>
87 There are no outstanding (accepted) suggestions.
92 [% INCLUDE 'acquisitions-menu.inc' %]
95 [% INCLUDE 'intranet-bottom.inc' %]