Bug 7720: add options for controlling display of an item's home and/or holdings location
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / newordersuggestion.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Acquisitions &rsaquo; 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">
7 //<![CDATA[
8  $(document).ready(function() {
9     var suggestionst = $("#suggestionst").dataTable($.extend(true, {}, dataTablesDefaults, {
10         "aoColumnDefs": [
11             { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
12         ],
13         "sPaginationType": "four_button"
14     } ) );
15  });
16  //]]>
17 </script>
18 </head>
19 <body id="acq_newordersuggestion" class="acq">
20 [% INCLUDE 'header.inc' %]
21 [% INCLUDE 'suggestions-add-search.inc' %]
22
23 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> &rsaquo; Add order from a suggestion</div>
24
25 <div id="doc3" class="yui-t2">
26    
27    <div id="bd">
28         <div id="yui-main">
29         <div class="yui-b">
30         
31 <h1>Suggestions</h1>
32     [% IF ( suggestions_loop ) %]
33     <table id="suggestionst">
34         <thead>
35         <tr>
36             <th>Suggestion</th>
37             <th>Suggested by</th>
38             <th>Accepted by</th>
39             <th>&nbsp;</th>
40         </tr>
41         </thead>
42         <tbody>
43         [% FOREACH suggestions_loo IN suggestions_loop %]
44             <tr>
45                 <td>
46                     <p>[% suggestions_loo.title |html %] - [% suggestions_loo.author %]</p>
47                     <p>
48                         [% IF ( suggestions_loo.copyrightdate ) %]copy. year:[% suggestions_loo.copyrightdate %] [% END %]
49                         [% IF ( suggestions_loo.volumedesc ) %]volume:<i>[% suggestions_loo.volumedesc %]</i> [% END %]
50                         [% IF ( suggestions_loo.isbn ) %]ISBN :<i>[% suggestions_loo.isbn %]</i> [% END %]
51                         [% IF ( suggestions_loo.publishercode ) %]<br />published by:[% suggestions_loo.publishercode %] [% END %]
52                         [% IF ( suggestions_loo.publicationyear ) %] in <i>[% suggestions_loo.publicationyear %]</i> [% END %]
53                         [% IF ( suggestions_loo.place ) %] at <i>[% suggestions_loo.place %]</i> [% END %]
54                         [% IF ( suggestions_loo.note ) %]<p><i>([% suggestions_loo.note %])</i></p> [% END %]
55                     </p>
56                 </td>
57                 <td>
58                     [% suggestions_loo.surnamesuggestedby %][% IF ( suggestions_loo.firstnamesuggestedby ) %],[% END %] [% suggestions_loo.firstnamesuggestedby %]
59                 </td>
60                 <td>
61                     [% suggestions_loo.surnamemanagedby %][% IF ( suggestions_loo.firstnamemanagedby ) %],[% END %] [% suggestions_loo.firstnamemanagedby %]
62                 </td>
63                 <td>
64                     [% IF ( suggestions_loo.biblionumber ) %]
65                         <a href="neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]&amp;biblio=[% suggestions_loo.biblionumber %]" class="button">Order</a>
66                     [% ELSE %]
67                         <a href="neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;suggestionid=[% suggestions_loo.suggestionid %]" class="button">Order</a>
68                     [% END %]
69                 </td>
70             </tr>
71         [% END %]
72         </tbody>
73     </table>
74     [% ELSE %]
75         There are no outstanding (accepted) suggestions.
76     [% END %]
77 </div>
78 </div>
79 <div class="yui-b">
80 [% INCLUDE 'acquisitions-menu.inc' %]
81 </div>
82 </div>
83 [% INCLUDE 'intranet-bottom.inc' %]