From 1f4f42ead4b856ffa7483b1092c22c632a18a100 Mon Sep 17 00:00:00 2001
From: Jacob O'Mara <jacob.omara@ptfs-europe.com>
Date: Mon, 9 Jan 2023 10:32:23 +0000
Subject: [PATCH] Bug 22693: ILL "Price paid" column does not appear in column
 configuration

Test Plan:
 - Navigate to ILL requests page from the main menu after setting up your ILL backend.
 - Observe that Price Paid column does not exist either here nor in the column configuration.
 - Apply patch
 - Observe that Price Paid column now appears in ILL requests table and in the column configuration page.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 admin/columns_settings.yml                                  | 2 ++
 koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc | 1 +
 2 files changed, 3 insertions(+)

diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 38a5f19662..f2736e6d47 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -859,6 +859,8 @@ modules:
               columnname: accessurl
             -
               columnname: cost
+            -
+              columnname: price_paid
             -
               columnname: comments
             -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc
index 7b370937ce..481cb74b1c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc
@@ -29,6 +29,7 @@
                 <th scope="col" class="completed_formatted">Completed on</th>
                 <th scope="col">Access URL</th>
                 <th scope="col">Cost</th>
+                <th scope="col">Price paid</th>
                 <th scope="col">Comments</th>
                 <th scope="col">OPAC notes</th>
                 <th scope="col">Staff notes</th>
-- 
2.30.2