LP1821950 & LP1980409 Option to require call number label
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 19 Aug 2022 17:38:56 +0000 (13:38 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Fri, 19 Aug 2022 17:38:56 +0000 (13:38 -0400)
commit671af8513d0c993e4b02e397c78ff6188c60cbc9
treeb6acddc59d434b59315da6b2b44f803520dda5e9
parent87e3cd4404f6a4e225db71ac660cf6533de10c9e
LP1821950 & LP1980409 Option to require call number label

This uses a new Library Setting for "Require call number labels
in Copy Editor" for the benefit of libraries that with to use a
predefined Prefix (such as FIC or EZ) instead of individual call
number labels for each volume.

When the setting is True, the call number label field is marked
required and the Save buttons disabled until a value is present.

When the setting is False, the call number label is not required.
In addition, the Angular interface adds an additional check for
Prefix, so if the call number label is empty then the Prefix is
required.

Acknowledgements:
Org Unit Setting created by Kyle Huckins
Angular and AngularJS changes done by New Developers Working Group

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html
Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js