Lines 7-12
Link Here
|
7 |
[% PROCESS 'payments.inc' %] |
7 |
[% PROCESS 'payments.inc' %] |
8 |
[% PROCESS 'accounts.inc' %] |
8 |
[% PROCESS 'accounts.inc' %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
|
|
10 |
[% BLOCK cash_register_required %] |
11 |
<div id="error_message" class="dialog message"> |
12 |
<p> |
13 |
You must have at least one cash register associated with the library before you can record payments. |
14 |
</p> |
15 |
[% IF ( CAN_user_parameters_manage_cash_registers ) %] |
16 |
<form action="/cgi-bin/koha/admin/cash_registers.pl" method="get"> |
17 |
<input type="hidden" name="op" value="add_form" /> |
18 |
<button class="new" type="submit"><i class="fa fa-plus"></i> Create a new cash register</button> |
19 |
</form> |
20 |
[% END %] |
21 |
</div> |
22 |
[% END %] |
10 |
<title>Koha › Patrons › |
23 |
<title>Koha › Patrons › |
11 |
[% IF type == 'WRITEOFF' %] |
24 |
[% IF type == 'WRITEOFF' %] |
12 |
Write off an amount for [% patron.firstname | html %] [% patron.surname | html %] |
25 |
Write off an amount for [% patron.firstname | html %] [% patron.surname | html %] |
Lines 74-82
Link Here
|
74 |
|
87 |
|
75 |
[% IF ( pay_individual ) %] |
88 |
[% IF ( pay_individual ) %] |
76 |
[% IF ( error_registers ) %] |
89 |
[% IF ( error_registers ) %] |
77 |
<div id="error_message" class="dialog alert"> |
90 |
[% PROCESS 'cash_register_required' %] |
78 |
You must have at least one cash register associated with this branch before you can record payments. |
|
|
79 |
</div> |
80 |
[% ELSE %] |
91 |
[% ELSE %] |
81 |
|
92 |
|
82 |
<ul class="nav nav-pills"> |
93 |
<ul class="nav nav-pills"> |
Lines 215-223
Link Here
|
215 |
</form> |
226 |
</form> |
216 |
[% ELSE %] |
227 |
[% ELSE %] |
217 |
[% IF ( error_registers && type != 'writeoff' ) %] |
228 |
[% IF ( error_registers && type != 'writeoff' ) %] |
218 |
<div id="error_message" class="dialog alert"> |
229 |
[% PROCESS 'cash_register_required' %] |
219 |
You must have at least one cash register associated with this branch before you can record payments. |
|
|
220 |
</div> |
221 |
[% ELSE %] |
230 |
[% ELSE %] |
222 |
|
231 |
|
223 |
[% IF selected_accts %] |
232 |
[% IF selected_accts %] |