koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui acqui-home.tmp


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui acqui-home.tmpl,NONE,1.1 acquire.tmpl,NONE,1.1 basket.tmpl,NONE,1.1 newbasket.tmpl,NONE,1.1 newbasket2.tmpl,NONE,1.1 newbiblio.tmpl,NONE,1.1 order.tmpl,NONE,1.1 recieve.tmpl,NONE,1.1 recieveorder.tmpl,NONE,1.1 supplier.tmpl,NONE,1.1
Date: Thu, 19 Feb 2004 10:59:39 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28315/koha-tmpl/intranet-tmpl/npl/en/acqui

Added Files:
        acqui-home.tmpl acquire.tmpl basket.tmpl newbasket.tmpl 
        newbasket2.tmpl newbiblio.tmpl order.tmpl recieve.tmpl 
        recieveorder.tmpl supplier.tmpl 
Log Message:
New NPL templates

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">

<h1>Acquisitions</h1>

<div class="details"><form action="/cgi-bin/koha/acqui/order.pl" 
method="post"><table>
<caption>Start, Recieve, or Modify Any Order</caption>
<tr>
        <th><label for="supplier">Supplier ID or Name</label></th>
        <td>
                
                <input type="text" size="25" name="supplier" id="supplier" />
                
        </td>
</tr>
</table>
<input type="submit" class="submit" value="Search" /></form>
</div>
<div class="details">
<form action="/cgi-bin/koha/acqui/acquire.pl" method="post"><table>
<caption>Receive or Modify a Periodical Order</caption>
<tr>
        <th><label for="recieve">Title Search</label></th>
        <td>
                
                <input type="text"  size="25" name="recieve" id="recieve">
                
        </td>
</tr>
</table>
<input type="submit" class="submit" value="Search" /></form>
</div>

<!-- currencies-->
<div class="details">
<!-- TMPL_IF NAME="loop_currency" -->
<table>
        <caption>Exchange Rates</caption>

        <!-- TMPL_LOOP name="loop_currency" -->
                <tr>
                        <th>
                                <label for="<!-- TMPL_VAR name="currency" 
-->"><!-- TMPL_VAR name="currency" --></label>
                        </th>
                        <td>    <form action="/cgi-bin/koha/currency.pl">
        <input type="hidden" name="type" value="change">
                                <input type="text" size="10" id="<!-- TMPL_VAR 
name="currency" -->" name="<!-- TMPL_VAR name="currency" -->" value="<!-- 
TMPL_VAR name="rate" -->">     </form>
                        </td>
                </tr>
        <!-- /TMPL_LOOP -->
</table><input type="submit" class="submit" value="Save Exchange Rate" />
<!-- TMPL_ELSE --><form action="/cgi-bin/koha/admin/currency.pl" method="post">
        <input type="hidden" name="op" value="add_form" /><input type="submit" 
class="submit" value="Add Currency" />

        </form><!-- /TMPL_IF -->
</div>

<!-- showbudget-->
        <div class="table"><table>
                <caption>Budgets and Bookfunds</caption>
                        <tr>
                                <th>Budgets</th>
                                <th>Total</th>
                                <th>Spent</th>
                                <th>Comtd</th>
                                <th>Avail</th>
                        </tr>
                        <!-- TMPL_LOOP name="loop_budget" -->
                                <tr>
                                        <td><!-- TMPL_VAR name="bookfundname" 
--></td>
                                        <td><!-- TMPL_VAR name="budgetamount" 
--></td>
                                        <td><!-- TMPL_VAR name="spent" --></td>
                                        <td><!-- TMPL_VAR name="comtd" --></td>
                                        <td><!-- TMPL_VAR name="avail" --></td>
                                </tr>
                        <!-- /TMPL_LOOP -->
                        <tr>
                                <td><b>Total</b></td>
                                <td><b><!-- TMPL_VAR name="total" --></b></td>
                                <td><b><!-- TMPL_VAR name="totspent" 
--></b></td>
                                <td><b><!-- TMPL_VAR name="totcomtd" 
--></b></td>
                                <td><b><!-- TMPL_VAR name="totavail" 
--></b></td>
                        </tr>
                </table></div>
<p>             Use your reload button [ctrl + r] to get the most recent 
figures.
                Committed figures are approximate only, as exchange rates will 
affect the amount actually paid.</p>

<div class="details">
                <h4>Help</h4> <p>To start an acquisition, whether an order, 
local purchase or donation first search on the supplier, you will be asked to 
check their details, and enter your name which  will set up a "shopping basket" 
for you. (Why is this you might ask... well because we want to know that it's 
really you ordering things - not just your computer).</p>
                <p>To order an item you need to establish whether a biblio 
