]> git.koha-community.org Git - koha.git/commit
Bug 31587: Basket not accessible from ACQORDER notice
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 20 Sep 2022 14:21:19 +0000 (10:21 -0400)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Tue, 20 Dec 2022 02:09:36 +0000 (15:09 +1300)
commitd45ea439bc4b250164c9b58fa16c358158ba5ff8
tree7ebca87b9f9703efa1fae4e64b373f6eb985b090
parent32b44d9c9b9d9ae339647c32181e61d30d884291
Bug 31587: Basket not accessible from ACQORDER notice

The parameter "aqbasket" is passed to GetPreparedLetter, but is always undefined for the notice ACQORDER.

Test Plan:
1) Set your ACQORDER notice content to:
   ***[% basket %]***
2) Set up a vendor with an email, set contact for email so the "E-mail
   order" button shows on a basket for that vendor
3) E-mail the basket
4) Note the email contents are "******"
5) Apply this patch
6) Restart all the things!
7) Email the basket again
8) Note the content looks something like:
   ***Koha::Acquisition::Basket=HASH(0x55870acd96e0)***

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c89e886b6d99d92347b0da36d190429771a5ab97)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit aceaca5d29b1a43d7f03178efbb934ba11671f6f)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
C4/Letters.pm