Bug 7608: Manual history should not always be enabled
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 10 Feb 2013 18:39:50 +0000 (13:39 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 15 Feb 2013 12:46:51 +0000 (07:46 -0500)
commit6d75a4c7144b19684b1ba1864382e35c48fc8951
tree44aec61675def457348e8e6b752252bc46688dd7
parent621be0ccd8cb942bebe9a318f581fcdbdb4a2aa7
Bug 7608: Manual history should not always be enabled

When editing a subscription, the "manual history" block is visible even
if the subscription was created with manual history off.

To test:
1) Create a subscription and do not check the "Manual history" checkbox.
2) Save the subscription.
3) Edit the subscription. Note that the manual history section does not
   appear.
4) Enable manual history. Note the appearance of the manual history
   section.
5) Save the subscription.
6) Edit the subscription. Note that the manual history section appears.
7) Click "[cancel manual history]". Note the disappearance of the manual
   history section, and the unchecking of the "Manual history" checkbox.
8) Sign off on patch.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt