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>
Fri, 7 Jun 2013 20:18:24 +0000 (16:18 -0400)
commit2fd3e8a20e73f78bb1f997fbdd120dea4f24a3b8
treeb982eb2caa35ddefefa2b5cbc31c210ee3df7551
parentd4d42526de97ce1aba91d76de0f2dfad5ee3711b
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