Bug 8215 - Course Reserves
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / maninvoice.tt
index 62045a9..30a4e20 100644 (file)
@@ -1,10 +1,11 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Borrowers &rsaquo; Create Manual Invoice</title>
+<title>Koha &rsaquo; Borrowers &rsaquo; Create manual invoice</title>
 [% INCLUDE 'doc-head-close.inc' %]
 <script type="text/javascript">
 //<![CDATA[
 $(document).ready(function(){
-       $("fieldset.rows input").keydown(function(e){ return checkEnter(e); });
+        $('#maninvoice').preventDoubleFormSubmit();
+        $("fieldset.rows input").addClass("noEnterSubmit");
 });
 //]]>
 </script>
@@ -23,11 +24,11 @@ $(document).ready(function(){
 [% INCLUDE 'members-toolbar.inc' %]
 
 <!-- The manual invoice and credit buttons -->
-<div class="toptabs">
-<ul class="ui-tabs-nav">
+<div class="statictabs">
+<ul>
        <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Account</a></li>
        <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" >Pay fines</a></li>
-       <li class="ui-tabs-selected"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li>
+    <li class="active"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% borrowernumber %]" >Create manual invoice</a></li>
        <li><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% borrowernumber %]" >Create manual credit</a></li>
 </ul>
 <div class="tabs-container">
@@ -37,7 +38,7 @@ $(document).ready(function(){
   ERROR an invalid itemnumber was entered, please hit back and try again
 [% END %]
 [% ELSE %]
-<form action="/cgi-bin/koha/members/maninvoice.pl" method="post"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
+<form action="/cgi-bin/koha/members/maninvoice.pl" method="post" id="maninvoice"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
        <fieldset class="rows">
        <legend>Manual Invoice</legend>
        <ol>
@@ -55,10 +56,10 @@ type_fees['[% invoice_types_loo.authorised_value %]'] = "[% invoice_types_loo.li
 </script>
         <label for="type">Type: </label>
         <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];">
-          <option value="L">Lost Item</option>
+          <option value="L">Lost item</option>
           <option value="F">Fine</option>
-          <option value="A">Account Management Fee</option>
-          <option value="N">New Card</option>
+          <option value="A">Account management fee</option>
+          <option value="N">New card</option>
           <option value="M">Sundry</option>
           [% FOREACH invoice_types_loo IN invoice_types_loop %]
             <option value="[% invoice_types_loo.authorised_value %]">[% invoice_types_loo.authorised_value %]</option>