Bug 31858: add TT syntax for ACQORDER notices
authorAlex Arnaud <alex.arnaud@biblibre.com>
Wed, 19 Oct 2022 11:42:19 +0000 (11:42 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 10 Mar 2023 16:34:25 +0000 (16:34 +0000)
commit7f453f4851d8dbe8c2db9f75faf65bd73aec0b8e
tree667453fc1dd4c0fe70570012613759478edc3ffd
parenta6a5345d370d3ac72b5787faefddf45ec2c87ec5
Bug 31858: add TT syntax for ACQORDER notices

Test Plan:
    1) Set your ACQORDER notice content to:
        [%- USE Price -%]
        [% bookseller.name %]
        [% FOREACH order IN orders %]
        Ordernumber [% order.ordernumber %] ([% order.biblio.title %] - [% order.biblio.biblioitem.publicationyear %]) (quantity: [% order.quantity %]) ($[% order.listprice | $Price %] each).
        [% END %]
        Thank you,
        [% branch.branchname %]
    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) Check the content is correct

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 09ceb26b572ac6a0a0f0bc2a5172327d26bc641f)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
C4/Letters.pm