From 96be711d0333a531051cdbd6f194a2eb05071c60 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 4 Nov 2020 10:57:45 +0100 Subject: [PATCH] Bug 21898: Add basket for TT syntax Without this patch the basket's info won't be available for the TT syntax. With this patch you can now use [% basket.basketname %] Signed-off-by: Jonathan Druart --- C4/Letters.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 2c97d9e01c..b69600fb89 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1525,7 +1525,13 @@ sub _get_tt_params { singular => 'article_request', plural => 'article_requests', pk => 'id', - }, + }, + aqbasket => { + module => 'Koha::Acquisition::Baskets', + singular => 'basket', + plural => 'baskets', + pk => 'basketno', + }, biblio => { module => 'Koha::Biblios', singular => 'biblio', -- 2.39.5