Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tmpl
2009-09-30 11:30:24 +02:00

116 lines
No EOL
5.3 KiB
Cheetah
Executable file

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Orders with uncertain prices for Vendor <!-- TMPL_VAR name="booksellername" --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
<script type="text/javascript">
//<![CDATA[
function check(form) {
form.submit();
}
//]]>
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
<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=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="booksellername" --></a> &rsaquo; Uncertain prices for vendor: <!-- TMPL_VAR NAME="booksellername" --></div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<!-- TMPL_IF name="validate" -->
<META HTTP-EQUIV=Refresh CONTENT="0; URL=<!-- TMPL_VAR name="scriptname" -->?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->">
<!-- TMPL_ELSE -->
<h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!--TMPL_VAR name="booksellername" --></a> <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->&op=enter">(edit)</a></h1>
<h2>Contact information</h2>
<p><strong>Address: </strong>
<!-- TMPL_VAR name="booksellerpostal" -->
<!-- TMPL_VAR name="bookselleraddress1" -->
<!-- TMPL_VAR name="bookselleraddress2" -->
<!-- TMPL_VAR name="bookselleraddress3" -->
<!-- TMPL_VAR name="bookselleraddress4" -->
<a href="<!--TMPL_VAR name="booksellerurl" -->"><!--TMPL_VAR name="booksellerurl" --></a>
</p>
<p><strong>Phone: </strong>
<!--TMPL_VAR name="booksellerphone" --> / Fax:
<!--TMPL_VAR name="booksellerfax" --></p>
<p><dl>
<dt><strong>Contact: </strong>
<dd><!--TMPL_VAR name="booksellercontact" -->
<!--TMPL_VAR name="booksellercontpos" -->
<!--TMPL_VAR name="booksellercontphone" -->
<!--TMPL_VAR name="booksellercontaltphone" -->
<!--TMPL_VAR name="booksellercontemail" -->
<!--TMPL_VAR name="booksellercontnotes" -->
</dd>
</dl></p>
<!-- TMPL_IF name="booksellernotes" -->
<p><strong>Notes: </strong>
<!--TMPL_VAR name="booksellernotes" --></p>
<!-- /TMPL_IF -->
<h2>Orders with uncertain prices</h2>
<form action="<!-- TMPL_VAR name="scriptname" -->" method="post" name="uncertainprices">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->" />
<input type="hidden" name="op" value="validate" />
Orders from:
<select name="owner">
<!-- TMPL_IF name="owner" -->
<option value="0">Everyone</option>
<option value="1" selected="selected">me</option>
<!-- TMPL_ELSE -->
<option value="0" selected="selected">Everyone</option>
<option value="1">me</option>
<!-- /TMPL_IF -->
</select>
<input type="submit" value="Filter" />
</form>
<form action="<!-- TMPL_VAR name="scriptname" -->" method="post" name="uncertainprices">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->" />
<input type="hidden" name="op" value="validate" />
<table>
<tr>
<th>basket</th>
<th>order</th>
<th>by</th>
<th>uncertain</th>
<th>price</th>
<th>quantity</th>
</tr>
<!-- TMPL_LOOP name="uncertainpriceorders" -->
<tr>
<td>
<!-- TMPL_VAR name="basketname" -->
</td>
<td>
<!-- TMPL_VAR name="bibtitle" --> / <!-- TMPL_VAR name="bibauthor" --> <br /> <!-- TMPL_VAR name="bibpublishercode" -->, <!-- TMPL_VAR name="bibpublicationyear" --><br /><!-- TMPL_VAR name="bibisbn" --><br />
<a href="neworderempty.pl?ordnum=<!-- TMPL_VAR name="ordernumber" -->&booksellerid=<!-- TMPL_VAR name="booksellerid" -->&basketno=<!-- TMPL_VAR name="basketno" -->">
edit
</a>
</td>
<td>
<!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
</td>
<td>
<input type="checkbox" name="uncertainprice<!-- TMPL_VAR name="ordernumber" -->" value="1" checked>
</td>
<td>
<input type="text" size="10" name="price<!-- TMPL_VAR name="ordernumber"-->" value="<!-- TMPL_VAR name="listprice" -->"
onChange="uncheckbox(this.form, <!-- TMPL_VAR name="ordernumber" -->);" />
</td>
<td>
<input type="text" size="10" name="qty<!-- TMPL_VAR name="ordernumber"-->" value="<!-- TMPL_VAR name="quantity" -->"
onChange="uncheckbox(this.form, <!-- TMPL_VAR name="ordernumber" -->);" />
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="button" value="Save" onclick="check(this.form)" />
</form>
<!-- /TMPL_IF -->
</div>
</div>
</div>
</body>
</html>