1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Borrowers › Create Manual Invoice</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
6 $(document).ready(function(){
7 $("fieldset.rows input").keydown(function(e){ return checkEnter(e); });
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Manual Invoice</div>
18 <div id="doc3" class="yui-t2">
23 <!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
25 <!-- The manual invoice and credit buttons -->
27 <ul class="ui-tabs-nav">
28 <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Account</a></li>
29 <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Pay fines</a></li>
30 <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Create Manual Invoice</a></li>
31 <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Create Manual Credit</a></li>
33 <div class="tabs-container">
35 <!-- TMPL_IF NAME="ERROR" -->
36 <!-- TMPL_IF NAME="ITEMNUMBER" -->
37 ERROR an invalid itemnumber was entered, please hit back and try again
40 <form action="/cgi-bin/koha/members/maninvoice.pl" method="post"><input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
41 <fieldset class="rows">
42 <legend>Manual Invoice</legend>
45 <script type="text/javascript">
46 var type_fees = new Array();
52 <!-- TMPL_LOOP NAME="invoice_types_loop" -->
53 type_fees['<!-- TMPL_VAR NAME="authorised_value" -->'] = "<!-- TMPL_VAR NAME="lib" -->";
56 <label for="type">Type: </label>
57 <select name="type" id="type" onchange="this.form.desc.value=this.options[this.selectedIndex].value; this.form.amount.value=type_fees[this.options[this.selectedIndex].value];">
58 <option value="L">Lost Item</option>
59 <option value="F">Fine</option>
60 <option value="A">Account Management Fee</option>
61 <option value="N">New Card</option>
62 <option value="M">Sundry</option>
63 <!-- TMPL_LOOP NAME="invoice_types_loop" -->
64 <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!--TMPL_VAR NAME="authorised_value" --></option>
68 <li><label for="barcode">Barcode: </label><input type="text" name="barcode" id="barcode" /></li>
69 <li><label for="desc">Description: </label><input type="text" name="desc" id="desc" size="50" /></li>
70 <li><label for="amount">Amount: </label><input type="text" name="amount" id="amount" /> Example: 5.00</li>
72 <fieldset class="action"><input type="submit" name="add" value="Save" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset>
82 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
85 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->