Lines 24-32
Link Here
|
24 |
<span class="circ-hlt">Expiration:</span> |
24 |
<span class="circ-hlt">Expiration:</span> |
25 |
<span>Patron's card expires on [% patron.dateexpiry | $KohaDates %].</span> |
25 |
<span>Patron's card expires on [% patron.dateexpiry | $KohaDates %].</span> |
26 |
[% IF ( moremember ) %] |
26 |
[% IF ( moremember ) %] |
27 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=member&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=member&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
27 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=member&reregistration=y">Renew</a> or |
|
|
28 |
<a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=member&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
28 |
[% ELSE %] |
29 |
[% ELSE %] |
29 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
30 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or |
|
|
31 |
<a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
30 |
[% END %] |
32 |
[% END %] |
31 |
</li> |
33 |
</li> |
32 |
[% END %] |
34 |
[% END %] |
Lines 45-53
Link Here
|
45 |
<span>Patron's card expired on [% expiry | $KohaDates %]</span> |
47 |
<span>Patron's card expired on [% expiry | $KohaDates %]</span> |
46 |
[% END %] |
48 |
[% END %] |
47 |
[% IF ( moremember ) %] |
49 |
[% IF ( moremember ) %] |
48 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=member&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=member&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
50 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=member&reregistration=y">Renew</a> or |
|
|
51 |
<a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=member&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
49 |
[% ELSE %] |
52 |
[% ELSE %] |
50 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
53 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or |
|
|
54 |
<a href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=[% patron.borrowernumber | uri %]">Edit details</a> |
51 |
[% END %] |
55 |
[% END %] |
52 |
</li> |
56 |
</li> |
53 |
[% END %] |
57 |
[% END %] |
Lines 62-69
Link Here
|
62 |
[% IF CAN_user_borrowers_edit_borrowers %] |
66 |
[% IF CAN_user_borrowers_edit_borrowers %] |
63 |
<span> |
67 |
<span> |
64 |
<a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | uri %]">Change password</a> |
68 |
<a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | uri %]">Change password</a> |
65 |
<span data-bs-toggle="tooltip" title="Resetting password will remove lock on account" data-bs-placement="right" class="fa fa-info-circle" /> |
69 |
<span data-bs-toggle="tooltip" title="Resetting password will remove lock on account" data-bs-placement="right" class="fa fa-info-circle"> </span> |
66 |
or <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&resetloginattempts=y">Reset login attempts</a> |
70 |
or <button class="btn btn-xs btn-default" class="reset-login" data-bs-toggle="modal" data-bs-target="#resetAttemptsModal"> <i class="fa fa-eraser"></i> Reset login attempts </button> |
67 |
</span> |
71 |
</span> |
68 |
[% END %] |
72 |
[% END %] |
69 |
</li> |
73 |
</li> |
Lines 71-131
Link Here
|
71 |
|
75 |
|
72 |
[% IF ( patron.gonenoaddress ) %] |
76 |
[% IF ( patron.gonenoaddress ) %] |
73 |
<li class="gonenoaddress blocker"> |
77 |
<li class="gonenoaddress blocker"> |
74 |
<span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
78 |
<span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> |
|
|
79 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags" |
80 |
><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a |
81 |
> |
75 |
</li> |
82 |
</li> |
76 |
[% END %] |
83 |
[% END %] |
77 |
|
84 |
|
78 |
[% IF ( patron.lost ) %] |
85 |
[% IF ( patron.lost ) %] |
79 |
<li class="lost blocker"> |
86 |
<li class="lost blocker"> |
80 |
<span title="lost flag is set in patron record"><span class="circ-hlt">Lost: </span> Patron's card is flagged as lost</span> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
87 |
<span title="lost flag is set in patron record"><span class="circ-hlt">Lost: </span> Patron's card is flagged as lost</span> |
|
|
88 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags" |
89 |
><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a |
90 |
> |
81 |
</li> |
91 |
</li> |
82 |
[% END %] |
92 |
[% END %] |
83 |
|
93 |
|
84 |
[% IF ( userdebarred ) %] |
94 |
[% IF ( userdebarred ) %] |
85 |
<li class="userdebarred blocker"> |
95 |
<li class="userdebarred blocker"> |
86 |
<span class="circ-hlt"> Restricted since [% debarredsince | $KohaDates %]:</span> Patron's account is restricted |
96 |
<span class="circ-hlt"> Restricted since [% debarredsince | $KohaDates %]:</span> Patron's account is restricted |
87 |
|
|
|
88 |
[% IF ( userdebarreddate ) %] |
97 |
[% IF ( userdebarreddate ) %] |
89 |
until [% userdebarreddate | $KohaDates %] |
98 |
until [% userdebarreddate | $KohaDates %] |
90 |
[% END %] |
99 |
[% END %] |
91 |
|
100 |
|
92 |
[% IF ( debarredcomment ) %] |
101 |
[% IF ( debarredcomment ) %] |
93 |
with the explanation: <br/> |
102 |
with the explanation: <br /> |
94 |
<em> |
103 |
<em> |
95 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
104 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
96 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
105 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
97 |
[% ELSE %] |
106 |
[% ELSE %] |
98 |
[% FOREACH restriction IN patron.restrictions %] |
107 |
[% FOREACH restriction IN patron.restrictions %] |
99 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
108 |
<div class="[% restriction.type.code | lower | html %]_restriction"> |
100 |
<span class="restriction_expiration"> |
109 |
<span class="restriction_expiration"> |
101 |
[% IF restriction.expiration %] |
110 |
[% IF restriction.expiration %] |
102 |
[% restriction.expiration | $KohaDates %] |
111 |
[% restriction.expiration | $KohaDates %] |
103 |
[% ELSE %] |
112 |
[% ELSE %] |
104 |
<strong>Indefinite</strong> |
113 |
<strong>Indefinite</strong> |
105 |
[% END %] |
114 |
[% END %] |
106 |
</span> |
115 |
</span> |
107 |
<span class="restriction_detail"> |
116 |
<span class="restriction_detail"> [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html_line_break -%][%- END -%] </span> |
108 |
[%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html_line_break -%][%- END -%] |
|
|
109 |
</span> |
110 |
</div> |
117 |
</div> |
111 |
[% END %] |
118 |
[% END %] |
112 |
[% END %] |
119 |
[% END %] </em |
113 |
</em><br/> |
120 |
><br /> |
114 |
[% END %] |
121 |
[% END %] |
115 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> |
122 |
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> |
116 |
</li> <!-- /.blocker --> |
123 |
</li> |
|
|
124 |
<!-- /.blocker --> |
117 |
[% END # /IF userdebarred %] |
125 |
[% END # /IF userdebarred %] |
118 |
|
126 |
|
119 |
[% IF ( odues ) %] |
127 |
[% IF ( odues ) %] |
120 |
<li class="odues blocker"> |
128 |
<li class="odues blocker"> |
121 |
<span class="circ-hlt">Overdues:</span> Patron has ITEMS OVERDUE <a href="#checkouts_panel" onclick="$('#issues-table-load-immediately').click(); $('#issues-table-load-immediately').click();">See highlighted items below </a> |
129 |
<span class="circ-hlt">Overdues:</span> Patron has ITEMS OVERDUE <a href="#checkouts_panel" onclick="$('#issues-table-load-immediately').click(); $('#issues-table-load-immediately').click();">See highlighted items below </a> |
122 |
</li> |
130 |
</li> |
123 |
[% END %] |
131 |
[% END %] |
124 |
|
132 |
|
125 |
[% IF return_claims.count > ClaimReturnedWarningThreshold %] |
133 |
[% IF return_claims.count > ClaimReturnedWarningThreshold %] |
126 |
<li class="return_claims blocker"> |
134 |
<li class="return_claims blocker"> <span class="circ-hlt return-claims">Return claims:</span> Patron has [% return_claims.count | html %] RETURN CLAIMS </li> |
127 |
<span class="circ-hlt return-claims">Return claims:</span> Patron has [% return_claims.count | html %] RETURN CLAIMS |
|
|
128 |
</li> |
129 |
[% END %] |
135 |
[% END %] |
130 |
|
136 |
|
131 |
[% IF age_limitations %] |
137 |
[% IF age_limitations %] |
Lines 159-174
Link Here
|
159 |
[% IF ( charges_guarantees ) %] |
165 |
[% IF ( charges_guarantees ) %] |
160 |
<li class="charges_guarantees"> |
166 |
<li class="charges_guarantees"> |
161 |
<span class="circ-hlt">Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
167 |
<span class="circ-hlt">Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
162 |
[% IF noissues %] |
168 |
[% IF noissues %] |
163 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
169 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
164 |
[% END %] |
170 |
[% END %] |
165 |
</li> |
171 |
</li> |
166 |
[% END %] |
172 |
[% END %] |
167 |
|
173 |
|
168 |
[% IF ( credits ) %] |
174 |
[% IF ( credits ) %] |
169 |
<li class="credits"> |
175 |
<li class="credits"> <span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %]of <span class="credit"><strong>[% creditsamount | $Price %]</strong></span>[% END %] </li> |
170 |
<span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of <span class="credit"><strong>[% creditsamount | $Price %]</strong></span>[% END %] |
|
|
171 |
</li> |
172 |
[% END %] |
176 |
[% END %] |
173 |
[% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %] |
177 |
[% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %] |
174 |
<li> |
178 |
<li> |
Lines 178-184
Link Here
|
178 |
</li> |
182 |
</li> |
179 |
[% END %] |
183 |
[% END %] |
180 |
</ul> |
184 |
</ul> |
181 |
|
|
|
182 |
[% END # /F ( has_modifications || warndeparture... %] |
185 |
[% END # /F ( has_modifications || warndeparture... %] |
183 |
|
186 |
|
184 |
[% IF waiting_recalls.count %] |
187 |
[% IF waiting_recalls.count %] |
Lines 200-214
Link Here
|
200 |
[% IF ( w.pickup_library_id == logged_in_branchcode ) %] |
203 |
[% IF ( w.pickup_library_id == logged_in_branchcode ) %] |
201 |
<li> |
204 |
<li> |
202 |
<a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% w.biblio_id | uri %]">[% w.biblio.title | html %]</a> |
205 |
<a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% w.biblio_id | uri %]">[% w.biblio.title | html %]</a> |
203 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
206 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), [% IF ( w.biblio.author ) %]by [% w.biblio.author | html %][% END %] |
204 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
207 |
[% IF ( w.item.itemcallnumber ) %][[% w.item.itemcallnumber | html %]][% END %] |
205 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
|
|
206 |
<span>Recall placed on [% w.created_date | $KohaDates %].</span> |
208 |
<span>Recall placed on [% w.created_date | $KohaDates %].</span> |
207 |
<br /> |
209 |
<br /> |
208 |
<strong class="waitinghere"> |
210 |
<strong class="waitinghere"> [% SET expires_on = w.expiration_date %] Waiting here [% IF expires_on %]until [% expires_on | $KohaDates %][% END %] </strong> |
209 |
[% SET expires_on = w.expiration_date %] |
|
|
210 |
Waiting here [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
211 |
</strong> |
212 |
</li> |
211 |
</li> |
213 |
[% END %] |
212 |
[% END %] |
214 |
[% END %] |
213 |
[% END %] |
Lines 222-236
Link Here
|
222 |
[% IF ( w.pickup_library_id != logged_in_branchcode ) %] |
221 |
[% IF ( w.pickup_library_id != logged_in_branchcode ) %] |
223 |
<li> |
222 |
<li> |
224 |
<a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% w.biblio_id | uri %]">[% w.biblio.title | html %]</a> |
223 |
<a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% w.biblio_id | uri %]">[% w.biblio.title | html %]</a> |
225 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
224 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), [% IF ( w.biblio.author ) %]by [% w.biblio.author | html %][% END %] |
226 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
225 |
[% IF ( w.item.itemcallnumber ) %][[% w.item.itemcallnumber | html %]][% END %] |
227 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
|
|
228 |
<span>Recall placed on [% w.created_date | $KohaDates %].</span> |
226 |
<span>Recall placed on [% w.created_date | $KohaDates %].</span> |
229 |
<br /> |
227 |
<br /> |
230 |
<strong> |
228 |
<strong> [% SET expires_on = w.expiration_date %] Waiting at [% Branches.GetName( w.pickup_library_id ) | html %] [% IF expires_on %]until [% expires_on | $KohaDates %][% END %] </strong> |
231 |
[% SET expires_on = w.expiration_date %] |
|
|
232 |
Waiting at [% Branches.GetName( w.pickup_library_id ) | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
233 |
</strong> |
234 |
</li> |
229 |
</li> |
235 |
[% END %] |
230 |
[% END %] |
236 |
[% END %] |
231 |
[% END %] |
Lines 258-275
Link Here
|
258 |
[% IF ( w.branch.branchcode == logged_in_branchcode ) %] |
253 |
[% IF ( w.branch.branchcode == logged_in_branchcode ) %] |
259 |
<li> |
254 |
<li> |
260 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
255 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
261 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
256 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), [% IF ( w.biblio.author ) %]by [% w.biblio.author | html %][% END %] |
262 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
257 |
[% IF ( w.item.itemcallnumber ) %][[% w.item.itemcallnumber | html %]][% END %] |
263 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
|
|
264 |
<span class="holddate">Hold placed on [% w.reservedate | $KohaDates %].</span> |
258 |
<span class="holddate">Hold placed on [% w.reservedate | $KohaDates %].</span> |
265 |
<br /> |
259 |
<br /> |
266 |
<strong class="waitinghere"> |
260 |
<strong class="waitinghere"> [% SET expires_on = w.expirationdate %] Waiting here [% IF expires_on %]until [% expires_on | $KohaDates %][% END %]. </strong> |
267 |
[% SET expires_on = w.expirationdate %] |
261 |
<strong class="waitingsince"> Waiting here since [% w.waitingdate | $KohaDates %]. </strong> |
268 |
Waiting here [% IF expires_on %] until [% expires_on | $KohaDates %][% END %]. |
|
|
269 |
</strong> |
270 |
<strong class="waitingsince"> |
271 |
Waiting here since [% w.waitingdate | $KohaDates %]. |
272 |
</strong> |
273 |
</li> |
262 |
</li> |
274 |
[% END %] |
263 |
[% END %] |
275 |
[% END %] |
264 |
[% END %] |
Lines 283-297
Link Here
|
283 |
[% IF ( w.branch.branchcode != logged_in_branchcode ) %] |
272 |
[% IF ( w.branch.branchcode != logged_in_branchcode ) %] |
284 |
<li> |
273 |
<li> |
285 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
274 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
286 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
275 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), [% IF ( w.biblio.author ) %]by [% w.biblio.author | html %][% END %] |
287 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
276 |
[% IF ( w.item.itemcallnumber ) %][[% w.item.itemcallnumber | html %]][% END %] |
288 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
|
|
289 |
<span>Hold placed on [% w.reservedate | $KohaDates %].</span> |
277 |
<span>Hold placed on [% w.reservedate | $KohaDates %].</span> |
290 |
<br /> |
278 |
<br /> |
291 |
<strong> |
279 |
<strong> [% SET expires_on = w.expirationdate %] Waiting at [% w.branch.branchname | html %] [% IF expires_on %]until [% expires_on | $KohaDates %][% END %] </strong> |
292 |
[% SET expires_on = w.expirationdate %] |
|
|
293 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
294 |
</strong> |
295 |
</li> |
280 |
</li> |
296 |
[% END %] |
281 |
[% END %] |
297 |
[% END %] |
282 |
[% END %] |
Lines 306-330
Link Here
|
306 |
<div id="curbside_pickups" class="circmessage"> |
291 |
<div id="curbside_pickups" class="circmessage"> |
307 |
<h4>Curbside pickups scheduled here</h4> |
292 |
<h4>Curbside pickups scheduled here</h4> |
308 |
<ul> |
293 |
<ul> |
309 |
[% FOR cp IN curbside_pickups %] |
294 |
[% FOR cp IN curbside_pickups %] |
310 |
<li>On [% cp.scheduled_pickup_datetime | $KohaDates %]: |
295 |
<li |
311 |
[% SWITCH cp.status %] |
296 |
>On [% cp.scheduled_pickup_datetime | $KohaDates %]: |
312 |
[% CASE 'to-be-staged' %] |
297 |
[% SWITCH cp.status %] |
313 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=to-be-staged"> |
298 |
[% CASE 'to-be-staged' %] |
314 |
To be staged</a> |
299 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=to-be-staged"> To be staged</a> |
315 |
[% CASE 'staged-and-ready' %] |
300 |
[% CASE 'staged-and-ready' %] |
316 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=staged-and-ready"> |
301 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=staged-and-ready"> Staged and ready</a> |
317 |
Staged and ready</a> |
302 |
[% CASE 'patron-is-outside' %] |
318 |
[% CASE 'patron-is-outside' %] |
303 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=patron-is-outside"> Patron is outside!</a> |
319 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=patron-is-outside"> |
304 |
[% CASE 'delivered' %] |
320 |
Patron is outside!</a> |
305 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=delivered-today"> Delivered</a> |
321 |
[% CASE 'delivered' %] |
306 |
[% CASE %] |
322 |
<a href="/cgi-bin/koha/circ/curbside_pickups.pl?tab=delivered-today"> |
307 |
<span>Unknown status "[% cp.status | html %]"</span> |
323 |
Delivered</a> |
308 |
[% END %] |
324 |
[% CASE %]<span>Unknown status "[% cp.status | html %]"</span> |
309 |
</li> |
325 |
[% END %] |
310 |
[% END %] |
326 |
</li> |
|
|
327 |
[% END %] |
328 |
</ul> |
311 |
</ul> |
329 |
</div> |
312 |
</div> |
330 |
[% END %] |
313 |
[% END %] |
Lines 335-346
Link Here
|
335 |
<h4>Notes</h4> |
318 |
<h4>Notes</h4> |
336 |
<ul> |
319 |
<ul> |
337 |
<li> |
320 |
<li> |
338 |
<span class="circ-hlt"> |
321 |
<span class="circ-hlt"> [% patron.borrowernotes | $raw | html_line_break %] </span> |
339 |
[% patron.borrowernotes | $raw | html_line_break %] |
|
|
340 |
</span> |
341 |
</li> |
322 |
</li> |
342 |
</ul> |
323 |
</ul> |
343 |
</div> <!-- /#circnotes --> |
324 |
</div> |
|
|
325 |
<!-- /#circnotes --> |
344 |
[% END # /IF patron.borrowernotes %] |
326 |
[% END # /IF patron.borrowernotes %] |
345 |
|
327 |
|
346 |
[% IF ( patron_messages ) %] |
328 |
[% IF ( patron_messages ) %] |
Lines 357-363
Link Here
|
357 |
[% patron_message.message_date | $KohaDates %] |
339 |
[% patron_message.message_date | $KohaDates %] |
358 |
[% Branches.GetName( patron_message.branchcode ) | html %] |
340 |
[% Branches.GetName( patron_message.branchcode ) | html %] |
359 |
[% IF patron_message.manager_id %] |
341 |
[% IF patron_message.manager_id %] |
360 |
( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron_message.manager_id | uri %]">[% patron_message.get_column('manager_firstname') | html %] [% patron_message.get_column('manager_surname') | html %]</a> ) |
342 |
( |
|
|
343 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron_message.manager_id | uri %]" |
344 |
>[% patron_message.get_column('manager_firstname') | html %] [% patron_message.get_column('manager_surname') | html %]</a |
345 |
> |
346 |
) |
361 |
[% END %] |
347 |
[% END %] |
362 |
<em>"[% patron_message.message | html | html_line_break %]"</em> |
348 |
<em>"[% patron_message.message | html | html_line_break %]"</em> |
363 |
[% IF patron_message.patron_read_date %] |
349 |
[% IF patron_message.patron_read_date %] |
Lines 366-387
Link Here
|
366 |
</span> |
352 |
</span> |
367 |
[% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %] |
353 |
[% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %] |
368 |
[% IF moremember %] |
354 |
[% IF moremember %] |
369 |
<a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
355 |
<a |
|
|
356 |
id="#edit_message_form_[% patron_message.message_id | html %]" |
357 |
class="btn btn-link edit_message" |
358 |
href="#edit_message_form_[% patron_message.message_id | uri %]" |
359 |
data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" |
360 |
data-bs-toggle="modal" |
361 |
><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a |
362 |
> |
370 |
<form action="/cgi-bin/koha/circ/del_message.pl" method="post"> |
363 |
<form action="/cgi-bin/koha/circ/del_message.pl" method="post"> |
371 |
[% INCLUDE 'csrf-token.inc' %] |
364 |
[% INCLUDE 'csrf-token.inc' %] |
372 |
<input type="hidden" name="op" value="cud-delete"> |
365 |
<input type="hidden" name="op" value="cud-delete" /> |
373 |
<input type="hidden" name="message_id" value="[% patron_message.message_id | html %]"> |
366 |
<input type="hidden" name="message_id" value="[% patron_message.message_id | html %]" /> |
374 |
<input type="hidden" name="borrowernumber" value="[% patron_message.borrowernumber | html %]"> |
367 |
<input type="hidden" name="borrowernumber" value="[% patron_message.borrowernumber | html %]" /> |
375 |
<input type="hidden" name="from" value="moremember"> |
368 |
<input type="hidden" name="from" value="moremember" /> |
376 |
<button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button> |
369 |
<button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button> |
377 |
</form> |
370 |
</form> |
378 |
[% ELSE %] |
371 |
[% ELSE %] |
379 |
<a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
372 |
<a |
|
|
373 |
id="#edit_message_form_[% patron_message.message_id | html %]" |
374 |
class="btn btn-link edit_message" |
375 |
href="#edit_message_form_[% patron_message.message_id | uri %]" |
376 |
data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" |
377 |
data-bs-toggle="modal" |
378 |
><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a |
379 |
> |
380 |
<form action="/cgi-bin/koha/circ/del_message.pl" method="post"> |
380 |
<form action="/cgi-bin/koha/circ/del_message.pl" method="post"> |
381 |
[% INCLUDE 'csrf-token.inc' %] |
381 |
[% INCLUDE 'csrf-token.inc' %] |
382 |
<input type="hidden" name="op" value="cud-delete"> |
382 |
<input type="hidden" name="op" value="cud-delete" /> |
383 |
<input type="hidden" name="message_id" value="[% patron_message.message_id | html %]"> |
383 |
<input type="hidden" name="message_id" value="[% patron_message.message_id | html %]" /> |
384 |
<input type="hidden" name="borrowernumber" value="[% patron_message.borrowernumber | html %]"> |
384 |
<input type="hidden" name="borrowernumber" value="[% patron_message.borrowernumber | html %]" /> |
385 |
<button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button> |
385 |
<button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button> |
386 |
</form> |
386 |
</form> |
387 |
[% END %] |
387 |
[% END %] |
Lines 390-396
Link Here
|
390 |
[% END %] |
390 |
[% END %] |
391 |
</ul> |
391 |
</ul> |
392 |
<a id="addnewmessageLabel" data-bs-target="#add_message_form" class="btn btn-link" data-bs-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
392 |
<a id="addnewmessageLabel" data-bs-target="#add_message_form" class="btn btn-link" data-bs-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
393 |
</div> <!-- /#messages --> |
393 |
</div> |
|
|
394 |
<!-- /#messages --> |
394 |
|
395 |
|
395 |
[% FOREACH pm IN patron_messages %] |
396 |
[% FOREACH pm IN patron_messages %] |
396 |
<div id="edit_message_form_[% pm.message_id | html %]" class="modal" tabindex="-1" aria-labelledby="#edit_message_form_[% patron_message.message_id | html %]" aria-hidden="true"> |
397 |
<div id="edit_message_form_[% pm.message_id | html %]" class="modal" tabindex="-1" aria-labelledby="#edit_message_form_[% patron_message.message_id | html %]" aria-hidden="true"> |
Lines 398-405
Link Here
|
398 |
<div class="modal-content"> |
399 |
<div class="modal-content"> |
399 |
<form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="edit_message_form" name="message_f"> |
400 |
<form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="edit_message_form" name="message_f"> |
400 |
[% INCLUDE 'csrf-token.inc' %] |
401 |
[% INCLUDE 'csrf-token.inc' %] |
401 |
<input type="hidden" name="op" value="cud-edit_message"> |
402 |
<input type="hidden" name="op" value="cud-edit_message" /> |
402 |
<input type="hidden" name="message_id" value="[% pm.message_id | html %]"/> |
403 |
<input type="hidden" name="message_id" value="[% pm.message_id | html %]" /> |
403 |
<div class="modal-header"> |
404 |
<div class="modal-header"> |
404 |
<h1 class="modal-title">Edit message</h1> |
405 |
<h1 class="modal-title">Edit message</h1> |
405 |
</div> |
406 |
</div> |
Lines 423-429
Link Here
|
423 |
</label> |
424 |
</label> |
424 |
</div> |
425 |
</div> |
425 |
<div class="form-group"> |
426 |
<div class="form-group"> |
426 |
<textarea rows="3" class="modal-textarea" name="borrower_message" id="edit_borrower_message" >[% pm.message | html %]</textarea> |
427 |
<textarea rows="3" class="modal-textarea" name="borrower_message" id="edit_borrower_message">[% pm.message | html %]</textarea> |
427 |
</div> |
428 |
</div> |
428 |
</div> |
429 |
</div> |
429 |
<div class="modal-footer"> |
430 |
<div class="modal-footer"> |
Lines 436-438
Link Here
|
436 |
</div> |
437 |
</div> |
437 |
[% END %] |
438 |
[% END %] |
438 |
[% END # /IF patron_messages %] |
439 |
[% END # /IF patron_messages %] |
|
|
440 |
|
441 |
<div style="font-style:normal;" class="modal notesModal" id="resetAttemptsModal" tabindex="-1" role="dialog" aria-labelledby="resetAttemptsModalLabel"> |
442 |
<div class="modal-dialog"> |
443 |
<div class="modal-content"> |
444 |
<div class="modal-header"> |
445 |
<h1 class="modal-title" id="resetAttemptsLabel">Confirm reset</h1> |
446 |
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
447 |
</div> |
448 |
<form id="cancel_modal_form" method="post" action="/cgi-bin/koha/members/setstatus.pl"> |
449 |
[% INCLUDE 'csrf-token.inc' %] |
450 |
<input type="hidden" name="op" value="cud-reset_login_attempts" /> |
451 |
<input type="hidden" name="destination" value="[% moremember ? 'member' : 'circ' | html %]" /> |
452 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | uri %]" /> |
453 |
<div class="modal-body"> This will allow the user to try again and login </div> |
454 |
<div class="modal-footer"> |
455 |
<button id="resetAttemptsModalConfirmBtn" type="submit" class="btn btn-primary">Confirm</button> |
456 |
<button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button> |
457 |
</div> |
458 |
</form> |
459 |
</div> |
460 |
</div> |
461 |
</div> |