4 [% PROCESS 'i18n.inc' %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername | html %][% ELSE %]Orders with uncertain prices[% END %] › Acquisitions › Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="acq_uncertainprice" class="acq">
12 [% WRAPPER 'header.inc' %]
13 [% INCLUDE 'acquisitions-search.inc' %]
16 [% WRAPPER 'sub-header.inc' %]
17 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
23 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
25 [% IF ( booksellername ) %]
27 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
30 <a href="#" aria-current="page">
31 Uncertain prices for vendor [% booksellername | html %]
36 <a href="#" aria-current="page">
45 <div class="main container-fluid">
47 <div class="col-sm-10 col-sm-push-2">
50 [% INCLUDE 'acquisitions-toolbar.inc' %]
52 [% SET metacontent = '0; url=' _ scriptname _ '?booksellerid=' _ booksellerid %]
53 <META HTTP-EQUIV=Refresh CONTENT="[% metacontent | html %]">
55 [% IF ( booksellername ) %]
56 <h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
58 <div class="page-section">
59 <h2>Contact information</h2>
60 <p><strong>Address: </strong>
61 [% booksellerpostal | html %]
62 [% bookselleraddress1 | html %]
63 [% bookselleraddress2 | html %]
64 [% bookselleraddress3 | html %]
65 [% bookselleraddress4 | html %]
67 <p><strong>Phone: </strong>
68 [% booksellerphone | html %] / Fax:
70 [% FOREACH contact IN contacts %]
71 <dt><strong>Contact: </strong></dt>
72 <dd>[% contact.name | html %]
73 [% contact.position | html %]
74 [% contact.phone | html %]
75 [% contact.altphone | html %]
76 [% contact.email | html %]
77 [% contact.notes | html %]
81 [% IF ( booksellernotes ) %]
82 <p><strong>Notes: </strong>
83 [% booksellernotes | html %]</p>
85 </div> <!-- /.page-section -->
88 <h1>Orders with uncertain prices</h1>
90 <div class="page-section">
91 <form action="[% scriptname | html %]" method="post">
92 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
93 <label for="owner">Orders from:</label>
94 <select id="owner" name="owner">
96 <option value="0">Everyone</option>
97 <option value="1" selected="selected">me</option>
99 <option value="0" selected="selected">Everyone</option>
100 <option value="1">me</option>
103 <input type="submit" class="btn btn-primary" value="Filter" />
105 <form action="[% scriptname | html %]" method="post" id="uncertainprices">
106 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
107 <input type="hidden" name="op" value="validate" />
108 <table id="uncertainpricet">
112 <th>[% tp('noun', 'Order') | html %]</th>
114 <th class="NoSort">Uncertain</th>
115 <th class="NoSort">Price</th>
116 <th class="NoSort">Quantity</th>
117 <th class="NoSort">Edit</th>
121 [% FOREACH uncertainpriceorder IN uncertainpriceorders %]
124 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% uncertainpriceorder.basketno | uri %]">[% uncertainpriceorder.basketname | html %]</a>
127 [% INCLUDE 'biblio-title.inc' biblio=uncertainpriceorder link = 1 %]
128 [% IF ( uncertainpriceorder.author ) %] <em>by</em> [% uncertainpriceorder.author | html %][% END %]
129 [% IF ( uncertainpriceorder.publishercode ) %]
130 <br /><em>Publisher:</em> [% uncertainpriceorder.publishercode | html %]
131 [%- IF ( uncertainpriceorder.publicationyear ) -%], [% uncertainpriceorder.publicationyear | html %]
132 [%- ELSIF ( uncertainpriceorder.copyrightdate ) -%] [% uncertainpriceorder.copyrightdate | html %]
135 [% IF ( uncertainpriceorder.isbn ) %]<br />[% uncertainpriceorder.isbn | html %][% END %]
139 [% uncertainpriceorder.firstname | html %] [% uncertainpriceorder.surname | html %]
142 <input type="checkbox" name="uncertainprice[% uncertainpriceorder.ordernumber | html %]" value="1" checked="checked" />
145 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber | html %]" type="text" size="10" name="price[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.listprice | html %]" />
148 [% IF basket.effective_create_items == 'ordering' %]
149 [% uncertainpriceorder.quantity | html %]
150 <input type="hidden" name="qty[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.quantity | html %]" />
152 <input class="check_uncertain" data-ordernumber="[% uncertainpriceorder.ordernumber | html %]" type="text" size="10" name="qty[% uncertainpriceorder.ordernumber | html %]" value="[% uncertainpriceorder.quantity | html %]" />
156 <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=[% uncertainpriceorder.ordernumber | uri %]&booksellerid=[% booksellerid | uri %]&basketno=[% uncertainpriceorder.basketno | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
162 <fieldset class="action"><input type="submit" class="btn btn-primary" value="Save" /></fieldset>
164 </div> <!-- /.page-section -->
168 </div> <!-- /.col-sm-10.col-sm-push-2 -->
170 <div class="col-sm-2 col-sm-pull-10">
172 [% INCLUDE 'vendor-menu.inc' %]
174 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
175 </div> <!-- /.row -->
177 [% MACRO jsinclude BLOCK %]
178 [% Asset.js("js/acquisitions-menu.js") | $raw %]
179 [% Asset.js("js/acq.js") | $raw %]
180 [% INCLUDE 'datatables.inc' %]
182 $(document).ready(function() {
183 var uncertainpricet = $("#uncertainpricet").dataTable($.extend(true, {}, dataTablesDefaults, {
185 { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
187 "sPaginationType": "full"
189 $(".check_uncertain").on("change",function(){
190 var form = document.getElementById("uncertainprices");
191 var ordernumber = $(this).data("ordernumber");
192 uncheckbox( form, ordernumber );
196 [% Asset.js("js/acq.js") | $raw %]
199 [% INCLUDE 'intranet-bottom.inc' %]