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