Koha/koha-tmpl/intranet-tmpl/default/zh-TW/acqui/newbiblio.tmpl
acli 765730e2b1 Applied most of Arthur's corrections, some with editorial changes.
Some other corrections.
Copied graphics from en directory.
2004-02-29 00:54:50 +00:00

170 lines
6.2 KiB
Cheetah

<!-- TMPL_INCLUDE name="acquisitions-top.inc" -->
<script language="javascript" type="text/javascript">
<!--
function update(f){
//collect values
quantity=f.quantity.value
discount=f.discount.value
listinc=parseInt(f.listinc.value)
currency=f.currency.value
applygst=parseInt(f.applygst.value)
listprice=f.list_price.value
// rrp=f.rrp.value
// ecost=f.ecost.value //budgetted cost
// GST=f.GST.value
// total=f.total.value
//make useful constants out of the above
exchangerate=f.elements[currency].value //get exchange rate
gst_on=(!listinc && applygst);
//do real stuff
rrp=listprice*exchangerate;
ecost=rrp*(100-discount)/100
GST=0;
if (gst_on){
rrp=rrp*(1+<!-- TMPL_VAR name="gstrate" -->);
GST=ecost*(<!-- TMPL_VAR name="gstrate" -->);
}
total=(ecost+GST)*quantity
f.rrp.value=rrp;
f.ecost.value=ecost;
f.GST.value=GST;
f.total.value=total;
}
function messenger(X,Y,etc){
win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
win.focus();
win.document.close();
win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size=2><p><br>");
win.document.write(etc);
win.document.write("<center><form><input type=button onclick='self.close()' value=Close></form></center>");
win.document.write("</font></body></html>");
}
//-->
</script>
<form action=/cgi-bin/koha/acqui/addorder.pl method=post name=frusin>
<!-- TMPL_UNLESS name="existing" --><input type=hidden name=existing value=no><!-- /TMPL_UNLESS -->
<!-- <!-- TMPL_VAR name="title" --> -->
<input type=hidden name=ordnum value="<!-- TMPL_VAR name="ordnum" -->">
<input type=hidden name=basket value="<!-- TMPL_VAR name="basket" -->">
<input type=hidden name=supplier value="<!-- TMPL_VAR name="id" -->">
<input type=hidden name=biblio value="<!-- TMPL_VAR name="biblio" -->">
<input type=hidden name=bibitemnum value="<!-- TMPL_VAR name="biblioitemnumber" -->">
<input type=hidden name=oldtype value="<!-- TMPL_VAR name="itemtype" -->">
<input type=hidden name=discount value="<!-- TMPL_VAR name="discount" -->">
<input type=hidden name=listinc value="<!-- TMPL_VAR name="listincgst" -->">
<input type=hidden name=currency value="<!-- TMPL_VAR name="currency" -->">
<input type=hidden name=applygst value="<!-- TMPL_VAR name="gstreg" -->">
<!-- TMPL_LOOP name="loop_currencies" -->
<input type=hidden name="<!-- TMPL_VAR name="currency" -->" value="<!-- TMPL_VAR name="rate" -->">
<!-- /TMPL_LOOP -->
<!-- TMPL_IF name="orderexists" --><input type=hidden name=orderexists value=yes><!-- /TMPL_IF -->
<a href="basket.pl?basket=<!-- TMPL_VAR name=basket -->" class="button">查看購物籃</a> <h1><!-- TMPL_VAR name="ordnum" --> - 訂單細節</h1><br>
<!-- TMPL_VAR name="name" --> 的購物藍
<P>
<CENTER>
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left width="40%">
<tr valign=top bgcolor=#99cc33>
<td background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=2><B>目錄細節</B></td>
</tr>
<TR VALIGN=TOP>
<TD><b>題名 *</b></td>
<td><input type=text size=20 name=title value="<!-- TMPL_VAR name="title" -->"></td>
</tr>
<TR VALIGN=TOP>
<TD>著者</td>
<td><input type=text size=20 name=author value="<!-- TMPL_VAR name="author" -->" ></td>
</tr>
<TR VALIGN=TOP>
<TD> 出版者</td>
<td><input type=text size=30 name=publishercode value="<!-- TMPL_VAR name="publishercode" -->" ></td>
</tr>
<TR VALIGN=TOP>
<TD>版權日期</td>
<td><input type=text size=20 name=copyrightdate value="<!-- TMPL_VAR name="copyrightdate" -->">
</td>
</tr>
<TR VALIGN=TOP>
<TD>格式</td>
<td><!-- TMPL_VAR name="CGIitemtype" --></td>
</tr>
<TR VALIGN=TOP>
<TD>ISBN</td>
<td><input type=text size=20 name=ISBN value="<!-- TMPL_VAR name="isbn" -->"></td>
</tr>
<TR VALIGN=TOP>
<TD>叢刊</td>
<td><input type=text size=20 name=Series value="<!-- TMPL_VAR name="seriestitle" -->"></td>
</tr>
<TR VALIGN=TOP>
<TD>分館</td>
<td><!-- TMPL_VAR name="CGIbranch" --></td>
</tr>
</table>
<img src="<!-- TMPL_VAR name="themelang" -->/images/holder.gif" width=32 height=250 align=left>
<table border=1 cellspacing=0 cellpadding=5 width="40%">
<tr valign=top bgcolor=#99cc33><td background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=2><B>會計細節</B></td></tr>
<TR VALIGN=TOP>
<TD>數量</td>
<td><input type=text size=20 name=quantity value="<!-- TMPL_VAR name="quantity" -->" onchange='update(this.form)' ></td>
</tr>
<TR VALIGN=TOP>
<TD>書籍購置資金</td>
<td><!-- TMPL_VAR name="CGIbookfund" --></td>
</tr>
<TR VALIGN=TOP>
<TD>供應商標價</td>
<td><input type=text size=20 name=list_price value="<!-- TMPL_VAR name="listprice" -->" onchange='update(this.form)'></td>
</tr>
<TR VALIGN=TOP>
<TD>書價 <br><FONT SIZE=2></td>
<td><input type=text size=20 name=rrp value="<!-- TMPL_VAR name="rrp" -->" onchange='update(this.form)'>
</tr>
<TR VALIGN=TOP>
<TD>預算成本<BR><FONT SIZE=2>(不連貨勞稅,連折扣)</FONT> </td>
<td><input type=text size=20 name=ecost value="<!-- TMPL_VAR name="ecost" -->" onchange='update(this.form)'></td>
</tr>
<TR VALIGN=TOP>
<TD>預算貨勞稅</td>
<td><input type=text size=20 name=GST value="" onchange='update(this.form)'></td>
</tr>
<TR VALIGN=TOP>
<TD><B>預算總額</B></td>
<td><input type=text size=20 name=total value="" onchange='update(this.form)'></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc>
<TD>實際成本</td>
<td><input type=text size=20 name=cost></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc>
<TD>發票號碼 *</td>
<td><input type=text size=20 name=invoice ></td>
<TR VALIGN=TOP>
<TD>備註</td>
<td><input type=text size=20 name=notes value="<!-- TMPL_VAR name="notes" -->"></td>
</tr>
<TR VALIGN=TOP>
<TD colspan=2>
<input type="submit" value="好!" class="button">
</tr>
</table>
</form>
</center>
<table>
<tr><td bgcolor=#cccc99 background="<TMPL_VAR name="themelang">/images/background-mem.gif"><B>說明</B><br>
<UL>
<LI>Bold fields must be filled in to create a new bibilo and item.<p>
<LI>Shaded fields can be used to do a "quick" receive, when items have been purchased locally or gifted. In this case the quantity "ordered" will also be entered into the database as the quantity received.
</UL>
</td></tr></table>
<p> &nbsp; </p>
<!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->