already exists for it, and either add an item, or set up a new biblio then add 
the item.  </p>
                <p>To start a new shopping basket with a new supplier return to 
this page and just start a new supplier search.</p>
                <p>To close off a shopping basket click on "view shopping 
baskets" or search above, and the click on "confirm basket".</p>
</div></div>

<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">

<h1>Receipt Summary for : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF 
NAME="invoice" -->Invoice, <!-- TMPL_VAR NAME="invoice" --><!-- /TMPL_IF 
--></h1>

<ul><li>Invoice: <!-- TMPL_VAR NAME="invoice" --></li>
<li>Received By: <!-- TMPL_VAR NAME="user" --></li>
<li>Date: <!-- TMPL_VAR NAME="date" --></li>
</ul>

<!-- TMPL_IF name="count" -->
        <script language="javascript" type="text/javascript">
        <!--
        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/finishreceive.pl" method="post">
        <h1><!-- TMPL_VAR NAME="ordernumber" --> - Receive Order</h1>
        <ul><li>Shopping Basket For: <!-- TMPL_VAR NAME="name" --></li>
                <li>Order placed: <!-- TMPL_VAR NAME="date" --></li>
        </ul>

        <table>
        <caption>Catalogue Details</caption>
                <tr>
                        <td><b>Title *</b></td>
                        <td><input type="text" size="20" name="title" 
value="<!-- TMPL_VAR NAME="title" -->" >
                        </td>
                </tr>
                <tr>
                        <td>Author</td>
                        <td><input type="text" size="20" name="author" 
value="<!-- TMPL_VAR NAME="author" -->" >
                        </td>
                </tr>
                <tr>
                        <td>Copyright Date</td>
                        <td><input type="text" size="20" name="copyright" 
value="<!-- TMPL_VAR NAME="copyrightdate" -->" >
                        </td>
                </tr>
                <tr>
                        <td>Format</td>
                        <td><!-- TMPL_VAR NAME="CGIitemtype" --></td>
                </tr>
                <tr>
                        <td>ISBN</td>
                        <td><input type="text" size="20" name="ISBN" 
value="<!-- TMPL_VAR NAME="isbn" -->"></td>
                </tr>
                <tr>
                        <td>Series</td>
                        <td><input type="text" size="20" name="Series" 
value="<!-- TMPL_VAR NAME="seriestitle" -->"></td>
                </tr>
                <tr>
                        <td>Branch</td>
                        <td><!-- TMPL_VAR NAME="CGIbranch" --></td>
                </tr>
                <tr>
                        <td><b>Item Barcode *</b></td>
                        <td><input type="text" size="20" name="barcode" 
value="<!-- TMPL_VAR NAME="barcode" -->"></td>
                </tr>
                <tr>
                        <td><b>Volume Info (for serials) *</b></td>
                        <td><input type="text" size="20" name="volinf"></td>
                </tr>
                <tr>
                        <td colspan=2 align="center">
                                <input type="hidden" name="biblio" value="<!-- 
TMPL_VAR NAME="biblionumber" -->">
                                <input type="hidden" name="ordnum" value="<!-- 
TMPL_VAR NAME="ordernumber" -->">
                                <input type="hidden" name="biblioitemnum" 
value="<!-- TMPL_VAR NAME="biblioitemnumber" -->">
                                <input type="hidden" name="id" value="<!-- 
TMPL_VAR NAME="booksellerid" -->">
                                <input type="hidden" name="freight" value="<!-- 
TMPL_VAR NAME="freight" -->">
                                <input type="hidden" name="gst" "value"="<!-- 
TMPL_VAR NAME="gst" -->">
                                <!-- TMPL_IF name="catview" -->
                                        <input type="submit" class="submit"  
name="submit" value="Save">
                                <!-- TMPL_ELSE -->
                                        <a 
href="/cgi-bin/koha/acqui/newbiblio.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" 
-->&amp;id=<!-- TMPL_VAR NAME="booksellerid" -->">Edit</a>
                                <!-- /TMPL_IF -->
                        </td>
                </tr>
        </table>
        <table>
        <caption>Accounting Details</caption>
                <tr>
                        <td><b>Bookfund *</b></td>
                        <td><!-- TMPL_VAR NAME="CGIbookfund" -->
                </tr>
                <tr>
                        <td>Quantity Ordered</td>
                        <td><input type="text" size="20" name="quantity" 
value="<!-- TMPL_VAR NAME="quantity" -->">
                        </td>
                </tr>
                <tr>
                        <td><b>Quantity Received *</b></td>
                        <td><input type="text" size="20" name="quantityrec" 
