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"
17 var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!");
20 <script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
21 <script type="text/javascript">
23 function check(form) {
29 <body id="acq_uncertainprice" class="acq">
30 [% INCLUDE 'header.inc' %]
31 [% INCLUDE 'acquisitions-search.inc' %]
33 <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>
35 <div id="doc3" class="yui-t2">
41 [% INCLUDE 'acquisitions-toolbar.inc' %]
43 <META HTTP-EQUIV=Refresh CONTENT="0; url=[% scriptname %]?booksellerid=[% booksellerid %]">
45 [% IF ( booksellername ) %]
46 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
47 <h2>Contact information</h2>
48 <p><strong>Address: </strong>
49 [% booksellerpostal %]
50 [% bookselleraddress1 %]
51 [% bookselleraddress2 %]
52 [% bookselleraddress3 %]
53 [% bookselleraddress4 %]
54 <a href="[% booksellerurl %]">[% booksellerurl %]</a>
56 <p><strong>Phone: </strong>
57 [% booksellerphone %] / Fax:
58 [% booksellerfax %]</p>
60 [% FOREACH contact IN contacts %]
61 <dt><strong>Contact: </strong></dt>
62 <dd>[% contact.name %]
63 [% contact.position %]
65 [% contact.altphone %]
71 [% IF ( booksellernotes ) %]
72 <p><strong>Notes: </strong>
73 [% booksellernotes %]</p>
77 <h2>Orders with uncertain prices</h2>
78 <form action="[% scriptname %]" method="post" name="uncertainprices">
79 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
83 <option value="0">Everyone</option>
84 <option value="1" selected="selected">me</option>
86 <option value="0" selected="selected">Everyone</option>
87 <option value="1">me</option>
90 <input type="submit" value="Filter" />
92 <form action="[% scriptname %]" method="post" name="uncertainprices">
93 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
94 <input type="hidden" name="op" value="validate" />
95 <table id="uncertainpricet">
107 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
110 [% uncertainpriceorder.basketname %]
113 [% uncertainpriceorder.bibtitle %] / [% uncertainpriceorder.bibauthor %] <br /> [% uncertainpriceorder.bibpublishercode %], [% uncertainpriceorder.bibpublicationyear %]<br />[% uncertainpriceorder.bibisbn %]<br />
114 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% uncertainpriceorder.basketno %]">
119 [% uncertainpriceorder.firstname %] [% uncertainpriceorder.surname %]
122 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber %]" value="1" checked="checked" />
125 <input type="text" size="10" name="price[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.listprice %]"
126 onchange="uncheckbox(this.form, [% uncertainpriceorder.ordernumber %]);" />
130 [% IF Koha.Preference('AcqCreateItem') == 'ordering' %]
131 [% uncertainpriceorder.quantity %]
132 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
134 <input type="text" size="10" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]"
135 onchange="uncheckbox(this.form, [% uncertainpriceorder.ordernumber %]);" />
142 <fieldset class="action"><input type="button" value="Save" onclick="check(this.form)" /></fieldset>
149 [% INCLUDE 'vendor-menu.inc' %]
152 [% INCLUDE 'intranet-bottom.inc' %]