Bug 33203: Add letter_code to the letter dropdown text
To test: 1. Add a new notice in the Circulation module with a letter code of 'ABC'. Give the new notice a name of 'Overdue notice'. 2. Now to go Overdue notice/status triggers and look at the dropdown, notice 2 choices that both read 'Overdue notice'. 3. Apply patch and try again. 4. The new notice should now read "Overdue notice (ABC)" and should be easy to distinguish from the original. Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
05190ed1d9
commit
b51ced92db
|
|
@ -114,9 +114,9 @@
|
|||
<option value="">No notice</option>
|
||||
[% FOREACH letter IN letters %]
|
||||
[% IF letter.code == value.selected_lettercode %]
|
||||
<option value="[% letter.code | html %]" selected="selected">[% letter.name | html %]</option>
|
||||
<option value="[% letter.code | html %]" selected="selected">[% letter.name | html %] ( [% letter.code | html %] )</option>
|
||||
[% ELSE %]
|
||||
<option value="[% letter.code | html %]">[% letter.name | html %]</option>
|
||||
<option value="[% letter.code | html %]">[% letter.name | html %] ( [% letter.code | html %] )</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue