Bug 20719: USE Branches in TT files
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / mancredit.tt
1 [% USE Asset %]
2 [% USE Koha %]
3 [% USE Branches %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha &rsaquo; Patrons &rsaquo; Create manual credit</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 </head>
9
10 <body id="pat_mancredit" class="pat">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'patron-search.inc' %]
13
14 <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>
15
16 <div id="doc3" class="yui-t2">
17    
18    <div id="bd">
19         <div id="yui-main">
20         <div class="yui-b">
21 [% INCLUDE 'members-toolbar.inc' %]
22
23 <!-- The manual invoice and credit buttons -->
24 <div class="statictabs">
25 <ul>
26     <li><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Account</a></li>
27     <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]" >Pay fines</a></li>
28     <li><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber %]" >Create manual invoice</a></li>
29     <li class="active"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber %]" >Create manual credit</a></li>
30 </ul>
31 <div class="tabs-container">
32
33 <form action="/cgi-bin/koha/members/mancredit.pl" method="post" id="mancredit">
34 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" />
35
36 <fieldset class="rows">
37 <legend>Manual credit</legend><ol>
38         <li><label for="type">Credit type: </label><select name="type" id="type">
39 <option value="C">Credit</option>
40 <option value="FOR">Forgiven</option>
41 </select></li>
42         <li><label for="barcode">Barcode: </label><input type="text" name="barcode" id="barcode" /></li>
43         <li><label for="desc">Description: </label><input type="text" name="desc" size="50" id="desc" /></li>
44     <li><label for="note">Note: </label><input type="text" name="note" size="50" id="note" /></li>
45     <li><label for="amount">Amount: </label><input type="number" name="amount" id="amount" required="required" value="" step="any" min="0" /> Example: 5.00</li>
46 </ol></fieldset>
47
48 <fieldset class="action"><input type="submit" name="add" value="Add credit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a></fieldset>
49 </form>
50
51 </div></div>
52
53 </div>
54 </div>
55
56 <div class="yui-b">
57 [% INCLUDE 'circ-menu.inc' %]
58 </div>
59 </div>
60
61 [% MACRO jsinclude BLOCK %]
62     [% Asset.js("js/members-menu.js") %]
63     <script type="text/javascript">
64         $(document).ready(function(){
65             $('#mancredit').preventDoubleFormSubmit();
66             $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit");
67         });
68     </script>
69 [% END %]
70
71 [% INCLUDE 'intranet-bottom.inc' %]