2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Acquisitions › [% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername %][% ELSE %]Orders with uncertain prices[% END %]</title>
4 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
9 $(document).ready(function() {
10 var uncertainpricet = $("#uncertainpricet").dataTable($.extend(true, {}, dataTablesDefaults, {
12 { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
14 "sPaginationType": "four_button"
16 $(".check_uncertain").on("change",function(){
17 var form = document.getElementById("uncertainprices");
18 var ordernumber = $(this).data("ordernumber");
19 uncheckbox( form, ordernumber );
22 var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!");
25 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq.js"></script>
27 <body id="acq_uncertainprice" class="acq">
28 [% INCLUDE 'header.inc' %]
29 [% INCLUDE 'acquisitions-search.inc' %]
31 <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>
33 <div id="doc3" class="yui-t2">
39 [% INCLUDE 'acquisitions-toolbar.inc' %]
41 <META HTTP-EQUIV=Refresh CONTENT="0; url=[% scriptname %]?booksellerid=[% booksellerid %]">
43 [% IF ( booksellername ) %]
44 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
45 <h2>Contact information</h2>
46 <p><strong>Address: </strong>
47 [% booksellerpostal %]
48 [% bookselleraddress1 %]
49 [% bookselleraddress2 %]
50 [% bookselleraddress3 %]
51 [% bookselleraddress4 %]
52 <a href="[% booksellerurl %]">[% booksellerurl %]</a>
54 <p><strong>Phone: </strong>
55 [% booksellerphone %] / Fax:
56 [% booksellerfax %]</p>
58 [% FOREACH contact IN contacts %]
59 <dt><strong>Contact: </strong></dt>
60 <dd>[% contact.name %]
61 [% contact.position %]
63 [% contact.altphone %]
69 [% IF ( booksellernotes ) %]
70 <p><strong>Notes: </strong>
71 [% booksellernotes %]</p>
75 <h2>Orders with uncertain prices</h2>
76 <form action="[% scriptname %]" method="post">
77 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
78 <label for="owner">Orders from:</label>
79 <select id="owner" name="owner">
81 <option value="0">Everyone</option>
82 <option value="1" selected="selected">me</option>
84 <option value="0" selected="selected">Everyone</option>
85 <option value="1">me</option>
88 <input type="submit" value="Filter" />
90 <form action="[% scriptname %]" method="post" id="uncertainprices">
91 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
92 <input type="hidden" name="op" value="validate" />
93 <table id="uncertainpricet">
105 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
108 [% uncertainpriceorder.basketname %]
111 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% uncertainpriceorder.biblionumber %]">[% uncertainpriceorder.title |html %]</a>
112 [% IF ( uncertainpriceorder.author ) %] <em>by</em> [% uncertainpriceorder.author %][% END %]
113 [% IF ( uncertainpriceorder.publishercode ) %]
114 <br /><em>Publisher:</em> [% uncertainpriceorder.publishercode %]
115 [%- IF ( uncertainpriceorder.publicationyear ) -%], [% uncertainpriceorder.publicationyear %]
116 [%- ELSIF ( uncertainpriceorder.copyrightdate ) -%] [% uncertainpriceorder.copyrightdate %]
119 [% IF ( uncertainpriceorder.isbn ) %]<br />[% uncertainpriceorder.isbn %][% END %]
121 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% uncertainpriceorder.basketno %]">
126 [% uncertainpriceorder.firstname %] [% uncertainpriceorder.surname %]
129 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber %]" value="1" checked="checked" />
132 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="price[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.listprice %]" />
135 [% IF Koha.Preference('AcqCreateItem') == 'ordering' %]
136 [% uncertainpriceorder.quantity %]
137 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
139 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
146 <fieldset class="action"><input type="submit" value="Save" /></fieldset>
153 [% INCLUDE 'vendor-menu.inc' %]
156 [% INCLUDE 'intranet-bottom.inc' %]