From 15061db58e4db791f227eadd6199dfd2bf68b987 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Jul 2019 13:12:18 +0000 Subject: [PATCH] Bug 23399: Reindent returns.tt This patch reindents circulation/returns.tt to use four spaces, following coding guidelines. To test, apply the patch and use your preferred method for checking the differences between files while ignoring whitespace. I use diff with the "-w" flag, but each must take their own journey. Test the checkin process to confirm that everything still works correctly. --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 1666 ++++++++++---------- 1 file changed, 869 insertions(+), 797 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 090052d0e0b..c26c10999f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -37,836 +37,908 @@ - + -[% INCLUDE 'header.inc' %] -[% INCLUDE 'checkin-search.inc' %] + [% INCLUDE 'header.inc' %] + [% INCLUDE 'checkin-search.inc' %] - + -
-
-
-
-
+
+
+
+
+
- [% IF Koha.Preference('CircSidebar') %] -
- [% ELSE %] -
- [% END %] - - [% IF hold_auto_filled %] -
- [% IF ( reservenotes ) %] -

Notes: [% reservenotes | html %]

- [% END %] -

Hold filled for:

-
  • - [% INCLUDE 'patron-title.inc' patron=patron %] - - [% patron.category.description | html %] -
  • - - [% INCLUDE display_holdpatron_address %] - - [% IF ( patron.phone ) %] -
  • [% patron.phone | html %]
  • - [% END %] - - [% IF ( patron.email ) %] -
  • - [% IF ( transfertodo ) %] - [% patron.email | html %] + [% IF Koha.Preference('CircSidebar') %] +
    [% ELSE %] - [% patron.email | html %] +
    [% END %] -
  • - [% END %] - - [% UNLESS ( transfertodo) %] - [% INCLUDE display_bormessagepref %] - [% END %] - - [% IF ( patron.debarred ) %] -
  • Patron is RESTRICTED
  • - [% END %] - - [% IF ( patron.gonenoaddress ) %] -
  • Patron's address is in doubt
  • - [% END %] - - [% IF ( transfertodo ) %] -

    Transfer to: [% Branches.GetName( destbranch ) | html %]

    - [% ELSE %] -

    Hold at [% Branches.GetName( destbranch ) | html %]

    - [% END %] - - - Print - -
    - [% END %] - -[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] -
    Error: This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.
    -[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] -
    Error: The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.
    -[% END %] - -[% IF additional_materials %] -
    Note about the accompanying materials:
    - [% additional_materials | html %] -
    -[% END %] - -[% IF ( collectionItemNeedsTransferred ) %] -
    -

    Please transfer item to: [% Branches.GetName( collectionBranch ) | html %]

    -

    [% itembarcode | html %]: [% title | html %]

    -

    This item is part of a rotating collection.

    -

    -
    -[% END %] - -[% IF ( issue.note) %] -
    -

    Patron note

    -

    [% issue.notedate | $KohaDates %]

    -

    [% title | html %] [% author | html %]

    -

    [% issue.note | html %]

    -
    -[% END %] - - -[% IF ( fines ) %] -
    -

    Patron has outstanding fines of [% fines | html %].

    -

    Make payment.

    -
    -[% END %] - - -[% IF ( waiting_holds ) %] -
    -

    [% holdsfirstname | html %] [% holdssurname | html %] has [% waiting_holds | html %] hold(s) waiting for pickup.

    -

    Check out to this patron.

    -
    -[% END %] - - -[% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %] -
    -

    - - [% patron.firstname | html %] [% patron.surname | html %] - - is restricted. Please verify this patron should still be restricted. -

    -
    -[% END %] + [% IF hold_auto_filled %] +
    + [% IF ( reservenotes ) %] +

    Notes: [% reservenotes | html %]

    + [% END %] +

    Hold filled for:

    +
      +
    • + [% INCLUDE 'patron-title.inc' patron=patron %] + - [% patron.category.description | html %] +
    • + + [% INCLUDE display_holdpatron_address %] + + [% IF ( patron.phone ) %] +
    • [% patron.phone | html %]
    • + [% END %] + + [% IF ( patron.email ) %] +
    • + [% IF ( transfertodo ) %] + [% patron.email | html %] + [% ELSE %] + [% patron.email | html %] + [% END %] +
    • + [% END %] + + [% UNLESS ( transfertodo) %] + [% INCLUDE display_bormessagepref %] + [% END %] + + [% IF ( patron.debarred ) %] +
    • Patron is RESTRICTED
    • + [% END %] + + [% IF ( patron.gonenoaddress ) %] +
    • Patron's address is in doubt
    • + [% END %] + -[% IF wrongbranch %] - -[% END %] + [% IF ( transfertodo ) %] +

      Transfer to: [% Branches.GetName( destbranch ) | html %]

      + [% ELSE %] +

      Hold at [% Branches.GetName( destbranch ) | html %]

      + [% END %] - -[% IF WrongTransfer && !transfertodo %] - -
    -[% END %] - -[% IF ( found ) %] - [% IF ( waiting ) %] - - [% END %] - - [% IF ( diffbranch ) %] - -
    -

    Hold needing transfer found

    -

    [% itembarcode | html %]: [% title | html %]

    -

    Hold for:

    -
      -
    • [% patron.surname | html %], [% patron.firstname | html %] ([% patron.cardnumber | html %]) - [% patron.category.description | html %]
    • - [% INCLUDE display_holdpatron_address %] - [% IF ( patron.phone ) %]
    • [% patron.phone | html %]
    • [% END %] - [% IF ( patron.email ) %]
    • [% IF ( transfertodo ) %][% patron.email | html %][% ELSE %][% patron.email | html %][% END %]
    • [% END %] -[% IF ( patron.debarred ) %]
    • Patron is RESTRICTED
    • [% END %] -[% IF ( patron.gonenoaddress ) %]
    • Patron's address is in doubt
    • [% END %] -
    - [% IF ( transfertodo ) %] -

    Transfer to: [% Branches.GetName( destbranch ) | html %]

    - [% ELSE %] -

    Hold at [% Branches.GetName( destbranch ) | html %]

    - [% END %] - -
    - - - - - - [% FOREACH inputloo IN inputloop %] - - - - [% END %] - - - - - - - - -
    -
    - [% END %] - - [% IF transfer || needstransfer %] - - [% END %] - - [% IF ( diffbranch ) %] - -

    Item consigned:

    - - - - - - -
    [% title | html %]
    Hold for:[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
    -
    - [% FOREACH inputloo IN inputloop %] - [% UNLESS ( inputloo.first ) %] - - - - [% END %] - [% END %] - - - - - -
    - [% END %] - - - - [% IF ( reserved ) %] - - - [% END %] -[% END %] + + [% IF WrongTransfer && !transfertodo %] + + [% END %] -[% IF ( errmsgloop ) %] -
    -

    Check in message

    - [% IF itembiblionumber %] -

    [% itembarcode | html %]: [% title | html %]

    - [% END %] - [% FOREACH errmsgloo IN errmsgloop %] - [% IF ( errmsgloo.NotForLoanStatusUpdated ) %] -

    - Not for loan status updated. -
    Old value: - [% IF errmsgloo.NotForLoanStatusUpdated.from %] - [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %]. - [% ELSE %] - Available for loan. - [% END %] -
    New value: - [% IF errmsgloo.NotForLoanStatusUpdated.to %] - [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %]. - [% ELSE %] - Available for loan. - [% END %] -

    - [% END %] - [% IF ( errmsgloo.ItemLocationUpdated ) %] -

    - Item shelving location updated. -
    Old value: - [% IF errmsgloo.ItemLocationUpdated.from %] - [% IF errmsgloo.ItemLocationUpdated.from == '' %] - empty - [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %] - [% errmsgloo.ItemLocationUpdated.from | html %] (No description available) - [% ELSE %] - [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %] + [% IF ( found ) %] + [% IF ( waiting ) %] +

    + [% END %] + + [% IF ( diffbranch ) %] + +
    +

    Hold needing transfer found

    +

    [% itembarcode | html %]: [% title | html %]

    +

    Hold for:

    +
      +
    • + [% patron.surname | html %], [% patron.firstname | html %] ([% patron.cardnumber | html %]) - [% patron.category.description | html %] +
    • + [% INCLUDE display_holdpatron_address %] + [% IF ( patron.phone ) %] +
    • [% patron.phone | html %]
    • + [% END %] + [% IF ( patron.email ) %] +
    • + [% IF ( transfertodo ) %] + [% patron.email | html %] + [% ELSE %] + [% patron.email | html %] + [% END %] +
    • + [% END %] + [% IF ( patron.debarred ) %] +
    • Patron is RESTRICTED
    • + [% END %] + [% IF ( patron.gonenoaddress ) %] +
    • Patron's address is in doubt
    • + [% END %] +
    + + [% IF ( transfertodo ) %] +

    Transfer to: [% Branches.GetName( destbranch ) | html %]

    + [% ELSE %] +

    Hold at [% Branches.GetName( destbranch ) | html %]

    + [% END %] + +
    + + + + + + [% FOREACH inputloo IN inputloop %] + + + + [% END %] + + + + + + + + +
    +
    + [% END %] + + [% IF transfer || needstransfer %] + + [% END %] + + [% IF ( diffbranch ) %] + +

    Item consigned:

    + + + + + + +
    [% title | html %]
    Hold for:[% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 link_to="circulation_reserves" %]
    +
    + + [% FOREACH inputloo IN inputloop %] + [% UNLESS ( inputloo.first ) %] + + + + [% END %] + [% END %] + + + + +
    + [% END %] + + + [% IF ( reserved ) %] + + + [% END %] [% END %] - [% ELSE %] - "Blank" - [% END %] -
    New value: - [% IF errmsgloo.ItemLocationUpdated.to %] - [% IF errmsgloo.ItemLocationUpdated.to == '' %] - empty - [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %] - [% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value) - [% ELSE %] - [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %] + + [% IF ( errmsgloop ) %] +
    +

    Check in message

    + [% IF itembiblionumber %] +

    [% itembarcode | html %]: [% title | html %]

    + [% END %] + [% FOREACH errmsgloo IN errmsgloop %] + [% IF ( errmsgloo.NotForLoanStatusUpdated ) %] +

    + Not for loan status updated. +
    Old value: + [% IF errmsgloo.NotForLoanStatusUpdated.from %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %]. + [% ELSE %] + Available for loan. + [% END %] +
    New value: + [% IF errmsgloo.NotForLoanStatusUpdated.to %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %]. + [% ELSE %] + Available for loan. + [% END %] +

    + [% END %] + [% IF ( errmsgloo.ItemLocationUpdated ) %] +

    + Item shelving location updated. +
    Old value: + [% IF errmsgloo.ItemLocationUpdated.from %] + [% IF errmsgloo.ItemLocationUpdated.from == '' %] + empty + [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %] + [% errmsgloo.ItemLocationUpdated.from | html %] (No description available) + [% ELSE %] + [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %] + [% END %] + [% ELSE %] + "Blank" + [% END %] +
    New value: + [% IF errmsgloo.ItemLocationUpdated.to %] + [% IF errmsgloo.ItemLocationUpdated.to == '' %] + empty + [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %] + [% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value) + [% ELSE %] + [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %] + [% END %] + [% ELSE %] + "Blank" + [% END %] +

    + [% END %] + [% IF ( errmsgloo.badbarcode ) %] +

    No item with barcode: [% errmsgloo.msg | html %]

    + [% END %] + [% IF ( errmsgloo.ispermanent ) %] +

    Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]

    + [% END %] + [% IF ( errmsgloo.notissued ) %] +

    Not checked out.

    + [% END %] + [% IF ( errmsgloo.localuse) %] +

    Local use recorded

    + [% END %] + [% IF ( errmsgloo.waslost ) %] + [% IF Koha.Preference('BlockReturnOfLostItems') %] +

    Item is lost, cannot be checked in.

    + [% ELSE %] +

    Item was lost, now found.

    + [% END %] + [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %] +

    A refund has been applied to the borrowing patron's account.

    + [% ELSIF Koha.Preference('BlockReturnOfLostItems') %] +
    Cannot check in
    +

    NOT CHECKED IN

    + [% ELSE %] +

    Any lost item fees for this item will remain on the patron's account.

    + [% END %] + [% END %] + [% IF ( errmsgloo.withdrawn ) %] + [% IF Koha.Preference('BlockReturnOfWithdrawnItems') %] +
    Cannot check in
    +

    NOT CHECKED IN

    + [% END %] +

    Item is withdrawn.

    + [% END %] + [% IF ( errmsgloo.debarred ) %] +

    [% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %]) is now debarred until [% errmsgloo.debarred | $KohaDates %].

    + [% END %] + [% IF ( errmsgloo.prevdebarred ) %] +

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].

    + [% END %] + [% IF ( errmsgloo.foreverdebarred ) %] +

    Reminder: Patron has an indefinite restriction.

    + [% END %] + + [% IF errmsgloo.data_corrupted %] +

    The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the about page and search for the "data problems" section

    + [% END %] + [% END %] +
    [% END %] - [% ELSE %] - "Blank" - [% END %] -

    - [% END %] - [% IF ( errmsgloo.badbarcode ) %] -

    No item with barcode: [% errmsgloo.msg | html %]

    - [% END %] - [% IF ( errmsgloo.ispermanent ) %] -

    Please return item to: [% Branches.GetName( errmsgloo.msg ) | html %]

    - [% END %] - [% IF ( errmsgloo.notissued ) %] -

    Not checked out.

    - [% END %] - [% IF ( errmsgloo.localuse) %] -

    Local use recorded

    - [% END %] - [% IF ( errmsgloo.waslost ) %] - [% IF Koha.Preference('BlockReturnOfLostItems') %] -

    Item is lost, cannot be checked in.

    - [% ELSE %] -

    Item was lost, now found.

    - [% END %] - [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %] -

    A refund has been applied to the borrowing patron's account.

    - [% ELSIF Koha.Preference('BlockReturnOfLostItems') %] -
    Cannot check in
    -

    NOT CHECKED IN

    - [% ELSE %] -

    Any lost item fees for this item will remain on the patron's account.

    - [% END %] - [% END %] - [% IF ( errmsgloo.withdrawn ) %] - [% IF Koha.Preference('BlockReturnOfWithdrawnItems') %] -
    Cannot check in
    -

    NOT CHECKED IN

    - [% END %] -

    Item is withdrawn.

    - [% END %] - [% IF ( errmsgloo.debarred ) %] -

    [% errmsgloo.debarname | html %]([% errmsgloo.debarcardnumber | html %]) is now debarred until [% errmsgloo.debarred | $KohaDates %].

    - [% END %] - [% IF ( errmsgloo.prevdebarred ) %] -

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].

    - [% END %] - [% IF ( errmsgloo.foreverdebarred ) %] -

    Reminder: Patron has an indefinite restriction.

    - [% END %] - [% IF errmsgloo.data_corrupted %] -

    The item has not been checked in due to a configuration issue in your system. You must ask an administrator to take a look at the about page and search for the "data problems" section

    - [% END %] - [% END %] -
    -[% END %] + [% IF ( checkinmsg ) %] + [% IF ( checkinmsgtype == 'alert' ) %] +
    + [% ELSE %] +
    + [% END %] +

    [% checkinmsg | html_line_break %]

    +
    + [% END%] + +
    +
    +

    Check in

    +
    +
    +
    Enter item barcode:
    +
    + [% IF ( exemptfine ) %] + + [% ELSIF ( dropboxmode ) %] + + [% ELSE %] + + [% END %] + + [% FOREACH inputloo IN inputloop %] + + + + [% END %] +
    + +
    +
    + [% IF ( exemptfine ) %] +
    + [% ELSE %] + + + [% IF ( forgivemanualholdsexpire ) %] +
    + [% ELSE %] + + + [% IF ( dropboxmode ) %] +
    + [% ELSE %] + + [% IF ( return_date_override_remember ) %] +
    + [% ELSE %] + +
    +
    + +
    + [% IF Koha.Preference('SpecifyReturnDate') %] +
    +
    Specify return date [% INCLUDE 'date-format.inc' %]:
    + + + + + + +
    + [% IF ( return_date_override_remember ) %] + + [% ELSE %] + + [% END %] + +
    +
    + [% END %] + + [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] +
    + [% IF ( exemptfine ) %] + + [% ELSE %] + + [% END %] + +
    + [% END %] + +
    + [% IF ( dropboxmode ) %] + + [% ELSE %] + + [% END %] + +
    + + [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %] +
    + [% IF ( forgivemanualholdsexpire ) %] + + [% ELSE %] + + [% END %] + +
    + [% END %] + +
    +
    +
    + + [% IF ( riloop ) %] +

    Checked-in items

    + + + + + + + + + + + + + + + + + + + [% FOREACH riloo IN riloop %] + + + + + + + + + + + + + + + [% END %] +
    Due dateTitleAuthorBarcodeHome libraryHolding libraryShelving locationCall numberDate acquiredTypePatronNote
    + [% IF ( riloo.duedate ) %] + [% IF ( riloo.return_overdue ) %] + [% riloo.duedate | html %] (overdue) + [% ELSE %] + [% riloo.duedate | html %] + [% END %] + [% ELSE %] + Not checked out + [% END %] + + + [% riloo.itemtitle | html %] + + [% IF ( riloo.enumchron ) %] +
    + [% riloo.enumchron | html %] + [% END %] +
    [% riloo.itemauthor | html %] + [% riloo.barcode | html %] + + [% Branches.GetName( riloo.homebranch ) | html %] + + [% Branches.GetName( riloo.holdingbranch ) | html %] + + [% riloo.location | html %] + + [% riloo.itemcallnumber | html %] + + [% riloo.dateaccessioned | $KohaDates %] + + [% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %] + + [% IF ( riloo.duedate ) %] + + [% riloo.patron.surname | html %], [% riloo.patron.firstname | html %] ([% riloo.patron.category.description | html %]) + + [% IF riloo.borissuescount %] + + Checkouts: + + [% riloo.borissuescount | html %] + + + [% END %] + [% ELSE %] + Not checked out + [% END %] + + [% IF ( riloo.patron.borrowernotes ) %] +

    [% riloo.patron.borrowernotes | html %]

    + [% END %] + [% IF ( riloo.itemnote ) %] +

    [% riloo.itemnote | html %]

    + [% END %] + [% IF ( riloo.itemnotes_nonpublic ) %] +

    [% riloo.itemnotes_nonpublic | html %]

    + [% END %] +
    + [% END %] -[% IF ( checkinmsg ) %] - [% IF ( checkinmsgtype == 'alert' ) %] -
    - [% ELSE %] -
    - [% END %] -

    [% checkinmsg | html_line_break %]

    -
    -[% END%] - -
    -
    -

    Check in

    -
    -
    -
    Enter item barcode:
    -
    - [% IF ( exemptfine ) %] - - [% ELSIF ( dropboxmode ) %] - + [% IF Koha.Preference('CircSidebar') %] +
    +
    + +
    +
    [% ELSE %] - - [% END %] - - [% FOREACH inputloo IN inputloop %] - - - +
    +
    [% END %] -
    - -
    -
    - [% IF ( exemptfine ) %] -
    - [% ELSE %] - - - [% IF ( forgivemanualholdsexpire ) %] -
    - [% ELSE %] - - - [% IF ( dropboxmode ) %] -
    - [% ELSE %] - - [% IF ( return_date_override_remember ) %] -
    - [% ELSE %] - -
    -
    - -
    - [% IF Koha.Preference('SpecifyReturnDate') %] -
    -
    Specify return date [% INCLUDE 'date-format.inc' %]:
    - - - - - - -
    - [% IF ( return_date_override_remember ) %] - - [% ELSE %] - - [% END %] - -
    -
    - [% END %] - [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] -
    - [% IF ( exemptfine ) %] - - [% ELSE %] - - [% END %] - -
    - [% END %] -
    - [% IF ( dropboxmode ) %] - - [% ELSE %] - - [% END %] - -
    - [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %] -
    - [% IF ( forgivemanualholdsexpire ) %] - - [% ELSE %] - - [% END %] - -
    - [% END %] -
    - - - -[% IF ( riloop ) %] -

    Checked-in items

    - - - - [% FOREACH riloo IN riloop %] - - - - - - - - - - - - - - - [% END %] -
    Due dateTitleAuthorBarcodeHome libraryHolding libraryShelving locationCall numberDate acquiredTypePatronNote
    [% IF ( riloo.duedate ) %] - [% IF ( riloo.return_overdue ) %] - [% riloo.duedate | html %] (overdue) - [% ELSE %][% riloo.duedate | html %] - [% END %] - [% ELSE %]Not checked out - [% END %] - - [% riloo.itemtitle | html %] - - [% IF ( riloo.enumchron ) %] -
    - [% riloo.enumchron | html %] - [% END %] -
    [% riloo.itemauthor | html %][% riloo.barcode | html %][% Branches.GetName( riloo.homebranch ) | html %][% Branches.GetName( riloo.holdingbranch ) | html %][% riloo.location | html %][% riloo.itemcallnumber | html %][% riloo.dateaccessioned | $KohaDates %][% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %][% IF ( riloo.duedate ) %] - - [% riloo.patron.surname | html %], [% riloo.patron.firstname | html %] ([% riloo.patron.category.description | html %]) - - [% IF riloo.borissuescount %] - - Checkouts: - - [% riloo.borissuescount | html %] - - - [% END %] - [% ELSE %]Not checked out[% END %] - [% IF ( riloo.patron.borrowernotes ) %]

    [% riloo.patron.borrowernotes | html %]

    [% END %] - [% IF ( riloo.itemnote ) %]

    [% riloo.itemnote | html %]

    [% END %] - [% IF ( riloo.itemnotes_nonpublic ) %]

    [% riloo.itemnotes_nonpublic | html %]

    [% END %] -
    -[% END %] - [% IF Koha.Preference('CircSidebar') %] -
    -
    - -
    -
    - [% ELSE %] -
    -
    - [% END %] - -
    -
    -
    +
    +
    +
    [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] -- 2.11.0