160 lines
4.4 KiB
HTML
160 lines
4.4 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<!--Authored by rachel@katipo.co.nz 104:38 1/11/99-->
|
|
<!--updated by rachel@katipo.co.nz 12:24 12/01/00-->
|
|
<!--updated by chris@katipo.co.nz 1/3/00-->
|
|
|
|
<html>
|
|
<head>
|
|
<title>KOHA: INTRANET: Adquisiciones</title>
|
|
|
|
|
|
<style type="text/css">
|
|
<!--
|
|
select,option {font-size:12px}
|
|
-->
|
|
|
|
</style>
|
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
// go to page selected from options menu
|
|
|
|
function leapto(form) {
|
|
var myindex=form.dest.selectedIndex
|
|
parent.location.href=(form.dest.options[myindex].value);
|
|
}
|
|
|
|
//
|
|
|
|
if (document.images){
|
|
|
|
menu=new Image;
|
|
menu.src ="/images/acq-acq.gif"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
//adder
|
|
|
|
|
|
//display tidys up a number for display: hopefully leaving 2 decimal points
|
|
|
|
function display(numb){
|
|
if (parseInt(numb)){
|
|
if (numb== Math.round(numb)){
|
|
return ( numb + ".00")
|
|
}
|
|
else {
|
|
numb=(numb + "0");
|
|
return (numb.substring(0,(numb.indexOf(".")+3)))
|
|
}
|
|
}
|
|
else{
|
|
return "0.00"
|
|
}
|
|
}
|
|
// update -- the main function
|
|
|
|
function update(f){
|
|
z=0;
|
|
total=0;
|
|
count=0;
|
|
subtotal=0;
|
|
discount=0;
|
|
q=f.length-5;
|
|
while (z < q){
|
|
// f.elements[z].value=z;
|
|
z++;
|
|
//skip rrp for now
|
|
est = parseFloat(f.elements[z].value);
|
|
z++;
|
|
quant = parseInt(f.elements[z].value);
|
|
z++;
|
|
booktotal= est*quant;
|
|
f.elements[z].value=display(booktotal);
|
|
subtotal = subtotal + booktotal;
|
|
z++;
|
|
z++;
|
|
z++;
|
|
}
|
|
GST=subtotal*0.125;
|
|
total=subtotal+GST;
|
|
f.subtotal.value = display(subtotal);
|
|
f.gst.value =display(GST);
|
|
f.grandtotal.value =display(total);
|
|
}
|
|
|
|
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</head>
|
|
<body text="black" bgcolor="white" link="#0000ff" vlink="#0000ff" "3366cc" Alink="#cc3300"
|
|
marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
|
|
|
|
|
|
|
|
|
|
<!--HDL Colours
|
|
|
|
Yellow = ffcc00
|
|
light blue = ccccff
|
|
bright blue links = 0000ff
|
|
aubergine = 663266
|
|
light green/grey = cccc99
|
|
|
|
|
|
-->
|
|
|
|
<!------------------------MENUS-------------------------------->
|
|
|
|
<table cellpadding=0 cellspacing=0 width="100%" border=0>
|
|
<tr bgcolor=ffcc00 >
|
|
|
|
<td valign=top >
|
|
<table cellpadding=0 cellspacing=0 border=0 height=29>
|
|
<tr valign=top bgcolor=ffcc00 >
|
|
<td background="/images/catalogue-spot-1.gif" width="224"
|
|
height="29"><font size=1 face="arial"><img src="/images/holder.gif" width=210 height=4 alt=" " hspace=0 vspace=0><br>
|
|
<img src="/images/holder.gif"
|
|
width=35 height=21 align=left alt=" " hspace=0 vspace=0>KOHA: <a href="/">HLT INTRANET</a><br>
|
|
<img src="/images/holder.gif" width=210 height=1 alt=" " hspace=0 vspace=0></FONT></td>
|
|
|
|
</TR></TABLE></TD>
|
|
|
|
|
|
<td valign=bottom align=right><img src="/images/holder.gif"
|
|
WIDTH=1 HEIGHT=38 HSPACE=0 vspace=0></td>
|
|
|
|
<td valign=bottom align=right>
|
|
<table cellpadding=0 cellspacing=0 border=0 height=29><tr><td><img src=/images/acq-acq.gif border="0" name=menu usemap="#map" HSPACE=0 vspace=0 ></td>
|
|
|
|
</TR></TABLE></TD>
|
|
</tr>
|
|
|
|
<TR VALIGN=TOP BGCOLOR="000000"><TD COLSPAN=3><img src="/images/blackdot.gif" WIDTH=1 HEIGHT=2 HSPACE=0 vspace=0></TD></TR>
|
|
|
|
</table>
|
|
|
|
|
|
<map name="map">
|
|
<area shape="rect" coords="18,8,84,27" href="/catalogue/" alt="Catalogue" onMouseOver="if(document.images)document.menu.src='/images/acq-cat.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
|
|
<area shape="rect" coords="94,8,149,28" href="/members/" alt="Members" onMouseOver="if(document.images)document.menu.src='/images/acq-mem.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
|
|
<area shape="rect" coords="154,9,212,29" alt="Acquisitions" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions" onMouseOver="if(document.images)document.menu.src='/images/acq-acq.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
|
|
<area shape="rect"alt="Reports" coords="217,7,289,27"href="/reports/" onMouseOver="if(document.images)document.menu.src='/images/acq-rep.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
|
|
<area shape="rect" coords="306,8,352,27" href="/cgi-bin/koha/circ/circulation.pl" alt="Circulation" onMouseOver="if(document.images)document.menu.src='/images/acq-crc.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
|
|
<area shape="rect" alt="Home" coords="374,9,419,29" href="/" onMouseOver="if(document.images)document.menu.src='/images/acq-hom.gif'" onMouseOut="if(document.images)document.menu.src='/images/acq-acq.gif'">
|
|
<area shape="default" nohref>
|
|
</map>
|
|
|
|
|
|
<BLOCKQUOTE>
|