View | Details | Raw Unified | Return to bug 7969
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-9 / +11 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Patrons &rsaquo; Pay Fines for  [% borrower.firstname %] [% borrower.surname %]</title>
2
<title>Koha &rsaquo; Patrons &rsaquo; Pay Fines for  [% borrower.firstname %] [% borrower.surname %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
4
<script type= "text/javascript">
5
<script type= "text/javascript">
5
//<![CDATA[
6
//<![CDATA[
6
    $(document).ready(function(){
7
    $(document).ready(function(){
Lines 10-15 Link Here
10
                    event.preventDefault();
11
                    event.preventDefault();
11
                }
12
                }
12
        });
13
        });
14
        $('#CheckAll').click(function(){ $("#finest").checkCheckboxes(); return false;});
15
        $('#CheckNone').click(function(){ $("#finest").unCheckCheckboxes(); return false;});
13
    });
16
    });
14
//]]>
17
//]]>
15
</script>
18
</script>
Lines 40-51 Link Here
40
[% IF ( accounts ) %]
43
[% IF ( accounts ) %]
41
    <form action="/cgi-bin/koha/members/pay.pl" method="post">
44
    <form action="/cgi-bin/koha/members/pay.pl" method="post">
42
	<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrower.borrowernumber %]" />
45
	<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrower.borrowernumber %]" />
43
46
<p><span class="checkall"><a id="CheckAll" href="#">Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#">Clear all</a></span></p>
44
<table>
47
<table id="finest">
45
<thead>
48
<thead>
46
<tr>
49
<tr>
50
    <th>&nbsp;</th>
47
    <th>Fines &amp; charges</th>
51
    <th>Fines &amp; charges</th>
48
    <th>Sel</th>
49
	<th>Description</th>
52
	<th>Description</th>
50
    <th>Account type</th>
53
    <th>Account type</th>
51
	<th>Notify id</th>
54
	<th>Notify id</th>
Lines 66-71 Link Here
66
<tr>
69
<tr>
67
    <td>
70
    <td>
68
    [% IF ( line.amountoutstanding > 0 ) %]
71
    [% IF ( line.amountoutstanding > 0 ) %]
72
        <input type="checkbox" checked="checked" name="incl_par_[% line.accountno %]" />
73
    [% END %]
74
    </td>
75
    <td>
76
    [% IF ( line.amountoutstanding > 0 ) %]
69
        <input type="submit" name="pay_indiv_[% line.accountno %]" value="Pay" />
77
        <input type="submit" name="pay_indiv_[% line.accountno %]" value="Pay" />
70
        <input type="submit" name="wo_indiv_[% line.accountno %]" value="Write off" />
78
        <input type="submit" name="wo_indiv_[% line.accountno %]" value="Write off" />
71
    [% END %]
79
    [% END %]
Lines 81-91 Link Here
81
    <input type="hidden" name="notify_level[% line.accountno %]" value="[% line.notify_level %]" />
89
    <input type="hidden" name="notify_level[% line.accountno %]" value="[% line.notify_level %]" />
82
    <input type="hidden" name="totals[% line.accountno %]" value="[% line.totals %]" />
90
    <input type="hidden" name="totals[% line.accountno %]" value="[% line.totals %]" />
83
    </td>
91
    </td>
84
    <td>
85
    [% IF ( line.amountoutstanding > 0 ) %]
86
        <input type="checkbox" checked="checked" name="incl_par_[% line.accountno %]" />
87
    [% END %]
88
    </td>
89
    <td>[% line.description %] ([% line.title |html_entity %])</td>
92
    <td>[% line.description %] ([% line.title |html_entity %])</td>
90
    <td>[% line.accounttype %]</td>
93
    <td>[% line.accounttype %]</td>
91
    <td>[% line.notify_id %]</td>
94
    <td>[% line.notify_id %]</td>
92
- 

Return to bug 7969