Templating...
[koha.git] / koha-tmpl / intranet-tmpl / default / es / includes / aquisitions-top.inc
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <!--Authored by rachel@katipo.co.nz 104:38 1/11/99-->
3 <!--updated by rachel@katipo.co.nz 12:24 12/01/00-->
4 <!--updated by chris@katipo.co.nz 1/3/00-->
5
6 <html>
7 <head>
8 <title>KOHA: INTRANET: Adquisiciones</title>
9
10
11 <style type="text/css">
12 <!--
13 select,option {font-size:12px}
14 -->
15
16 </style>
17
18 <SCRIPT LANGUAGE="JavaScript">
19 // go to page selected from options menu
20
21 function leapto(form) {
22 var myindex=form.dest.selectedIndex
23 parent.location.href=(form.dest.options[myindex].value);
24 }
25
26           //
27    
28 if (document.images){
29
30 menu=new Image;
31 menu.src ="/images/acq-acq.gif"
32
33 }
34
35
36
37
38         //
39 //adder
40
41
42 //display tidys up a number for display: hopefully leaving 2 decimal points
43
44 function display(numb){
45   if (parseInt(numb)){
46     if (numb== Math.round(numb)){
47       return ( numb + ".00")
48     }
49     else {
50       numb=(numb + "0");
51       return (numb.substring(0,(numb.indexOf(".")+3)))
52     }
53   }
54   else{
55     return "0.00"
56   }
57 }
58 // update -- the main function
59
60 function update(f){
61   z=0;
62   total=0;
63   count=0;
64   subtotal=0;
65   discount=0;
66   q=f.length-5;
67   while (z < q){
68 //     f.elements[z].value=z;
69     z++;
70     //skip rrp for now
71     est = parseFloat(f.elements[z].value);
72     z++;
73     quant = parseInt(f.elements[z].value);
74     z++;
75     booktotal= est*quant;
76     f.elements[z].value=display(booktotal);
77     subtotal = subtotal + booktotal;
78     z++;
79     z++;
80     z++;
81   }
82   GST=subtotal*0.125;
83   total=subtotal+GST;
84   f.subtotal.value = display(subtotal);
85   f.gst.value =display(GST);
86   f.grandtotal.value =display(total);
87 }
88     
89     
90     
91     //-->
92     
93 </script>
94
95 </head>
96 <body text="black" bgcolor="white" link="#0000ff" vlink="#0000ff" "3366cc" Alink="#cc3300"
97 marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>
98
99
100
101
102 <!--HDL Colours
103
104         Yellow = ffcc00 
105         light blue = ccccff
106         bright blue links = 0000ff
107         aubergine = 663266 
108         light green/grey = cccc99
109
110
111 -->
112
113 <!------------------------MENUS-------------------------------->
114
115 <table cellpadding=0 cellspacing=0 width="100%" border=0>
116 <tr bgcolor=ffcc00  >
117
118         <td valign=top >
119         <table cellpadding=0 cellspacing=0  border=0 height=29>
120         <tr valign=top bgcolor=ffcc00 >
121         <td background="/images/catalogue-spot-1.gif" width="224" 
122         height="29"><font size=1 face="arial"><img src="/images/holder.gif" width=210 height=4 alt=" " hspace=0 vspace=0><br>
123         <img src="/images/holder.gif" 
124         width=35 height=21 align=left alt=" " hspace=0 vspace=0>KOHA: <a href="/">HLT INTRANET</a><br>
125         <img src="/images/holder.gif" width=210 height=1 alt=" " hspace=0 vspace=0></FONT></td>
126         
127         </TR></TABLE></TD>
128
129
130         <td  valign=bottom align=right><img src="/images/holder.gif"
131           WIDTH=1  HEIGHT=38 HSPACE=0 vspace=0></td>
132
133         <td  valign=bottom align=right>
134         <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>
135         
136         </TR></TABLE></TD>
137 </tr>
138
139 <TR VALIGN=TOP BGCOLOR="000000"><TD  COLSPAN=3><img src="/images/blackdot.gif"  WIDTH=1  HEIGHT=2  HSPACE=0 vspace=0></TD></TR>
140
141 </table>
142
143
144 <map name="map">
145 <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'">
146
147 <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'">
148
149 <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'">
150
151 <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'">
152
153 <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'">
154
155 <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'">
156 <area shape="default" nohref>
157 </map>
158
159
160 <BLOCKQUOTE>