Bug 7462 - duplicate patron shows flags
When duplicating a patron the form fields for setting patron account flags and restrictions should be hidden as it is when adding a patron. This patch adds the correct logic to the template. To test, duplicate an existing patron: - Confirm that the "Patron account flags" and "Patron restrictions" sections are not visible. - Confirm that saving a duplicated patron works correctly. - Confirm that the edit and new patron entry forms are unaffected. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Works ok, all three points confirmed No koha-qa errors Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, small template change. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
207756c001
commit
509da0289c
|
|
@ -1174,7 +1174,7 @@
|
|||
</fieldset>
|
||||
[% END # hide fieldset %][% END %]
|
||||
<!--this zones are not necessary in modif mode -->
|
||||
[% UNLESS ( opadd ) %]
|
||||
[% UNLESS ( opadd || opduplicate ) %]
|
||||
<fieldset class="rows">
|
||||
<legend>Patron account flags</legend>
|
||||
<ol class="radio">
|
||||
|
|
|
|||
Loading…
Reference in New Issue