Bug 35800: Remove item.can.be.edited check
To test: APPLY PATCH 1. Check out an item to a patron from library A 2. Give permissions to a patron from library B (example of a circulation staff account) - circulate - catalogue - borrowers ( including view_borrower_infos_from_any_libraries ) - reserveforothers - updatecharges - suggestions - lists - clubs -> enroll 3. If necessary, change the username and password of that staff member in order to be able to log in 4. In a private browser window, log in as the staff member 5. View the record with the checked out item 6. You should see the name/cardnumber of the patron the item is checked out ot. 7. Turn off the view_borrower_infos_from_any_libraries for this patron. 8. Now on the record detail page you should see text like `Checked out to A patron from library Midway : due 01/28/2024`. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
cb7921d8d0
commit
e8c0438d87
1 changed files with 7 additions and 9 deletions
|
@ -475,15 +475,13 @@
|
|||
[% ELSE %]
|
||||
<div class="item_status datedue">Checked out
|
||||
[% END %]
|
||||
[% IF item.can_be_edited %]
|
||||
[% IF item.object.checkout.onsite_checkout %]
|
||||
by
|
||||
[% ELSE %]
|
||||
to
|
||||
[% END %]
|
||||
[% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %]
|
||||
[% END %]
|
||||
: due [% date_due | $KohaDates as_due_date => 1 %]
|
||||
[% IF item.object.checkout.onsite_checkout %]
|
||||
by
|
||||
[% ELSE %]
|
||||
to
|
||||
[% END %]
|
||||
[% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %]
|
||||
: due [% date_due | $KohaDates as_due_date => 1 %]
|
||||
</div>
|
||||
[% ELSIF ( transfer = item.object.get_transfer ) %]
|
||||
[% IF (transfer.datesent) %]
|
||||
|
|
Loading…
Reference in a new issue