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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 14:15:15 +0000 (11:15 -0300)
commit09ceb26b572ac6a0a0f0bc2a5172327d26bc641f
tree005434109ef5aaf395fc301c5746e454c130f9b7
parent0ef8e6aff959c54622897f77eded0c3ae6772bf4
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>
C4/Letters.pm