From 043acc58473ba35fea58f19fba7a0122e07fdb7e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 19 Sep 2018 19:54:35 -0300 Subject: [PATCH] Bug 17877: Add the order's notes to the table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds the vendor and internal note from the acquisition order to the subscription detail page Test plan: - Create an order from a subscription, fill the internal and vendor notes - Go to the subscription's detail page - Confirm that the columns are displayed in the "Acquisition details" table and contain the correct values - Make sure the "Home › Administration › Columns settings" admin page let you hide them by default (for those who will not need them). Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer --- admin/columns_settings.yml | 4 ++++ .../intranet-tmpl/prog/en/modules/serials/subscription-detail.tt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 4e6b579..fd84605 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -585,6 +585,10 @@ modules: - columnname: status - + columnname: order_internalnote + - + columnname: order_vendornote + - columnname: fund - columnname: ordered diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 498ceb2..0c6c3ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -350,6 +350,8 @@ Creation date Receive date Status + Internal note + Vendor note Fund Ordered Spent @@ -385,6 +387,8 @@ [% CASE 'cancelled' %]Cancelled [% END %] + [% order.order_internalnote | html %] + [% order.order_vendornote | html %] [% order.fund.budget_name | html %] [% UNLESS order.datereceived %] -- 2.1.4