1 <!-- TMPL_INCLUDE name="acquisitions-top.inc" -->
2 <script language="javascript" type="text/javascript">
7 quantity=f.quantity.value
8 discount=f.discount.value
9 listinc=parseInt(f.listinc.value)
10 currency=f.currency.value
11 applygst=parseInt(f.applygst.value)
12 listprice=f.list_price.value
14 // ecost=f.ecost.value //budgetted cost
16 // total=f.total.value
17 //make useful constants out of the above
18 exchangerate=f.elements[currency].value //get exchange rate
19 gst_on=(!listinc && applygst);
21 rrp=listprice*exchangerate;
22 ecost=rrp*(100-discount)/100
25 rrp=rrp*(1+<!-- TMPL_VAR NAME="gstrate" -->);
26 GST=ecost*(<!-- TMPL_VAR NAME="gstrate" -->);
29 total=(ecost+GST)*quantity
40 function messenger(X,Y,etc){
41 win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
44 win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size='2'><p><br>");
45 win.document.write(etc);
46 win.document.write("<center><form><input type=button onclick='self.close()' value='Close'></form></center>");
47 win.document.write("</font></body></html>");
53 <form action="/cgi-bin/koha/acqui/addorder.pl" method="post" name="frusin">
54 <!-- TMPL_UNLESS name="existing" --><input type="hidden" name="existing" value="no"><!-- /TMPL_UNLESS -->
55 <!-- <!-- TMPL_VAR NAME="title" --> -->
56 <input type="hidden" name="ordnum" value="<!-- TMPL_VAR NAME="ordnum" -->">
57 <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
58 <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
59 <input type="hidden" name="biblio" value="<!-- TMPL_VAR NAME="biblio" -->">
60 <input type="hidden" name="bibitemnum" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
61 <input type="hidden" name="oldtype" value="<!-- TMPL_VAR NAME="itemtype" -->">
62 <input type="hidden" name="discount" value="<!-- TMPL_VAR NAME="discount" -->">
63 <input type="hidden" name="listinc" value="<!-- TMPL_VAR NAME="listincgst" -->">
64 <input type="hidden" name="currency" value="<!-- TMPL_VAR NAME="currency" -->">
65 <input type="hidden" name="applygst" value="<!-- TMPL_VAR NAME="gstreg" -->">
66 <input type="hidden" name="suggestionid" value="<!-- TMPL_VAR NAME="suggestionid" -->">
67 <!-- TMPL_LOOP NAME="loop_currencies" -->
68 <input type="hidden" name="<!-- TMPL_VAR NAME="currency" -->" value="<!-- TMPL_VAR NAME="rate" -->">
70 <a href="basket.pl?basket=<!-- TMPL_VAR NAME="basket" -->" class="button acquisition">Voir le panier</a> <h1 class="acquisition">
71 <!-- TMPL_IF name="ordnum" -->
72 Modifier les détails de la commande (ligne #<!-- TMPL_VAR NAME="ordnum" -->)
76 <!-- TMPL_IF name="suggestionid" -->spécifié à partir de la suggestion #<!-- TMPL_VAR NAME="suggestionid" --><!-- /TMPL_IF -->
78 Panier d'Achat pour <!-- TMPL_VAR NAME="name" -->
80 <h2 class="acquisition">Détails du catalogue</h2>
82 <label class="label100"><b>Titre *</b></label>
83 <!-- TMPL_IF name="biblio" -->
84 <input type="hidden" size="20" name="title" value="<!-- TMPL_VAR NAME="title" -->"><!-- TMPL_VAR NAME="title" -->
86 <input type="text" size="20" name="title" value="<!-- TMPL_VAR NAME="title" -->">
90 <label class="label100">Auteur</label>
91 <!-- TMPL_IF name="biblio" -->
92 <input type="hidden" size="20" name="author" value="<!-- TMPL_VAR NAME="author" -->"><!-- TMPL_VAR NAME="author" -->
94 <input type="text" size="20" name="author" value="<!-- TMPL_VAR NAME="author" -->">
98 <label class="label100"> Editeur</label>
99 <!-- TMPL_IF name="biblio" -->
100 <input type="hidden" size="20" name="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->"><!-- TMPL_VAR NAME="publishercode" -->
102 <input type="text" size="20" name="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->">
106 <label class="label100">Date de copyright</label>
107 <!-- TMPL_IF name="biblio" -->
108 <input type="hidden" size="20" name="copyrightdate" value="<!-- TMPL_VAR NAME="copyrightdate" -->"><!-- TMPL_VAR NAME="copyrightdate" -->
110 <input type="text" size="20" name="copyrightdate" value="<!-- TMPL_VAR NAME="copyrightdate" -->">
114 <label class="label100">Format</label>
115 <!-- TMPL_VAR NAME="CGIitemtype" -->
118 <label class="label100">ISBN</label>
119 <!-- TMPL_IF name="biblio" -->
120 <input type="hidden" size="20" name="ISBN" value="<!-- TMPL_VAR NAME="isbn" -->"><!-- TMPL_VAR NAME="isbn" -->
122 <input type="text" size="20" name="ISBN" value="<!-- TMPL_VAR NAME="isbn" -->">
126 <label class="label100">Collections</label>
127 <!-- TMPL_IF name="biblio" -->
128 <input type="hidden" size="20" name="series" value="<!-- TMPL_VAR NAME="seriestitle" -->"><!-- TMPL_VAR NAME="seriestitle" -->
130 <input type="text" size="20" name="series" value="<!-- TMPL_VAR NAME="seriestitle" -->">
134 <label class="label100">Site</label>
135 <!-- TMPL_VAR NAME="CGIbranch" -->
139 <h2 class="acquisition">Détails de comptabilité</h2>
141 <label class="label100">Quantité</label>
142 <input type="text" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);">
145 <label class="label100">Ligne de crédit</label>
146 <!-- TMPL_VAR NAME="CGIbookfund" -->
149 <label class="label100">Barème Fournisseur</label>
150 <input type="text" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="update(this.form)">
153 <label class="label100">Coût de Remplacement </label>
154 <input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" onchange="update(this.form)">
157 <label class="label100">Coût budgeté</label>
158 <input type="text" size="20" name="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" onchange="update(this.form)">
161 <label class="label100">TVA budgetée</label>
162 <input type="text" size="20" name="GST" value="" onchange="update(this.form)">
165 <label class="label100"><b>TOTAL BUDGETE</b></label>
166 <input type="text" size="20" name="total" value="" onchange="update(this.form)">
169 <label class="label100">Coût Réel</label>
170 <input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->">
173 <label class="label100">Numéro de Facture *</label>
174 <input type="text" size="20" name="invoice" value="<!-- TMPL_VAR name="invoice" -->">
176 <label class="label100">Notes</label>
177 <input type="text" size="20" name="notes" value="<!-- TMPL_VAR NAME="notes" -->">
179 <p>Les deux champs suivants sont disponibles pour votre usage propre. Ils peuvent être utiles pour des besoins statistiques.</p>
181 <label class="label100">Champ de tri 1</label>
182 <input type="text" size="20" name=sort1 value="<!-- TMPL_VAR NAME="sort1" -->">
185 <label class="label100">Champ de tri 2</label>
186 <input type="text" size="20" name=sort2 value="<!-- TMPL_VAR NAME="sort2" -->">
189 <input type="submit" value="OK" class="button acquisition">
194 <!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->