]> git.koha-community.org Git - koha.git/commit
Bug 28258: Update bad formatting in AUTO_RENEWALS notice
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Apr 2021 20:48:37 +0000 (20:48 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 May 2021 10:01:36 +0000 (12:01 +0200)
commit2412990733dda49253715facd470d6d8ec5c170f
tree2821d3f82384b985e6f6c2c293dd161d9abc4779
parentf77b351cc60228caabe33e6b1e02691bbc8ca675
Bug 28258: Update bad formatting in AUTO_RENEWALS notice

To test:
-Look at the AUTO_RENEWALS notice and see the syntax [% checkout.date_due as_due_date => 1 %]
-Apply patch, updatedatabase
-Look at the AUTO_RENEWALS notice and see the syntax [% checkout.date_due | $KohaDates as_due_date => 1%]

Additional test:
1 - Checkout an item to a patron
2 - Find their borrowernumber, the itemnumber, and the biblionumber
3 - Use the get_prepared_letter script to test the letter content
    perl misc/devel/get_prepared_letter.pl --module circulation --letter-code AUTO_RENEWALS --tables="{\"borrowers\": 5,\"issues\": 1040,\"items\": 1040,\"biblio\": 2 }"

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d8491c6eb294a3cfb77665daa444682e7bee8dd5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/bug_28258_update_auto_renewals_template.perl [new file with mode: 0644]