From 4342374cd793961b63fe2830fed72be7ae294f36 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 --- 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 da29ddbe307..643b852c218 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1935,7 +1935,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 @@ -1953,7 +1953,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 cd5a788257e..402905e420a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -128,6 +128,7 @@ Publication date Claims count Claim date + Serial notes [% FOR field IN additional_fields_for_subscription %] [% field.name | html %] [% END %] @@ -155,6 +156,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.48.1