From 0f6a783925e39f2537ccc8601e42c814f4e4e63f Mon Sep 17 00:00:00 2001 From: Lisette Scheer Date: Mon, 23 Sep 2024 18:12:31 +0000 Subject: [PATCH] Bug 37989: Add template toolkit to problem_report notice This patch adds the ability to use template toolkit in the PROBLEM_REPORT notice --- C4/Letters.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C4/Letters.pm b/C4/Letters.pm index 7bdbfc9bf2..97d5d37fed 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1904,6 +1904,12 @@ sub _get_tt_params { plural => 'train_items', pk => 'train_item_id' }, + problem_reports => { + module => 'Koha::ProblemReports', + singluar => 'problemreport', + plural => 'problemreports', + pk => 'reportid' + }, }; my $dbh = C4::Context->dbh; -- 2.39.5