Koha/installer/data/mysql
Nick Clemens 71d1e1727c Bug 3534 - Patron quick add form
This patch adds a new system preference:
    PatronQuickAddFields

When either this pref or BorrowerMandatoryField is populated this will add a new dropdown to the bew patron toolbar.
When a category is chosen from this dropdown the fields in PatronQuickAddFields and BorrowerMandatoryField will be displayed.
There will be a button allowing a user to switch from the quickadd to the full form and fields will be copied between the forms when toggling.

The Quick add will only be displayed on add of a new patron, future edits should display the full form.

Test plan:
 1 - Apply patch
 2 - run updatedatabase.pl
 3 - Add a new patron and ensure nothing has changed
 4 - Populate either PatronQuickAddFields or BorrowerMandatory fields
 and note the new button for adding a patron
 5 - Click the Quick add and choose a type
 6 - Only required or quick add fields should be displayed
 7 - Verify toggling forms copies information
 8 - Ensure you cannot save patron without filling required fields
 (quick add fields should be optional)
 9 - Ensure you can save patron with fields filled out
10 - Ensure that a duplicate patron brings up the duplicate/add new
buttons with full form displayed
11 - Verify that subsequent edits use only full form
12 - Verify that data on form submitted is the data saved to patron
13 - Test with various values in both MandatoryBorrowerFields and PatronQuickAddFields

Sponsored by: VOKAL (Vermont Organization of Koha Automated Libraries)

Followed test plan, works as expected.
Re-tested together with followup, works as expected (2016-06-02)
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-07-07 18:35:01 +00:00
..
atomicupdate Bug 3534 - Patron quick add form 2016-07-07 18:35:01 +00:00
de-DE Bug 16472: Update MARC21 de-DE frameworks to update 22 (April 2016) 2016-06-24 13:41:13 +00:00
en Bug 13669: (alternative) use DBIx::RunSQL 2016-05-23 16:47:32 +00:00
es-ES Bug 16470: Update MARC21 es-ES frameworks to Update 22 (April 2016) 2016-05-16 17:57:21 +00:00
fr-CA Bug 14622 - New data in French Canadian for the web installer. Add "fr-CA" folder. 2016-05-04 14:03:37 +00:00
fr-FR Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
it-IT Bug 16601: Update of italian MARC21 files 2016-06-24 13:53:21 +00:00
mandatory Bug 14048: (QA followup) Default to 1 if no default rule 2016-07-07 10:37:01 -06:00
nb-NO Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
pl-PL Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
ru-RU Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
uk-UA Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
kohastructure.sql Bug 14048: Add RefundLostItemFeeRule table and classes 2016-07-07 10:37:01 -06:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 3534 - Patron quick add form 2016-07-07 18:35:01 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 14048: (RM followup) DB version 16.06.00.006 2016-07-07 11:02:53 -06:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00