value="<!-- TMPL_VAR NAME="quantityreceived" -->">
                        </td>
                </tr>
                <tr>
                        <td>Replacement Cost</td>
                        <td><input type="text" size="20" name="rrp" value="<!-- 
TMPL_VAR NAME="rrp" -->">
                </tr>
                <tr>
                        <td>Budgeted Cost </td>
                        <td><input type="text" size="20" name="ecost" 
value="<!-- TMPL_VAR NAME="ecost" -->"></td>
                </tr>
                <tr>
                        <td><b>Actual Cost *</b></td>
                        <td><input type="text" size="20" name="cost" 
value="<!-- TMPL_VAR NAME="unitprice" -->"></td>
                </tr>
                <tr>
                        <td>Invoice Number</td>
                        <td>
                                <!-- TMPL_VAR NAME="invoice" -->
                                <input type="hidden" name="invoice" value="<!-- 
TMPL_VAR NAME="invoice" -->">
                        </td>
                </tr>
                <tr>
                        <td>Notes</td>
                        <td><input type="text" size="20" name="notes" 
value="<!-- TMPL_VAR NAME="notes" -->"></td>
                </tr>
        </table>
        </form>

<!-- TMPL_ELSE -->

        <table>
        <tr>
                <th>Basket</th>
                <th>ISBN</th>
                <th>Title</th>
                <th>Author</th>
                <th>Qty</th>
                <th>Received</th>
        </tr>
        <!-- TMPL_LOOP name="loop" -->
                <tr>
                        <td><!-- TMPL_VAR NAME="basketno" --></td>
                        <td><!-- TMPL_VAR NAME="isbn" --></td>
                        <td><a href="acquire.pl?recieve=<!-- TMPL_VAR 
NAME="ordernumber" -->&amp;biblio=<!-- TMPL_VAR NAME="biblionumber" 
-->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;freight=<!-- TMPL_VAR 
NAME="freight" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;id=<!-- TMPL_VAR 
NAME="id" -->"><!-- TMPL_VAR NAME="title" --></a></td>
                        <td><!-- TMPL_VAR NAME="author" --></td>
                        <td><!-- TMPL_VAR NAME="quantity" --></td>
                        <td><!-- TMPL_VAR NAME="quantityrecieved" --></td>
                </tr>
        <!-- /TMPL_LOOP -->
        </table>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">
<h1>Shopping Basket <!-- TMPL_VAR name="basket" --> for <a 
href="supplier.pl?id=<!-- TMPL_VAR name="booksellerid" -->"><!-- TMPL_VAR 
name="name" --></a> </h1>
<h4>(Our Reference: <!-- TMPL_VAR name="entrydate" -->, #<!-- TMPL_VAR 
name="basket" -->, authorised by: <!-- TMPL_VAR name="loggedinusername" 
-->)</h4>


<table>
        <tr>
                <th>Order</th>
                <th>Isbn</th>
                <th>Title</th>
                <th>Author</th>
                <th>$ rrp</th>
                <th>$est</th>
                <th>Qty</th>
                <th>Total</th>
        </tr>
        <!-- TMPL_LOOP name="books_loop" -->
                <tr bgcolor="<!-- TMPL_VAR name="color" -->">
                        <td><!-- TMPL_VAR name="ordernumber" --></td>
                        <td><!-- TMPL_VAR name="isbn" --></td>
                        <td><a href="newbiblio.pl?ordnum=<!-- TMPL_VAR 
name="ordernumber" -->&amp;id=<!-- TMPL_VAR name="booksellerid" 
-->&amp;basket=<!-- TMPL_VAR name="basket" -->"><!-- TMPL_VAR name="title" 
--></a></td>
                        <td><!-- TMPL_VAR name="author" --></td>
                        <td><!-- TMPL_VAR name="rrp" --></td>
                        <td><!-- TMPL_VAR name="ecost" --></td>
                        <td><!-- TMPL_VAR name="quantity" --></td>
                        <td><!-- TMPL_VAR name="line_total" --></td>
                </tr>
        <!-- /TMPL_LOOP -->
        <input type="hidden" name="number" value="<!-- TMPL_VAR name="count" 
-->" />
        <input type="hidden" name="basketno" value="<!-- TMPL_VAR name="basket" 
-->" />
        <tr>
                <td colspan="6" rowspan="3">
                        <b>HELP</b>
                        <p>To change any of the catalogue or accounting 
information attached to an order,  click on the title.</p>
                </td>
                <th>SubTotal</th>
                <td><!-- TMPL_VAR NAME="currency" --> <!-- TMPL_VAR 
name="sub_total" --></td>
        </tr>
        <tr>
                <th>GST</th>
                <td><!-- TMPL_VAR NAME="currency" --> <!-- TMPL_VAR name="gist" 
