3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Acquisitions › [% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername %][% ELSE %]Orders with uncertain prices[% END %]</title>
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="acq_uncertainprice" class="acq">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'acquisitions-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › [% IF ( booksellername ) %]<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> › Uncertain prices for vendor [% booksellername %][% ELSE %]Uncertain prices[% END %]</div>
15 <div id="doc3" class="yui-t2">
21 [% INCLUDE 'acquisitions-toolbar.inc' %]
23 [% SET metacontent = '0; url=' _ scriptname _ '?booksellerid=' _ booksellerid %]
24 <META HTTP-EQUIV=Refresh CONTENT="[% metacontent %]">
26 [% IF ( booksellername ) %]
27 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
28 <h2>Contact information</h2>
29 <p><strong>Address: </strong>
30 [% booksellerpostal %]
31 [% bookselleraddress1 %]
32 [% bookselleraddress2 %]
33 [% bookselleraddress3 %]
34 [% bookselleraddress4 %]
35 <a href="[% booksellerurl %]">[% booksellerurl %]</a>
37 <p><strong>Phone: </strong>
38 [% booksellerphone %] / Fax:
39 [% booksellerfax %]</p>
41 [% FOREACH contact IN contacts %]
42 <dt><strong>Contact: </strong></dt>
43 <dd>[% contact.name %]
44 [% contact.position %]
46 [% contact.altphone %]
52 [% IF ( booksellernotes ) %]
53 <p><strong>Notes: </strong>
54 [% booksellernotes %]</p>
58 <h2>Orders with uncertain prices</h2>
59 <form action="[% scriptname %]" method="post">
60 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
61 <label for="owner">Orders from:</label>
62 <select id="owner" name="owner">
64 <option value="0">Everyone</option>
65 <option value="1" selected="selected">me</option>
67 <option value="0" selected="selected">Everyone</option>
68 <option value="1">me</option>
71 <input type="submit" value="Filter" />
73 <form action="[% scriptname %]" method="post" id="uncertainprices">
74 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
75 <input type="hidden" name="op" value="validate" />
76 <table id="uncertainpricet">
88 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
91 [% uncertainpriceorder.basketname %]
94 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% uncertainpriceorder.biblionumber %]">[% uncertainpriceorder.title |html %]</a>
95 [% IF ( uncertainpriceorder.author ) %] <em>by</em> [% uncertainpriceorder.author %][% END %]
96 [% IF ( uncertainpriceorder.publishercode ) %]
97 <br /><em>Publisher:</em> [% uncertainpriceorder.publishercode %]
98 [%- IF ( uncertainpriceorder.publicationyear ) -%], [% uncertainpriceorder.publicationyear %]
99 [%- ELSIF ( uncertainpriceorder.copyrightdate ) -%] [% uncertainpriceorder.copyrightdate %]
102 [% IF ( uncertainpriceorder.isbn ) %]<br />[% uncertainpriceorder.isbn %][% END %]
104 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% uncertainpriceorder.basketno %]">
109 [% uncertainpriceorder.firstname %] [% uncertainpriceorder.surname %]
112 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber %]" value="1" checked="checked" />
115 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="price[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.listprice %]" />
118 [% IF basket.effective_create_items == 'ordering' %]
119 [% uncertainpriceorder.quantity %]
120 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
122 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
129 <fieldset class="action"><input type="submit" value="Save" /></fieldset>
136 [% INCLUDE 'vendor-menu.inc' %]
140 [% MACRO jsinclude BLOCK %]
141 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
142 [% INCLUDE 'datatables.inc' %]
143 <script type="text/javascript">
144 $(document).ready(function() {
145 var uncertainpricet = $("#uncertainpricet").dataTable($.extend(true, {}, dataTablesDefaults, {
147 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
149 "sPaginationType": "four_button"
151 $(".check_uncertain").on("change",function(){
152 var form = document.getElementById("uncertainprices");
153 var ordernumber = $(this).data("ordernumber");
154 uncheckbox( form, ordernumber );
157 var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!");
159 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
162 [% INCLUDE 'intranet-bottom.inc' %]