From f2f66d118371cb703d1cb3250001a590ecc000fd Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 1 Nov 2018 15:11:36 +0000 Subject: [PATCH] Bug 21750: Move collection code to its own column on checkins table To test: 1 - Set 'ShowAllCheckins' to show 2 - Set a collcection code for an item 3 - Check it in 4 - Note it displays in the the 'Item type' column 5 - Apply patch 6 - Check it in again 7 - Note the new 'Collection' column 8 - Hide/show the column using column visibility on the checkins page 9 - Go to Admin->Configure columns 10 - Test the various settings for this column and check in the item to make sure they work as expected Signed-off-by: Devinim --- admin/columns_settings.yml | 2 ++ .../intranet-tmpl/prog/en/modules/circ/returns.tt | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index d2d8dd3f0e..7a1044cc27 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -546,6 +546,8 @@ modules: - columnname: itype - + columnname: ccode + - columnname: borrower - columnname: itemnote 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 b490889695..b60bbfccb4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -683,7 +683,23 @@ [% IF ( riloop ) %]

Checked-in items

- + + + + + + + + + + + + + + + + + [% FOREACH riloo IN riloop %] @@ -711,7 +727,8 @@ - + +
Due dateTitleAuthorBarcodeHome libraryHolding libraryShelving locationCall numberDate acquiredRecord typeItem typePatronNote
Due dateTitleAuthorBarcodeHome libraryHolding libraryShelving locationCall numberDate acquiredRecord typeItem typeCollectionPatronNote
[% riloo.itemcallnumber | html %] [% riloo.dateaccessioned | $KohaDates %] [% ItemTypes.GetDescription( riloo.recordtype ) | html %][% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %][% 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 %]) -- 2.11.0