--></td>
        </tr>
        <tr>
                <th>TOTAL</th>
                <td><!-- TMPL_VAR NAME="currency" --> <!-- TMPL_VAR 
name="grand_total" --></td>
        </tr>
</table>
<p>                     <form action="/cgi-bin/koha/acqui/newbasket2.pl" 
method="post">
                                <input type="hidden" name="id" value="<!-- 
TMPL_VAR name="id" -->" />
                                <input type="hidden" name="basket" value="<!-- 
TMPL_VAR name="basket" -->" />
                        Add order : enter keyword or title: <input type="text"  
size="25" name="search"> <input type="submit" class="submit" value="Submit" />
                        </form></p>
</div>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="acquisitions-top.inc" -->

<FONT SIZE=6><em>Shopping Basket <!-- TMPL_VAR name="basket" --> for <!-- 
TMPL_VAR name="name" --></em></FONT><br />
(Our Reference: <!-- TMPL_VAR name="entrydate" -->, #<!-- TMPL_VAR 
name="basket" -->, authorised by: <!-- TMPL_VAR name="user" -->)<br />
Ph: <!-- TMPL_VAR name="phone" -->, Fax: <!-- TMPL_VAR name="fax" --><br />
<!-- TMPL_VAR name="address1" -->, <!-- TMPL_VAR name="address2" --><br />
<!-- TMPL_VAR name="address3" -->, <!-- TMPL_VAR name="address4" --><br />
<p>
<FORM ACTION="/cgi-bin/koha/acqui/newbasket2.pl" method=post>
<input type="hidden" name=id value="<!-- TMPL_VAR name="id" -->">
<input type="hidden" name=basket value="<!-- TMPL_VAR name="basket" -->">
<b> Search Keyword or Title: </b><input TYPE="text"  SIZE="25"   NAME="search">

</form>

<table border="0" cellspacing=0 cellpadding=5>
        <tr valign="top" bgcolor="#ffdf61">
                <td width="5%"><b>Order</b></td>
                <td width="10%"><b>Isbn</b></td>
                <td width="30%"><b>Title</b></td>
                <td width="20%"><b>Author</b></td>
                <td width="8%"><b>Qty</b></td>
        </tr>
        <!-- TMPL_LOOP name="books_loop" -->
                <tr valign="top" bgcolor=<!-- TMPL_VAR name="color" -->>
                        <td><!-- TMPL_VAR name="ordernumber" --></td>
                        <td><!-- TMPL_VAR name="isbn" --></td>
                        <td><!-- TMPL_VAR name="title" --></td>
                        <td><!-- TMPL_VAR name="author" --></td>
                        <td><!-- TMPL_VAR name="quantity" --></td>
                </tr>
        <!-- /TMPL_LOOP -->
</table>
<!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->



--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">
 <h1>Shopping Basket For: <!-- TMPL_VAR name="bookselname" --></h1>

<!-- TMPL_IF name ="testdonation" -->
        <a href="newbiblio.pl?id=<!-- TMPL_VAR name="id" -->&amp;basket=<!-- 
TMPL_VAR name="basket" -->&amp;sub=<!-- TMPL_VAR name="parsub" -->">Add New 
Biblio</a>
<!-- TMPL_ELSE -->
        <a href="newdonation.pl?id=<!-- TMPL_VAR name="id" -->&amp;basket=<!-- 
TMPL_VAR name="basket" -->&amp;sub=<!-- TMPL_VAR name="parsub" -->">Add New 
Biblio</a>
<!-- /TMPL_IF --> | <a href="basket.pl?basket=<!-- TMPL_VAR name="basket" 
-->">View Basket</a> | 
<form class="inline" action="/cgi-bin/koha/acqui/newbasket2.pl">
<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
<input type="hidden" name="basket" value="<!-- TMPL_VAR name="basket" -->" />
New Search: <input type="text"  size="25" name="search" /></form>


<h3>You searched for <span class="ex">
<!-- TMPL_LOOP name="loopsearch" -->
        <!-- TMPL_VAR name="key" --> <!-- TMPL_VAR name="value" -->
<!-- /TMPL_LOOP -->
</span>
</h3>
<div id="results">Results <!-- TMPL_VAR name="dispnum" --> to <!-- TMPL_VAR 
name="offset2" --> of <!-- TMPL_VAR name="count" --> results displayed.

<table>
        <tr>
                <th>Title</th>
                <th>Author</th>
                <th>&copy;</th>
                <th>Count</th>
                <th>Location</th>
        </tr>

<!-- TMPL_LOOP name="loopresult" -->
        <tr bgcolor="<!-- TMPL_VAR name="toggle" -->">
                <td>
                        <!-- TMPL_IF name="testdonation" -->
                                <a 
href="/cgi-bin/koha/acqui/newbiblio.pl?sub=<!-- TMPL_VAR name="sub" 
-->&amp;author=<!-- TMPL_VAR name="author2" -->&amp;copyright=<!-- TMPL_VAR 
name="copyright" -->&amp;id=<!-- TMPL_VAR name="id" -->&amp;basket=<!-- 
TMPL_VAR name="basket" -->&amp;biblio=<!-- TMPL_VAR name="biblionumber" 
-->&amp;title=<!-- TMPL_VAR name="title2" -->">
                                <!-- TMPL_VAR name="title" -->
                                </a>
                        <!-- TMPL_ELSE -->
                                <a 
href="/cgi-bin/koha/acqui/newdonation.pl?author=<!-- TMPL_VAR name="author2" 
-->&amp;copyright=<!-- TMPL_VAR name="copyright" -->&amp;id=<!-- TMPL_VAR 
name="id" -->&amp;basket=<!-- TMPL_VAR name="basket" -->&amp;biblio=<!-- 
TMPL_VAR name="biblionumber" -->&amp;title=<!-- TMPL_VAR name="title2" -->">
                                <!-- TMPL_VAR name="title" -->
                                </a>
                        <!-- /TMPL_IF -->
                </td>
                <td>
                        <a href="/cgi-bin/koha/search.pl?author=<!-- TMPL_VAR 
name="word" -->&amp;type=<!-- TMPL_VAR name="type" -->">
                        <!-- TMPL_VAR name="author" -->
                        </a>
                </td>
                <td>
                        <!-- TMPL_VAR name="copyright" -->
                </td>
                <td>
                        <!-- TMPL_VAR name="itemcount" -->
                </td>
                <td>
                        <!-- TMPL_VAR name="location" -->
                </td>
        </tr>

<!-- /TMPL_LOOP -->

</table>

<!-- TMPL_IF name="offsetover" -->
<a class="nav" href="/cgi-bin/koha/acqui/newbasket2.pl?num=<!-- TMPL_VAR 
name="num" -->&amp;offset=<!-- TMPL_VAR name="offset" -->&amp;type=<!-- 
TMPL_VAR name="type" -->&amp;id=<!-- TMPL_VAR name="id" -->&amp;basket=<!-- 
TMPL_VAR name="basket" -->&amp;search=<!-- TMPL_VAR name="title" 
-->&amp;author=<!-- TMPL_VAR name="author" -->">Next</a>
<!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="main-top-addbiblio.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav-brief.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>
<div id="main"><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 -->

<h1><!-- TMPL_VAR name="ordnum" --> - Order Details </h1>
<h2>Shopping Basket For: <!-- TMPL_VAR name="name" --></h2>
<a href="basket.pl?basket=<!-- TMPL_VAR name="basket" -->">View Basket</a>
<div class="details"><table>
        <caption>Catalogue Details</caption>
        <tr>
                <th>Title *</th>
                <td><input type="text" size="20" name="title" value="<!-- 
TMPL_VAR name="title" -->" /></td>
        </tr>
        <tr>
                <th>Author</th>
                <td><input type="text" size="20" name="author" value="<!-- 
TMPL_VAR name="author" -->" /></td>
        </tr>
        <tr>
        <th>Copyright Date</th>
        <td><input type="text" size="20" name="copyright" value="<!-- TMPL_VAR 
name="copyrightdate" -->" />
        </td>
        </tr>
        <tr>
                <th>Format</th>
                <td><!-- TMPL_VAR name="CGIitemtype" --></td>
        </tr>
        <tr>
                <th>ISBN</th>
                <td><input type="text" size="20" name="ISBN" value="<!-- 
TMPL_VAR name="isbn" -->"></td>
        </tr>
        <tr>
                <th>Series</th>
                <td><input type="text" size="20" name="Series" value="<!-- 
TMPL_VAR name="seriestitle" -->"></td>
        </tr>
        <tr valign="top">
                <th>Branch</th>
                <td><!-- TMPL_VAR name="CGIbranch" --></td>
        </tr>
</table></div>

<div class="details"><table>
        <caption>Accounting Details</caption>
        <tr>
                <th>Quantity</th>
                <td><input type="text" size="20" name="quantity" value="<!-- 
TMPL_VAR name="quantity" -->" onchange="update(this.form)" /></td>
        </tr>
        <tr>
                <th>Bookfund</th>
                <td><!-- TMPL_VAR name="CGIbookfund" --></td>
        </tr>
        <tr>
                <th>Suppliers List Price</th>
                <td><input type="text" size="20" name="list_price" value="<!-- 
