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 <kohadevinim@devinim.com.tr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2018-11-01 15:11:36 +00:00 committed by Jonathan Druart
parent 74a13ab801
commit 34cefcd46b
2 changed files with 7 additions and 1 deletions

View File

@ -1113,6 +1113,8 @@ modules:
columnname: record_type
-
columnname: itype
-
columnname: ccode
-
columnname: borrower
-

View File

@ -791,6 +791,7 @@
<th class="ci-dateaccessioned">Date acquired</th>
<th class="ci-recordlevelitemtype">Record-level itemtype</th>
<th class="ci-itemtype">Item type</th>
<th class="ci-collection">Collection</th>
<th class="ci-patron">Patron</th>
<th class="ci-note">Note</th>
</tr>
@ -844,7 +845,10 @@
[% ItemTypes.GetDescription( riloo.recordtype ) | html %]
</td>
<td class="ci-itemtype">
[% ItemTypes.GetDescription( riloo.itemtype ) | html %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
[% ItemTypes.GetDescription( riloo.itemtype ) | html %]
</td>
<td class="ci-collection">
[% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
</td>
<td class="ci-patron">
[% IF ( riloo.duedate ) %]