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 [% SET metacontent = '0; url=' _ scriptname _ '?booksellerid=' _ booksellerid %]
42 <META HTTP-EQUIV=Refresh CONTENT="[% metacontent %]">
44 [% IF ( booksellername ) %]
45 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a></h1>
46 <h2>Contact information</h2>
47 <p><strong>Address: </strong>
48 [% booksellerpostal %]
49 [% bookselleraddress1 %]
50 [% bookselleraddress2 %]
51 [% bookselleraddress3 %]
52 [% bookselleraddress4 %]
53 <a href="[% booksellerurl %]">[% booksellerurl %]</a>
55 <p><strong>Phone: </strong>
56 [% booksellerphone %] / Fax:
57 [% booksellerfax %]</p>
59 [% FOREACH contact IN contacts %]
60 <dt><strong>Contact: </strong></dt>
61 <dd>[% contact.name %]
62 [% contact.position %]
64 [% contact.altphone %]
70 [% IF ( booksellernotes ) %]
71 <p><strong>Notes: </strong>
72 [% booksellernotes %]</p>
76 <h2>Orders with uncertain prices</h2>
77 <form action="[% scriptname %]" method="post">
78 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
79 <label for="owner">Orders from:</label>
80 <select id="owner" name="owner">
82 <option value="0">Everyone</option>
83 <option value="1" selected="selected">me</option>
85 <option value="0" selected="selected">Everyone</option>
86 <option value="1">me</option>
89 <input type="submit" value="Filter" />
91 <form action="[% scriptname %]" method="post" id="uncertainprices">
92 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
93 <input type="hidden" name="op" value="validate" />
94 <table id="uncertainpricet">
106 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
109 [% uncertainpriceorder.basketname %]
112 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% uncertainpriceorder.biblionumber %]">[% uncertainpriceorder.title |html %]</a>
113 [% IF ( uncertainpriceorder.author ) %] <em>by</em> [% uncertainpriceorder.author %][% END %]
114 [% IF ( uncertainpriceorder.publishercode ) %]
115 <br /><em>Publisher:</em> [% uncertainpriceorder.publishercode %]
116 [%- IF ( uncertainpriceorder.publicationyear ) -%], [% uncertainpriceorder.publicationyear %]
117 [%- ELSIF ( uncertainpriceorder.copyrightdate ) -%] [% uncertainpriceorder.copyrightdate %]
120 [% IF ( uncertainpriceorder.isbn ) %]<br />[% uncertainpriceorder.isbn %][% END %]
122 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% uncertainpriceorder.basketno %]">
127 [% uncertainpriceorder.firstname %] [% uncertainpriceorder.surname %]
130 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber %]" value="1" checked="checked" />
133 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="price[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.listprice %]" />
136 [% IF basket.effective_create_items == 'ordering' %]
137 [% uncertainpriceorder.quantity %]
138 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
140 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber %]" type="text" size="10" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]" />
147 <fieldset class="action"><input type="submit" value="Save" /></fieldset>
154 [% INCLUDE 'vendor-menu.inc' %]
157 [% INCLUDE 'intranet-bottom.inc' %]