[Koha] Remove 23.59 info on Slips

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Dec 6 05:23:01 NZDT 2018


Hi Giannis,

Try << table.field | dateonly >>

Regards,
Jonathan
Le mer. 5 déc. 2018 à 05:42, Giannis Tsakonas <gtsak at upatras.gr> a écrit :
>
> 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