TMPL_VAR name="listprice" -->" onchange="update(this.form)" /></td>
        </tr>
        <tr>
                <th>Replacement Cost <br><FONT SIZE=2></th>
                <td><input type="text" size="20" name="rrp" value="<!-- 
TMPL_VAR name="rrp" -->" onchange="update(this.form)" />
        </tr>
        <tr>
                <th>Budgeted Cost<BR><FONT SIZE=2>(ex GST, inc discount)</FONT> 
</th>
                <td><input type="text" size="20" name="ecost" value="<!-- 
TMPL_VAR name="ecost" -->" onchange="update(this.form)" /></td>
        </tr>
        <tr>
                <th>Budgeted GST</th>
                <td><input type="text" size="20" name="GST" value="" 
onchange="update(this.form)"></td>
        </tr>
        <tr>
                <th><B>BUDGETED TOTAL</B></th>
                <td><input type="text" size="20" name="total" value="" 
onchange="update(this.form)"></td>
        </tr>
        <tr class="highlight">
                <th>Actual Cost</th>
                <td><input type="text" size="20" name="cost" /></td>
        </tr>
        <tr class="highlight">
                <th>Invoice Number *</th>
                <td><input type="text" size="20" name="invoice" /></td>
        <tr>
                <th>Notes</th>
                <td><input type="text" size="20" name="notes" value="<!-- 
TMPL_VAR name="notes" -->" /></td>
        </tr>
</table></div>
<input type="submit" value="Submit" class="submit" />
</form>
<div class="notice"><h3>HELP</h3>
<UL>
<LI><B>Bold</B> 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>
</div></div>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->



--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main"><div class="results">You searched on <span class="ex">supplier 
<!-- TMPL_VAR name="supplier" -->,</span> <!-- TMPL_VAR name="count" --> 
results found</div>
<table>
<caption>Supplier Search Results</caption>
<tr>
        <th>Order</th>
        <th>Receive</th>
        <th>Company</th>
        <th>
                <table>
                        <tr>
                                <th>Basket</th>
                                <th>Items</th>
                                <th>Staff</th>
                                <th>Date</th>
                        </tr>
                </table>
        </th>
</tr>

<!-- TMPL_LOOP name="loop_suppliers" -->
        <tr>
                <td>
                        <a href="basket.pl?id=<!-- TMPL_VAR name=id -->"><img 
src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/mail_send.png" title="Add order" ALT="Add" border="0" ></a>
                </td>
                <td>
                        <a href="recieveorder.pl?id=<!-- TMPL_VAR name=id 
-->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/mail_get.png" title="receive" ALT="Add" border="0" ></a>
                </td>
                <td><a href="supplier.pl?id=<!-- TMPL_VAR name=id -->"><!-- 
TMPL_VAR name="name" --></a></td>
                <td>
                        <table>
                                <!-- TMPL_LOOP name="loop_basket" -->
                                        <tr>
                                                <td><a 
href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR name="basketno" 
-->"><!-- TMPL_VAR name="basketno" --></a></td>
                                                <td><TMPl_VAR name="total"></td>
                                                <td><!-- TMPL_VAR 
name="authorisedby" --></td>
                                                <td><!-- TMPL_VAR 
name="entrydate" --></td>
                                        </tr>
                                <!-- /TMPL_LOOP -->
                        </table>
        </tr>
<!-- /TMPL_LOOP -->
</table>
<form action="supplier.pl" method="get">
        <input type="hidden" name="id" value="0" />
        <input type="submit" class="submit" value="Add Supplier" /> 
</form>
</div><!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">

<h1>Receipt Summary for : <!-- TMPL_VAR name="name" -->, Invoice <!-- TMPL_VAR 
name="invoice" --></h1>
<ul>
<li>Invoice: <!-- TMPL_VAR name="invoice" --></li>
<li>Received By: <!-- TMPL_VAR name="user" --></li>
<li>Date: <!-- TMPL_VAR name="date" --></li>
</ul>

<form action="/cgi-bin/koha/acqui/acquire.pl">
<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
<input type="hidden" name="gst" value="<!-- TMPL_VAR name="gst" -->" />
<input type="hidden" name="freight" value="<!-- TMPL_VAR name="freight" -->" />
<input type="hidden" name="invoice" value="<!-- TMPL_VAR name="invoice" -->" />

<b>Search ISBN or Title:</b> <input type="text" size="25"   name="recieve" 
/><input type="submit" class="submit" value="Search" />
</form>

<form method="get" name="orderform">
<table>
        <tr>
                <th>Basket</th>
                <th>ISBN</th>
                <th>Title</th>
                <th>Author</th>
                <th>Actual</th>
                <th>P&amp;P</th>
                <th>Qty</th>
                <th>Total</th>
        </tr>
        <!-- TMPL_LOOP name="loop_orders" -->
                <tr>
                        <td><!-- TMPL_VAR name="basketno" --></td>
                        <td><!-- TMPL_VAR name="isbn" --></td>
                        <td><a href="acquire.pl?recieve=<!-- TMPL_VAR 
