Lines 73-78
Link Here
|
73 |
</div> |
73 |
</div> |
74 |
[% ELSE %] |
74 |
[% ELSE %] |
75 |
|
75 |
|
|
|
76 |
<ul class="nav nav-pills"> |
77 |
<li role="presentation" class="active"><a>Pay</a></li> |
78 |
<li role="presentation"><a href="/cgi-bin/koha/members/paycollect.pl?writeoff_individual=1&borrowernumber=[% patron.borrowernumber | uri %]&debit_type_code=[% debit_type_code | uri %]&amount=[% amount | uri %]&amountoutstanding=[% amountoutstanding | uri %]&description=[% individual_description | uri %]&itemnumber=[% itemnumber | uri %]&accountlines_id=[% accountlines_id | uri %]&payment_note=[% payment_note | uri %]">Write off</a></li> |
79 |
</ul> |
80 |
|
76 |
<form name="payindivfine" id="payindivfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
81 |
<form name="payindivfine" id="payindivfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
77 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
82 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
78 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
83 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 163-168
Link Here
|
163 |
</form> |
168 |
</form> |
164 |
[% END %] |
169 |
[% END %] |
165 |
[% ELSIF ( writeoff_individual ) %] |
170 |
[% ELSIF ( writeoff_individual ) %] |
|
|
171 |
<ul class="nav nav-pills"> |
172 |
<li role="presentation"><a href="/cgi-bin/koha/members/paycollect.pl?pay_individual=1&borrowernumber=[% patron.borrowernumber | uri %]&debit_type_code=[% debit_type_code | uri %]&amount=[% amount | uri %]&amountoutstanding=[% amountoutstanding | uri %]&description=[% individual_description | uri %]&itemnumber=[% itemnumber | uri %]&accountlines_id=[% accountlines_id | uri %]&payment_note=[% payment_note | uri %]">Pay</a></li> |
173 |
<li role="presentation" class="active"><a>Write off</a></li> |
174 |
</ul> |
175 |
|
166 |
<form name="woindivfine" id="woindivfine" action="/cgi-bin/koha/members/pay.pl" method="post" > |
176 |
<form name="woindivfine" id="woindivfine" action="/cgi-bin/koha/members/pay.pl" method="post" > |
167 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
177 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
168 |
<fieldset class="rows"> |
178 |
<fieldset class="rows"> |
Lines 215-220
Link Here
|
215 |
</div> |
225 |
</div> |
216 |
[% ELSE %] |
226 |
[% ELSE %] |
217 |
|
227 |
|
|
|
228 |
[% IF selected_accts %] |
229 |
<ul class="nav nav-pills"> |
230 |
[% IF type == 'WRITEOFF' %] |
231 |
<li role="presentation"><a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% patron.borrowernumber | uri %]&type=PAYMENT&amt=[% amt | uri %]&selected=[% selected_accts | uri %]¬es=[% selected_accts_notes | uri %]">Pay</a></li> |
232 |
<li role="presentation" class="active"><a>Write off</a></li> |
233 |
[% ELSE %] |
234 |
<li role="presentation" class="active"><a>Pay</a></li> |
235 |
<li role="presentation"><a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% patron.borrowernumber | uri %]&type=WRITEOFF&amt=[% amt | uri %]&selected=[% selected_accts | uri %]¬es=[% selected_accts_notes | uri %]">Write off</a></li> |
236 |
[% END %] |
237 |
</ul> |
238 |
[% END %] |
239 |
|
218 |
<form name="payfine" id="payfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
240 |
<form name="payfine" id="payfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
219 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
241 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
220 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
242 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
221 |
- |
|
|