From 52357e47f37b8374fb1dc6ea97a6ca946cffba7a 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 Signed-off-by: Olivier V --- 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.34.1