Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tt / intranet-tmpl / prog / en / modules / acqui / uncertainprice.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Orders with uncertain prices for Vendor [% booksellername %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
5 <script type="text/javascript">
6 //<![CDATA[
7 function check(form) {
8     form.submit();
9 }
10 //]]>
11 </script>
12 </head>
13 <body>
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'acquisitions-search.inc' %]
16
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo;<a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; Uncertain prices for vendor: [% booksellername %]</div>
18
19 <div id="doc" class="yui-t7">
20    <div id="bd">
21         <div id="yui-main">
22         [% IF ( validate ) %]
23             <META HTTP-EQUIV=Refresh CONTENT="0; url=[% scriptname %]?booksellerid=[% booksellerid %]">
24         [% ELSE %]
25         <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]">[% booksellername %]</a> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]&amp;op=enter">(edit)</a></h1>
26         <h2>Contact information</h2>
27         <p><strong>Address: </strong>
28             [% booksellerpostal %]
29             [% bookselleraddress1 %]
30             [% bookselleraddress2 %]
31             [% bookselleraddress3 %]
32             [% bookselleraddress4 %]
33             <a href="[% booksellerurl %]">[% booksellerurl %]</a>
34         </p>
35         <p><strong>Phone: </strong>
36             [% booksellerphone %] / Fax:
37             [% booksellerfax %]</p>
38         <dl>
39             <dt><strong>Contact: </strong></dt>
40             <dd>[% booksellercontact %]
41             [% booksellercontpos %]
42             [% booksellercontphone %]
43             [% booksellercontaltphone %]
44             [% booksellercontemail %]
45             [% booksellercontnotes %]
46             </dd>
47         </dl>
48         [% IF ( booksellernotes ) %]
49         <p><strong>Notes: </strong>
50             [% booksellernotes %]</p>
51         [% END %]
52         <h2>Orders with uncertain prices</h2>
53         <form action="[% scriptname %]" method="post" name="uncertainprices">
54         <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
55         <input type="hidden" name="op" value="validate" />
56         Orders from:
57         <select name="owner">
58             [% IF ( owner ) %]
59             <option value="0">Everyone</option>
60             <option value="1" selected="selected">me</option>
61             [% ELSE %]
62             <option value="0" selected="selected">Everyone</option>
63             <option value="1">me</option>
64             [% END %]
65         </select>
66         <input type="submit" value="Filter" />
67         </form>
68         <form action="[% scriptname %]" method="post" name="uncertainprices">
69         <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
70         <input type="hidden" name="op" value="validate" />
71         <table>
72             <tr>
73             <th>basket</th>
74                 <th>order</th>
75             <th>by</th>
76             <th>uncertain</th>
77                 <th>price</th>
78                 <th>quantity</th>
79             </tr>
80             [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
81             <tr>
82         <td>
83             [% uncertainpriceorder.basketname %]
84         </td>
85             <td>
86                 [% uncertainpriceorder.bibtitle %] / [% uncertainpriceorder.bibauthor %] <br /> [% uncertainpriceorder.bibpublishercode %], [% uncertainpriceorder.bibpublicationyear %]<br />[% uncertainpriceorder.bibisbn %]<br />
87                 <a href="neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber %]&amp;booksellerid=[% uncertainpriceorder.booksellerid %]&amp;basketno=[% uncertainpriceorder.basketno %]">
88                     edit
89                 </a>
90             </td>
91         <td>
92             [% uncertainpriceorder.firstname %] [% uncertainpriceorder.surname %]
93         </td>
94             <td>
95                 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber %]" value="1" checked="checked" />
96             </td>
97             <td>
98                 <input type="text" size="10" name="price[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.listprice %]"
99                                                 onchange="uncheckbox(this.form, [% uncertainpriceorder.ordernumber %]);" />
100             </td>
101             <td>
102                 
103                 <input type="text" size="10" name="qty[% uncertainpriceorder.ordernumber %]" value="[% uncertainpriceorder.quantity %]"
104                                                 onchange="uncheckbox(this.form, [% uncertainpriceorder.ordernumber %]);" />
105             </td>
106             </tr>
107             [% END %]
108         </table>
109         <fieldset class="action"><input type="button" value="Save" onclick="check(this.form)" /></fieldset>
110         </form>
111         [% END %]
112 </div>
113 </div>[% INCLUDE 'intranet-bottom.inc' %]