Make the "state" field in registration a togglable YAOUS
authorMichael Peters <mrpeters@library.in.gov>
Thu, 15 Nov 2012 17:49:05 +0000 (12:49 -0500)
committerBen Shum <bshum@biblio.org>
Wed, 5 Jun 2013 04:37:34 +0000 (00:37 -0400)
commit74863cebaa38df0d5b6197cd9013e0be2a991721
tree7e2a589b5d3c209cc4527284e087d2af907f32dc
parente103aadbf620e75933a3de80c901a5f91d98f5e8
Make the "state" field in registration a togglable YAOUS

Some countries do not use "State" therefore we need to create
a YAOUS to make it non-required/displaying.  This also requires
that we no longer force a "not null" on state in actor.usr_address.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.state_field_required_toggle.sql [new file with mode: 0644]
Open-ILS/src/templates/actor/user/register_table.tt2
Open-ILS/web/js/ui/default/actor/user/register.js