From ad6f94b0c757f92185b24499569248058cf58dad Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 21 Aug 2020 11:29:10 +0100 Subject: [PATCH] Bug 26268: Remove final references to paidfor db field Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- Koha/Item.pm | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json | 1 - 2 files changed, 3 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index add258491e..407242339b 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -183,7 +183,6 @@ sub store { and $pre_mod_item->itemlost > 0 ) { $self->_set_found_trigger($pre_mod_item); - $self->paidfor(''); } logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) ) @@ -934,7 +933,6 @@ sub to_api_mapping { itemnotes => 'public_notes', itemnotes_nonpublic => 'internal_notes', holdingbranch => 'holding_library_id', - paidfor => undef, timestamp => 'timestamp', location => 'location', permanent_location => 'permanent_location', diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json index af89c0fafe..ceec5c9466 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json @@ -28,7 +28,6 @@ "itemnotes": "itemnotes", "itemnotes_nonpublic": "itemnotes_nonpublic", "holdingbranch": "holdingbranch", - "paidfor": "paidfor", "timestamp": "timestamp", "location": "location", "permanent_location": "permanent_location", -- 2.11.0