Lines 79-84
Link Here
|
79 |
</div> |
79 |
</div> |
80 |
[% ELSE %] |
80 |
[% ELSE %] |
81 |
|
81 |
|
|
|
82 |
<ul class="nav nav-pills"> |
83 |
<li role="presentation" class="active"><a>Pay</a></li> |
84 |
<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> |
85 |
</ul> |
86 |
|
82 |
<form name="payindivfine" id="payindivfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
87 |
<form name="payindivfine" id="payindivfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
83 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
88 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
84 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
89 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 157-162
Link Here
|
157 |
</form> |
162 |
</form> |
158 |
[% END %] |
163 |
[% END %] |
159 |
[% ELSIF ( writeoff_individual ) %] |
164 |
[% ELSIF ( writeoff_individual ) %] |
|
|
165 |
<ul class="nav nav-pills"> |
166 |
<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> |
167 |
<li role="presentation" class="active"><a>Write off</a></li> |
168 |
</ul> |
169 |
|
160 |
<form name="woindivfine" id="woindivfine" action="/cgi-bin/koha/members/pay.pl" method="post" > |
170 |
<form name="woindivfine" id="woindivfine" action="/cgi-bin/koha/members/pay.pl" method="post" > |
161 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
171 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
162 |
<fieldset class="rows"> |
172 |
<fieldset class="rows"> |
Lines 210-215
Link Here
|
210 |
</div> |
220 |
</div> |
211 |
[% ELSE %] |
221 |
[% ELSE %] |
212 |
|
222 |
|
|
|
223 |
[% IF selected_accts %] |
224 |
<ul class="nav nav-pills"> |
225 |
[% IF type == 'WRITEOFF' %] |
226 |
<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> |
227 |
<li role="presentation" class="active"><a>Write off</a></li> |
228 |
[% ELSE %] |
229 |
<li role="presentation" class="active"><a>Pay</a></li> |
230 |
<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> |
231 |
[% END %] |
232 |
</ul> |
233 |
[% END %] |
234 |
|
213 |
<form name="payfine" id="payfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
235 |
<form name="payfine" id="payfine" method="post" action="/cgi-bin/koha/members/paycollect.pl"> |
214 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
236 |
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> |
215 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
237 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
216 |
- |
|
|