|
Lines 12-18
Link Here
|
| 12 |
<body id="pat_paycollect" class="pat"> |
12 |
<body id="pat_paycollect" class="pat"> |
| 13 |
[% INCLUDE 'header.inc' %] |
13 |
[% INCLUDE 'header.inc' %] |
| 14 |
[% INCLUDE 'patron-search.inc' %] |
14 |
[% INCLUDE 'patron-search.inc' %] |
| 15 |
<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> |
15 |
<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> |
| 16 |
|
16 |
|
| 17 |
<div id="doc3" class="yui-t2"> |
17 |
<div id="doc3" class="yui-t2"> |
| 18 |
|
18 |
|
|
Lines 158-173
Link Here
|
| 158 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" /> |
158 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 159 |
<input type="hidden" name="selected_accts" id="selected_accts" value="[% selected_accts %]" /> |
159 |
<input type="hidden" name="selected_accts" id="selected_accts" value="[% selected_accts %]" /> |
| 160 |
<input type="hidden" name="total" id="total" value="[% total %]" /> |
160 |
<input type="hidden" name="total" id="total" value="[% total %]" /> |
|
|
161 |
<input type="hidden" name="type" value="[% type %]" /> |
| 161 |
|
162 |
|
| 162 |
<fieldset class="rows"> |
163 |
<fieldset class="rows"> |
| 163 |
[% IF ( selected_accts ) %]<legend>Pay an amount toward selected fines</legend>[% ELSE %]<legend>Pay an amount toward all fines</legend>[% END %] |
164 |
[% IF ( selected_accts ) %] |
|
|
165 |
[% IF type == 'writeoff' %] |
| 166 |
<legend>Write off an amount toward selected fines</legend> |
| 167 |
[% ELSE %] |
| 168 |
<legend>Pay an amount toward selected fines</legend> |
| 169 |
[% END %] |
| 170 |
[% ELSE %] |
| 171 |
<legend>Pay an amount toward all fines</legend> |
| 172 |
[% END %] |
| 173 |
|
| 164 |
<ol> |
174 |
<ol> |
| 165 |
<li> |
175 |
<li> |
| 166 |
<span class="label">Total amount outstanding: </span> |
176 |
<span class="label">Total amount outstanding: </span> |
| 167 |
<span class="debit">[% total | format('%.2f') %]</span> |
177 |
<span class="debit">[% total | format('%.2f') %]</span> |
| 168 |
</li> |
178 |
</li> |
| 169 |
<li> |
179 |
<li> |
| 170 |
<label for="paid">Collect from patron: </label> |
180 |
[% IF type == 'writeoff' %] |
|
|
181 |
<label for="paid">Writeoff amount: </label> |
| 182 |
[% ELSE %] |
| 183 |
<label for="paid">Collect from patron: </label> |
| 184 |
[% END %] |
| 171 |
<!-- default to paying all --> |
185 |
<!-- default to paying all --> |
| 172 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
186 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
| 173 |
</li> |
187 |
</li> |
|
Lines 189-196
Link Here
|
| 189 |
</li> |
203 |
</li> |
| 190 |
</ol> |
204 |
</ol> |
| 191 |
</fieldset> |
205 |
</fieldset> |
| 192 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |
206 |
<div class="action"> |
| 193 |
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a></div> |
207 |
<input type="submit" name="submitbutton" value="Confirm" /> |
|
|
208 |
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a> |
| 209 |
</div> |
| 194 |
</form> |
210 |
</form> |
| 195 |
[% END %] |
211 |
[% END %] |
| 196 |
</div></div> |
212 |
</div></div> |