Usability change: Added example of 5.00 to fines/manual credit and fines/manual invoi...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / mancredit.tmpl
index 2e3f751..d6ea3f4 100644 (file)
@@ -4,7 +4,7 @@
 </head>
 <body>
 <!-- TMPL_INCLUDE NAME="header.inc" -->
-<!-- TMPL_INCLUDE NAME="members-search.inc" -->
+<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
 
 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; Manual Credit</div>
 
    <div id="bd">
        <div id="yui-main">
        <div class="yui-b">
+<!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
+
+<!-- The manual invoice and credit buttons -->
+<div class="toptabs">
+<ul class="ui-tabs-nav">
+       <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Account</a></li>
+       <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Pay fines</a></li>
+       <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Create Manual Invoice</a></li>
+       <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" >Create Manual Credit</a></li>
+</ul>
+<div class="tabs-container">
 
-<h2>Manual Credit</h2>
 <form action="/cgi-bin/koha/members/mancredit.pl" method="post">
-<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
+<input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" />
 
-<table>
-       <tr><th scope="row">Patron Number</th><td><!-- TMPL_VAR Name="borrowernumber" --></td></tr>
-       <tr><th scope="row">Credit Type</th><td><select name="type">
+<fieldset class="rows">
+<legend>Manual Credit</legend><ol>
+       <li><label for="type">Credit Type: </label><select name="type" id="type">
 <option value="C">Credit</option>
-<option value="F">Forgiven</option>
-</select></td></tr>
-       <tr><th scope="row">Itemnumber</th><td><input type="text" name="itemnum" /></td></tr>
-       <tr><th scope="row">Description</th><td><input type="text" name="desc" size="50" /></td></tr>
-       <tr><th scope="row">Amount</th><td>$<input type="text" name="amount" /></td></tr>
-</table>
-
-<input type="submit" name="add" value="Add Credit" />
+<option value="FOR">Forgiven</option>
+</select></li>
+       <li><label for="barcode">Barcode: </label><input type="text" name="barcode" id="barcode" /></li>
+       <li><label for="desc">Description: </label><input type="text" name="desc" size="50" id="desc" /></li>
+       <li><label for="amount">Amount: </label><input type="text" name="amount" id="amount" /> Example: 5.00</li>
+</ol></fieldset>
+
+<fieldset class="action"><input type="submit" name="add" value="Add Credit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset>
 </form>
 
-<form action="/cgi-bin/koha/members/boraccount.pl" method="get"><input type="hidden" value="<!-- TMPL_VAR Name="borrowernumber" -->" name="borrowernumber" /><input type="submit" value="Cancel" /></form>
-
+</div></div>
 
 </div>
 </div>
 
 <div class="yui-b">
-<!-- TMPL_INCLUDE NAME="members-menu.inc" -->
+<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
 </div>
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->