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