Bug 7462 - duplicate patron shows flags
authorOwen Leonard <oleonard@myacpl.org>
Wed, 16 Jul 2014 13:13:34 +0000 (09:13 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 26 Aug 2014 22:44:01 +0000 (22:44 +0000)
commit425912847e5aee23dd530457598a898bc2399278
tree968333affbd215246b06664b5f06f3a0c53e62d6
parent80d8a2c6838f43d96287ec95a6802cc742ce4304
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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt