LP1821950 & LP1980409 Option to require call number label
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 19 Aug 2022 17:38:56 +0000 (13:38 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 13 Oct 2022 17:32:45 +0000 (13:32 -0400)
commit2979a29a1e6c08e73c5d28e7bc3ae45d46eba721
tree1917cca73389448ba71e6703d47dc692c1b725e7
parentb21c2c4f65d18d92fa41152d3b648c81c9b6c4eb
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>
Signed-off-by: Michele Morgan <mmorgan@noblenet.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