4 [% PROCESS 'i18n.inc' %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Acquisitions › [% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername | html %][% ELSE %]Orders with uncertain prices[% END %]</title>
8 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="acq_uncertainprice" class="acq">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'acquisitions-search.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
23 [% IF ( booksellername ) %]
25 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
28 <a href="#" aria-current="page">
29 Uncertain prices for vendor [% booksellername | html %]
34 <a href="#" aria-current="page">
42 <div class="main container-fluid">
44 <div class="col-sm-10 col-sm-push-2">
47 [% INCLUDE 'acquisitions-toolbar.inc' %]
49 [% SET metacontent = '0; url=' _ scriptname _ '?booksellerid=' _ booksellerid %]
50 <META HTTP-EQUIV=Refresh CONTENT="[% metacontent | html %]">
52 [% IF ( booksellername ) %]
53 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
54 <h2>Contact information</h2>
55 <p><strong>Address: </strong>
56 [% booksellerpostal | html %]
57 [% bookselleraddress1 | html %]
58 [% bookselleraddress2 | html %]
59 [% bookselleraddress3 | html %]
60 [% bookselleraddress4 | html %]
62 <p><strong>Phone: </strong>
63 [% booksellerphone | html %] / Fax:
65 [% FOREACH contact IN contacts %]
66 <dt><strong>Contact: </strong></dt>
67 <dd>[% contact.name | html %]
68 [% contact.position | html %]
69 [% contact.phone | html %]
70 [% contact.altphone | html %]
71 [% contact.email | html %]
72 [% contact.notes | html %]
76 [% IF ( booksellernotes ) %]
77 <p><strong>Notes: </strong>
78 [% booksellernotes | html %]</p>
82 <h2>Orders with uncertain prices</h2>
83 <form action="[% scriptname | html %]" method="post">
84 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
85 <label for="owner">Orders from:</label>
86 <select id="owner" name="owner">
88 <option value="0">Everyone</option>
89 <option value="1" selected="selected">me</option>
91 <option value="0" selected="selected">Everyone</option>
92 <option value="1">me</option>
95 <input type="submit" value="Filter" />
97 <form action="[% scriptname | html %]" method="post" id="uncertainprices">
98 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
99 <input type="hidden" name="op" value="validate" />
100 <table id="uncertainpricet">
104 <th>[% tp('noun', 'Order') | html %]</th>
112 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
115 [% uncertainpriceorder.basketname | html %]
118 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% uncertainpriceorder.biblionumber | uri %]">[% uncertainpriceorder.title | html %]</a>
119 [% IF ( uncertainpriceorder.author ) %] <em>by</em> [% uncertainpriceorder.author | html %][% END %]
120 [% IF ( uncertainpriceorder.publishercode ) %]
121 <br /><em>Publisher:</em> [% uncertainpriceorder.publishercode | html %]
122 [%- IF ( uncertainpriceorder.publicationyear ) -%], [% uncertainpriceorder.publicationyear | html %]
123 [%- ELSIF ( uncertainpriceorder.copyrightdate ) -%] [% uncertainpriceorder.copyrightdate | html %]
126 [% IF ( uncertainpriceorder.isbn ) %]<br />[% uncertainpriceorder.isbn | html %][% END %]
128 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber | uri %]&booksellerid=[% booksellerid | uri %]&basketno=[% uncertainpriceorder.basketno | uri %]">
133 [% uncertainpriceorder.firstname | html %] [% uncertainpriceorder.surname | html %]
136 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber | html %]" value="1" checked="checked" />
139 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber | html %]" type="text" size="10" name="price[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.listprice | html %]" />
142 [% IF basket.effective_create_items == 'ordering' %]
143 [% uncertainpriceorder.quantity | html %]
144 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.quantity | html %]" />
146 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber | html %]" type="text" size="10" name="qty[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.quantity | html %]" />
153 <fieldset class="action"><input type="submit" value="Save" /></fieldset>
158 </div> <!-- /.col-sm-10.col-sm-push-2 -->
160 <div class="col-sm-2 col-sm-pull-10">
162 [% INCLUDE 'vendor-menu.inc' %]
164 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
165 </div> <!-- /.row -->
167 [% MACRO jsinclude BLOCK %]
168 [% Asset.js("js/acquisitions-menu.js") | $raw %]
169 [% INCLUDE 'datatables.inc' %]
171 $(document).ready(function() {
172 var uncertainpricet = $("#uncertainpricet").dataTable($.extend(true, {}, dataTablesDefaults, {
174 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
176 "sPaginationType": "full"
178 $(".check_uncertain").on("change",function(){
179 var form = document.getElementById("uncertainprices");
180 var ordernumber = $(this).data("ordernumber");
181 uncheckbox( form, ordernumber );
185 [% Asset.js("js/acq.js") | $raw %]
188 [% INCLUDE 'intranet-bottom.inc' %]