From e6deb57f84f8ba0fa6cf9f33df12d3f64402e715 Mon Sep 17 00:00:00 2001
From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Date: Fri, 1 Mar 2024 09:39:16 +0000
Subject: [PATCH] Bug 35026: Adjust price field to match UI

Following bug 36036 the price field has been renamed in the UI- this patch removes the logic that was renaming that field in the backend to match this
---
 Koha/MarcOrder.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Koha/MarcOrder.pm b/Koha/MarcOrder.pm
index 3c7ed573b3..efca0b11bd 100644
--- a/Koha/MarcOrder.pm
+++ b/Koha/MarcOrder.pm
@@ -644,8 +644,6 @@ sub import_biblios_list {
                     my $itemrecord = {%$iteminfos};
                     $itemrecord->{item_id} = $item_id++;
 
-                    # Rename price field to match UI
-                    $itemrecord->{itemprice} = delete $itemrecord->{price} if $itemrecord->{price};
                     $all_items_quantity++;
                     push @itemlist, $itemrecord;
                 }
-- 
2.37.1 (Apple Git-137.1)