Bug 7462 - duplicate patron shows flags
authorOwen Leonard <oleonard@myacpl.org>
Wed, 16 Jul 2014 13:13:34 +0000 (09:13 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 30 Jul 2014 17:25:00 +0000 (14:25 -0300)
commit509da0289c283f24f704cc461d052651600bdc0a
tree1bb6fa2faf09238599d1b3f053b8372df14e0df7
parent207756c00107360c207b893a6ae13e940195b6b3
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt