[OPEN-ILS-GENERAL] TPAC and Due Date

Galen Charlton gmc at esilibrary.com
Wed Feb 11 08:48:47 EST 2015


Hi,

On Wed, Feb 11, 2015 at 8:24 AM, Scott Thomas <scott at albright.org> wrote:
>    Is there any way to prevent the Due Date from displaying in the TPAC? We
> turned it off in our old ILS because some patrons would get upset if a book
> they wanted was grossly overdue. If there is no way to prevent it from
> displaying, is there a way to make long overdue items not be OPAC Visible?

Yes, that's a simple TPAC template customization.  I'm assuming that
you're referring to the due date column on the item list on the record
details page; if so, one could override the
opac/parts/record/copy_table.tt2 template and comment out or remove
the following lines:

            <th scope='col'>[% l("Due Date") %]</th>

and

    <td>[% copy_info.due_date | html %]</td>

and

            <td>[%
                IF copy_info.due_date;
                    date.format(
                        ctx.parse_datetime(copy_info.due_date),
                        DATE_FORMAT
                    );
                ELSE;
                    '-';
                END %]</td>

One could also use CSS to hide that column.

Regards,

Galen
-- 
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc at esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org


More information about the Open-ils-general mailing list