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