name="ordernumber" -->&amp;biblio=<!-- TMPL_VAR name="biblionumber" 
-->&amp;invoice=<!-- TMPL_VAR name="invoice" -->&amp;gst=<!-- TMPL_VAR 
name="gst" -->&amp;freight=<!-- TMPL_VAR name="freight" -->&amp;id=<!-- 
TMPL_VAR name="id" -->"><!-- TMPL_VAR name="title" --></a></td>
                        <td><!-- TMPL_VAR name="author" --></td>
                        <td>$<!-- TMPL_VAR name="unitprice" --></td>
                        <td>&nbsp;</td>
                        <td><!-- TMPL_VAR name="quantityrecieved" --></td>
                        <td>$<!-- TMPL_VAR name="total" --></td>
                </tr>
        <!-- /TMPL_LOOP -->
        <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><b>Subtotals</b></td>
                <td>$<!-- TMPL_VAR name="totalprice" --></td>
                <td><!-- TMPL_VAR name="totalfreight" --></td>
                <td><!-- TMPL_VAR name="totalquantity" --></td>
                <td>$<!-- TMPL_VAR name="tototal" --></td>
        </tr>
        <tr>
                <td colspan="5">
                <b>HELP</b>
                <p>
                The total at the bottom of the page should be within a few 
cents of the total for the invoice.</p>
                <p>When you have finished this invoice save the changes.</p>
                </td>
                <td colspan="2"><b>GST</b></td>
                <td>$<!-- TMPL_VAR name="gst" --></td>
        </tr>
        <tr>
                <td colspan="5">&nbsp;</td>
                <td colspan="2"><b>TOTAL</b></td>
                <td>$<!-- TMPL_VAR name="grandtot" --></td>
        </tr>
</table>

</div>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main">
<h1>Receive Orders From Supplier <a href="whitcoulls.html"><!-- TMPL_VAR 
name="name" --></a></h1>

<form method="get" action="receive.pl">
<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
<div class="details table">
<table>
<caption>Supplier Invoice Information</caption>
<tr >
<th>Supplier Invoice Number</th>
<td><input type="text" size="20" name="invoice" />
</td>
</tr>
<tr>
<th>GST</th>
<td><input type="text" size="20" name="gst" />
</td>
</tr>
<tr>
<th>Freight</th>
<td><input type="text" size="20" name="freight" />
</td>
</tr>
</table><input type="submit"  name="submit" class="submit" value="Save" />
</div>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE name="main-top.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->

<div id="main"><form action="updatesupplier.pl" method="post">

<input type="hidden" name="id" value=<!-- TMPL_VAR name="id" -->>

<!-- TMPL_IF NAME=id -->
        <h1>Update: <!-- TMPL_VAR name="name" --></h1>
<!-- TMPL_ELSE -->
        <h1>Add supplier</h1>
<!-- /TMPL_IF -->

<div class="details"><table>
        <caption>Company Details</caption>
        <tr>
                <th><label for="company">Company Name</label></td>
                <td><input type="text" size="20" id="company"  name="company" 
value="<!-- TMPL_VAR name="name" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="company_postal">Postal Address</label></th>
                <td>
                        <textarea name="company_postal" id="company_postal" 
cols="20" rows="3"><!-- TMPL_VAR name="postal" --></textarea>
                </td>
        </tr>
        <tr>
                <th><label for="physical">Physical Address</label></th>
                <td><textarea id="physical" name="physical" cols="20" 
rows="4"><!-- TMPL_VAR name="address1" --><!-- TMPL_VAR name="address2" --><!-- 
TMPL_VAR name="address3" --><!-- TMPL_VAR name="address4" --></textarea>
                </td>
        </tr>
        <tr>
                <th><label for="company_phone">Phone</label></th>
                <td><input type="text" size="20" id="company_phone" 
name="company_phone" value="<!-- TMPL_VAR name="phone" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="company_fax">Fax</label></th>
                <td><input type="text" size="20" id="company_fax" 
name="company_fax" value="<!-- TMPL_VAR name="fax" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="website">Web Site</label></th>
                <td><input type="text" size="20" name="website" id="website" 
value="<!-- TMPL_VAR name="url" -->" />
                </td>
        </tr>
</table></div>
<div class="details"><table>
<caption>Contact Details</caption>
        <tr>
                <th><label for="company_contact_name">Contact Name</label></th>
                <td><input type="text" size="20" id="company_contact_name" 
