Populate the token "item.loanType" in the notices, with the data provided by the context

Description

Purpose/Overview:
A new token “item.loanType” was added in Settings >> Circulation >> Patron notice templates.
Please replace this token with data provided by the context.

Scenarios:

Scenario:

  • Given: I have received an email, the notice template of which contains the token “item.loanType” + the field Temporary loan type is populated,

  • When: I look at the text of that token in the live email,

  • Then: I see the plain text name of the Temporary loan type, as can be seen in the UI of Inventory.
    Example: In the email, I see “Reading room”, and NOT the UUID.

Scenario:

  • Given: I have received an email, the notice template of which contains the token “item.loanType” + the field Temporary loan type is not populated,

  • When: I look at the text of that token in the live email,

  • Then: I see the plain text name of the Permanent loan type, as can be seen in the UI of Inventory.
    Example: In the email, I see “Can circulate”, and NOT the UUID.

Environment

None

Potential Workaround

None

is defined by

Checklist

hide

TestRail: Results

Activity

Show:

julie.bickle March 11, 2023 at 5:12 PM

I confirm that this works in Snapshot.

Nika Mindadze March 9, 2023 at 12:06 PM

tested works as expected

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Volaris

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 29, 2022 at 8:12 AM
Updated March 29, 2023 at 3:19 PM
Resolved March 11, 2023 at 5:12 PM
TestRail: Cases
TestRail: Runs