Make the "state" field in registration a togglable YAOUS user/paxed/state_required_yaous-signoff
authorMichael Peters <mrpeters@library.in.gov>
Thu, 15 Nov 2012 17:49:05 +0000 (12:49 -0500)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Thu, 14 Feb 2013 08:56:35 +0000 (10:56 +0200)
commit18198c978de491589c654a7a34752775d3061e56
tree43628e9a70ea3f2d26def4f6f0d49934bbd2cc30
parentcf1e67373238132f159c8edffcc5236a00ef6e8a
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>
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