name="company_contact_name" value="<!-- TMPL_VAR name="contact" -->" /></td>
        </tr>
        <tr>
                <th><label for="company_contact_position">Position</label></th>
                <td><input type="text" size="20" id="company_contact_position" 
name="company_contact_position" value="<!-- TMPL_VAR name="contpos" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="contact_phone">Phone</label></th>
                <td><input type="text" size="20" id="contact_phone" 
name="contact_phone" value="<!-- TMPL_VAR name="contphone" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="contact_phone_2">Alternative Phone</label></th>
                <td><input type="text" size="20" id="conatct_phone_2" 
name="contact_phone_2" value="<!-- TMPL_VAR name="contaltphone" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="contact_fax">Fax</label></th>
                <td><input type="text" size="20" id="contact_fax"  
name="contact_fax" value="<!-- TMPL_VAR name="contfax" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="company_email">E-mail</label></th>
                <td><input type="text" size="20" id="company_email" 
name="company_email" value="<!-- TMPL_VAR name="contemail" -->" />
                </td>
        </tr>
        <tr>
                <th><label for="notes">Notes</label></th>
                <td><textarea id="notes" name="notes" cols="20" rows="4"><!-- 
TMPL_VAR name="contnotes" --></textarea>
                </td>
        </tr>
</table></div>

<div class="details"><table>
        <caption>Current Status</caption>
        <tr>
                <th><label for="status">Supplier is</label></th>
                <td><input type="radio" id="status" name="status" value="1"<!-- 
TMPL_IF name="active" --> checked="checked"<!-- /TMPL_IF --> />Active
                        <input type="radio" name="status" value="0"<!-- 
TMPL_UNLESS name="active" --> checked="checked"<!-- /TMPL_UNLESS --> 
/>Inactive</td>
        </tr>
</table></div>

<div class="details">
<table>
        <caption>Ordering Information</caption>
        <tr>
                <th><label for="publishers_imprints">Publishers and 
Imprints</label></th>
                <td><textarea name="publishers_imprints" 
id="publishers_imprints" cols="20" rows="4"><!-- TMPL_VAR name="specialty" 
--></textarea>
                </td>
        </tr>
        <tr>
                <th><label for="list_currency">List Prices are</label></th>
                <td>
                        <select name="list_currency" id="list_currency" 
size="1">
                        <!-- TMPL_LOOP name="loop_pricescurrency" -->
                                <!-- TMPL_VAR name="currency" -->
                        <!-- /TMPL_LOOP -->
                        </select>
                </td>
        </tr>
        <tr>
                <th><label for="invoice_currency">Invoice Prices 
are</label></th>
                <td>
                        <select name="invoice_currency" id="invoice_currency" 
size="1">
                        <!-- TMPL_LOOP name="loop_invoicecurrency" -->
                                <!-- TMPL_VAR name="currency" -->
                        <!-- /TMPL_LOOP -->
                        </select>
                </td>
        </tr>
        <tr>
                <th><label for="gst">GST Registered</label></th>
                <td>
                        <input type="radio" id="gst" name="gst" value="1"<!-- 
TMPL_IF name="gstreg" --> checked="checked"<!-- /TMPL_IF --> />Yes
                        <input type="radio" name="gst" value="0"<!-- 
TMPL_UNLESS name="gstreg" --> checked="checked"<!-- /TMPL_UNLESS --> />No
                </td>
        </tr>
        <tr>
                <th><label for="list_gst">List Item Price Includes 
GST</label></th>
                <td>
                        <input type="radio" id="list_gst" name="list_gst"<!-- 
TMPL_IF name="listincgst" --> checked="checked"<!-- /TMPL_IF --> />Yes
                        <input type="radio" name="list_gst" value="0"<!-- 
TMPL_UNLESS name="listincgst" --> checked="checked"<!-- /TMPL_UNLESS --> />No
                </td>
        </tr>
        <tr>
                <th><label for="invoice_gst">Invoice Item Price Includes 
GST</label></th>
                <td>
                        <input type="radio" id="invoice_gst" name="invoice_gst" 
value="1"<!-- TMPL_IF name= "invoiceincgst" --> checked="checked"<!-- /TMPL_IF 
--> />Yes
                        <input type="radio" name="invoice_gst" value="0"<!-- 
TMPL_UNLESS name="invoiceincgst" --> checked="checked"<!-- /TMPL_UNLESS --> />No
                </td>
        </tr>
        <tr>
                <th><label for="discount">Discount</label></th>
                <td><input type="text" size="3" id="discount" name="discount" 
value="<!-- TMPL_VAR name="discount" -->" /> %
        </tr>
</table>
</div>
<input type="submit" value="Save Changes" class="submit" />
</form>
</div>

<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]