[Koha] Remove 23.59 info on Slips
Lisette Scheer
lisettes at latahlibrary.org
Thu Dec 6 05:13:13 NZDT 2018
G,
In more recent versions of Koha you should be able to use Template toolkit filtering to remove the hours.
There is information on the wiki here:
https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit
Including how to filter out the time on those dates.
Lisette Scheer
System Administration Specialist
Latah County Library District
208-882-3925 ext. 124
-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Giannis Tsakonas
Sent: Wednesday, December 05, 2018 12:43 AM
To: Koha at lists.katipo.co.nz
Subject: [Koha] Remove 23.59 info on Slips
Dear colleagues
we would like to erase the time section from the due date information on all slips. As far as we know, the JQuery below erases this piece of info on staff client and OPAC interfaces.
$("#issuest td:contains('23:59')").each(function() { var text = $(this).text().replace('23:59', ''); $(this).text(text); });
$(".datedue:contains('23:59')").each(function() { var text = $(this).text().replace('23:59', ''); $(this).text(text); });
Testing this however, seems that it does not work on Slips. This creates a conflict between working hours and info that the users get through slips.
Note: we do not do hourly loans.
Any help will be very much appreciate.
G
_______________________________________________
Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list