From 1014bd131e47bf4b38e310ac51d5d233ec5e08c5 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 6 Feb 2024 13:47:25 +0000 Subject: [PATCH] Bug 36002: Remove last references to purchaseordernumber Test plan: Git grep for it. Ignore update22to30.pl and atomicupdate. Verify that you can still create/update/delete an acq order. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer --- Koha/Acquisition/Order.pm | 2 -- Koha/Database/Columns.pm | 1 - 2 files changed, 3 deletions(-) diff --git a/Koha/Acquisition/Order.pm b/Koha/Acquisition/Order.pm index 27887b1c60..0e3c8201e8 100644 --- a/Koha/Acquisition/Order.pm +++ b/Koha/Acquisition/Order.pm @@ -455,7 +455,6 @@ sub duplicate_to { invoiceid datecancellationprinted cancellationreason - purchaseordernumber claims_count claimed_date parent_ordernumber @@ -649,7 +648,6 @@ sub to_api_mapping { ordernumber => 'order_id', orderstatus => 'status', parent_ordernumber => 'parent_order_id', - purchaseordernumber => undef, # obsolete quantityreceived => 'quantity_received', replacementprice => 'replacement_price', sort1 => 'statistics_1', diff --git a/Koha/Database/Columns.pm b/Koha/Database/Columns.pm index 4637d0cab3..1742a09cf0 100644 --- a/Koha/Database/Columns.pm +++ b/Koha/Database/Columns.pm @@ -85,7 +85,6 @@ sub columns { "ordernumber" => __("Order number"), "orderstatus" => __("Order status"), "parent_ordernumber" => __("Parent order number (internal)"), - "purchaseordernumber" => __("Not used (deprecated)"), "quantity" => __("Quantity"), "quantityreceived" => __("Quantity received"), "replacementprice" => __("Replacement price"), -- 2.39.5