From 86d49809d55e1686877fe5e2583d98bc3ffc69ae Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 6 Nov 2024 11:18:22 +0000 Subject: [PATCH] Bug 37171: Add serial note to serial claims screen This patch adds the serial note field into the serials claims display table. Test plan: 1) Add a Serial 2) View the serial 'Serial collection' 3) Use the 'Edit serials' option to add a note to an expected, late serial issue. 4) View the serial claims for the Vendor of that serial 5) Note the new 'Serial notes' column in the display of claims 6) Signoff Sponsored-by: Loughborough University Signed-off-by: Martin Renvoize Signed-off-by: Baptiste Wojtkowski --- C4/Serials.pm | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 30195873..39853a87 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1937,7 +1937,7 @@ sub GetLateOrMissingIssues { "SELECT serialid, aqbooksellerid, name, biblio.title, biblioitems.issn, planneddate, serialseq, - serial.status, serial.subscriptionid, claimdate, claims_count, + serial.status, serial.subscriptionid, claimdate, serial.notes AS notes, claims_count, subscription.branchcode, serial.publisheddate FROM serial LEFT JOIN subscription ON serial.subscriptionid=subscription.subscriptionid @@ -1955,7 +1955,7 @@ sub GetLateOrMissingIssues { "SELECT serialid, aqbooksellerid, name, biblio.title, planneddate, serialseq, - serial.status, serial.subscriptionid, claimdate, claims_count, + serial.status, serial.subscriptionid, claimdate, serial.notes AS notes, claims_count, subscription.branchcode, serial.publisheddate FROM serial LEFT JOIN subscription ON serial.subscriptionid=subscription.subscriptionid diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index d211c98b..1b0306a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -100,6 +100,7 @@ Publication date Claims count Claim date + Serial notes [% FOR field IN additional_fields_for_subscription %] [% field.name | html %] [% END %] @@ -127,6 +128,7 @@ [% missingissue.publisheddate | $KohaDates %] [% missingissue.claims_count | html %] [% missingissue.claimdate | $KohaDates %] + [% missingissue.notes | html %] [% INCLUDE 'additional-fields-display.inc' available=additional_fields_for_subscription values=missingissue.additional_field_values value_only=1 is_table_cell=1 %] [% END # /FOREACH missingissue %] -- 2.30.2