Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Jonathan Druart 81431ee28a Bug 20226: Centralize update child code (CATCODE_MULTI)
Code and variables to deal with the update child feature are not
centralized but copied/pasted in several scripts. Which leads to issues
obsviously (bug 20805 for instance).

Moreover the strings used by the templates are also in several template
files (or .inc)

To deal with that this patch introduces the idea to create 1 .inc file
per .js file
Here we have members-menu.inc for members-menu.js

Test plan:
- Remove all your adult categories (categories.category_type='A')
- Create a patron with a child category
- Try to update to adult category
=> The entry does no longer appears! (This is a change in the behaviour)
- Create one adult category
- Update to adult category
=> There is a JS confirmation message, if you accept the patron will
be updated to the adult category
- Create (at least) another adult category
- Create another child
- Update to adult category
=> No more confirmation message but a popup to select the adult category
- Pick one
=> The patron has been updated to the adult category

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-14 11:58:26 +00:00
..
article-requests.tt Bug 20468: (QA follow-up) Deactivate select/clear all for empty tab 2018-08-10 10:00:57 +00:00
bookcount.tt Bug 20661: Shortcut circ scripts if a blocking error appeared 2018-08-10 12:23:03 +00:00
branchoverdues.tt Bug 10021: Remove notify columns in circ/branchoverdues.tt 2017-12-11 11:34:19 -03:00
branchtransfers.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
checkout-notes.tt Bug 17698: (QA follow-up) few more things 2018-07-23 15:23:43 +00:00
circulation-home.tt Bug 17698: (follow-up) Fixing things in Comment 57 2018-07-23 15:23:43 +00:00
circulation.tt Bug 20226: Centralize update child code (CATCODE_MULTI) 2018-08-14 11:58:26 +00:00
circulation_batch_checkouts.tt Bug 20226: Centralize update child code (CATCODE_MULTI) 2018-08-14 11:58:26 +00:00
offline-mf.tt Bug 20744: Replace staff client header Koha logo gif with transparent png 2018-06-22 20:37:01 +00:00
offline.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
on-site_checkouts.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
overdue.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
pendingreserves.tt Bug 19972: (QA follow-up) Fix id name 2018-05-03 13:26:48 -03:00
printslip.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
renew.tt Bug 19444: (QA follow-up) Remove repeating condition 2017-12-18 12:16:27 -03:00
request-article.tt Bug 20661: Shortcut circ scripts if a blocking error appeared 2018-08-10 12:23:03 +00:00
reserveratios.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
returns.tt Bug 17561: (follow-up) Pass itemnumber on returns and correct itemnumber param in circulation 2018-06-04 13:40:37 -04:00
selectbranchprinter.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
transferstoreceive.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
view_holdsqueue.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
waitingreserves.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00