|
Lines 11-17
Link Here
|
| 11 |
<body id="pat_paycollect" class="pat"> |
11 |
<body id="pat_paycollect" class="pat"> |
| 12 |
[% INCLUDE 'header.inc' %] |
12 |
[% INCLUDE 'header.inc' %] |
| 13 |
[% INCLUDE 'patron-search.inc' %] |
13 |
[% INCLUDE 'patron-search.inc' %] |
| 14 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">Pay fines for [% patron.firstname %] [% patron.surname %]</a> › [% IF ( pay_individual ) %]Pay an individual fine[% ELSIF ( writeoff_individual ) %]Write off an individual fine[% ELSE %][% IF ( selected_accts ) %]Pay an amount toward selected fines[% ELSE %]Pay an amount toward all fines[% END %][% END %]</div> |
14 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">Pay fines for [% patron.firstname %] [% patron.surname %]</a> › [% IF ( pay_individual ) %]Pay an individual fine[% ELSIF ( writeoff_individual ) %]Write off an individual fine[% ELSE %][% IF ( selected_accts ) %][% IF type == 'write off' %]Write off an amount toward selected fines[% ELSE %]Pay an amount toward selected fines[% END %][% ELSE %]Pay an amount toward all fines[% END %][% END %]</div> |
| 15 |
|
15 |
|
| 16 |
<div id="doc3" class="yui-t2"> |
16 |
<div id="doc3" class="yui-t2"> |
| 17 |
|
17 |
|
|
Lines 153-168
Link Here
|
| 153 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" /> |
153 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 154 |
<input type="hidden" name="selected_accts" id="selected_accts" value="[% selected_accts %]" /> |
154 |
<input type="hidden" name="selected_accts" id="selected_accts" value="[% selected_accts %]" /> |
| 155 |
<input type="hidden" name="total" id="total" value="[% total %]" /> |
155 |
<input type="hidden" name="total" id="total" value="[% total %]" /> |
|
|
156 |
<input type="hidden" name="type" value="[% type %]" /> |
| 156 |
|
157 |
|
| 157 |
<fieldset class="rows"> |
158 |
<fieldset class="rows"> |
| 158 |
[% IF ( selected_accts ) %]<legend>Pay an amount toward selected fines</legend>[% ELSE %]<legend>Pay an amount toward all fines</legend>[% END %] |
159 |
[% IF ( selected_accts ) %] |
|
|
160 |
[% IF type == 'writeoff' %] |
| 161 |
<legend>Write off an amount toward selected fines</legend> |
| 162 |
[% ELSE %] |
| 163 |
<legend>Pay an amount toward selected fines</legend> |
| 164 |
[% END %] |
| 165 |
[% ELSE %] |
| 166 |
<legend>Pay an amount toward all fines</legend> |
| 167 |
[% END %] |
| 168 |
|
| 159 |
<ol> |
169 |
<ol> |
| 160 |
<li> |
170 |
<li> |
| 161 |
<span class="label">Total amount outstanding: </span> |
171 |
<span class="label">Total amount outstanding: </span> |
| 162 |
<span class="debit">[% total | format('%.2f') %]</span> |
172 |
<span class="debit">[% total | format('%.2f') %]</span> |
| 163 |
</li> |
173 |
</li> |
| 164 |
<li> |
174 |
<li> |
| 165 |
<label for="paid">Collect from patron: </label> |
175 |
[% IF type == 'writeoff' %] |
|
|
176 |
<label for="paid">Writeoff amount: </label> |
| 177 |
[% ELSE %] |
| 178 |
<label for="paid">Collect from patron: </label> |
| 179 |
[% END %] |
| 166 |
<!-- default to paying all --> |
180 |
<!-- default to paying all --> |
| 167 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
181 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
| 168 |
</li> |
182 |
</li> |
|
Lines 184-191
Link Here
|
| 184 |
</li> |
198 |
</li> |
| 185 |
</ol> |
199 |
</ol> |
| 186 |
</fieldset> |
200 |
</fieldset> |
| 187 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |
201 |
<div class="action"> |
| 188 |
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a></div> |
202 |
<input type="submit" name="submitbutton" value="Confirm" /> |
|
|
203 |
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a> |
| 204 |
</div> |
| 189 |
</form> |
205 |
</form> |
| 190 |
[% END %] |
206 |
[% END %] |
| 191 |
</div></div> |
207 |
</div></div> |