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