Bug 39056: Do not copy preferred_name to new patron when using Duplicate
It looks like this was a type/copy paste error, template fixed
To test:
1 - Find a patron, ensure preferred_name is populated
2 - Duplicate
3 - Note preferred_name is carried over
4 - Apply patch
5 - Cancel and duplicate again
6 - Preferred name is blank!
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 796bfddf87)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
785bb50121
commit
bd6bea710a
|
|
@ -382,7 +382,7 @@ legend.collapsed i.fa.fa-caret-down::before {
|
|||
[% END %]
|
||||
Preferred name:
|
||||
</label>
|
||||
<input type="text" id="preferred_name" name="preferred_name" size="20" value="[% borrower_data.preferred_name | html UNLESS opduplicate %]" />
|
||||
<input type="text" id="preferred_name" name="preferred_name" size="20" value="[% borrower_data.preferred_name | html UNLESS op == 'duplicate' %]" />
|
||||
[% IF ( mandatorypreferred_name ) %]
|
||||
<span class="required">Required</span>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue