From 0cd8de3fef317fe210bbd86a898bb89688218e36 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 %] --- 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.20.1