Koha/cataloguing/value_builder
Owen Leonard 61ca2359f2
Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages)
This patch modifies the cataloging plugin dateaccessioned.pl so that it
triggers the addition of a datepicker widget to fields it is linked
with. Despite its name the plugin can be used on any item field which
requires a date.

To test, apply the patch and make sure you have one or more item
subfields linked to the dateaccessioned.pl plugin. For instance, in
MARC21:

 - Administration -> MARC bibliographic framework -> MARC structure ->
   952 -> Edit subfields:
   - subfields d ("Date acquired") and w ("Price effective from"):
     - Other options -> Plugin -> dateaccessioned.pl

 - Go to cataloging and add or edit an item on a bibliographic record
 - The "Date acquired" and "Price effective from" fields should be
   styled as datepickers.
 - Clicking in these fields should populate the field with today's date
   and trigger the datepicker popup.
 - Test that all the datepicker features work correctly.
 - Test that manual entry of a date works.

 - With the AcqCreateItem system preference set to "placing an order,"
   go to Acquisitions -> Vendor -> Add to basket.
   - Add a title to your basket using your preferred method.
   - In the "New order" form, find the section for adding an item.
   - Test the "Date acquired" and "Price effective from" fields, which
     should behave just like they did in the cataloging module.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-23 12:01:45 +00:00
..
barcode.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
barcode_manual.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
callnumber-KU.pl
callnumber.pl
cn_browser.pl
dateaccessioned.pl Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
EXAMPLE.pl
macles.pl
marc21_field_005.pl
marc21_field_006.pl
marc21_field_007.pl
marc21_field_008.pl Bug 21053: Encode URI characters in plugin 008 2018-07-19 16:23:16 +00:00
marc21_field_008_authorities.pl
marc21_field_008_classifications.pl
marc21_field_245h.pl
marc21_leader.pl
marc21_leader_authorities.pl
marc21_linking_section.pl Bug 22830: correct for loop in value_builder/unimarc_field_4XX.pl value_builder 2019-08-16 11:42:54 +01:00
marc21_orgcode.pl
normarc_field_007.pl
normarc_field_008.pl
normarc_leader.pl
stocknumber.pl
stocknumberam123.pl Bug 20435: Allow lowercase prefix in inventory value builder 2018-11-06 17:42:31 +00:00
stocknumberAV.pl Bug 20435: Allow lowercase prefix in inventory value builder 2018-11-06 17:42:31 +00:00
unimarc_field_4XX.pl Bug 22830: correct for loop in value_builder/unimarc_field_4XX.pl value_builder 2019-08-16 11:42:54 +01:00
unimarc_field_010.pl
unimarc_field_100.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_100_authorities.pl
unimarc_field_105.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_106.pl Bug 19996: (RM follow-up 2) Remove commented use warnings; 2018-02-15 11:23:51 -03:00
unimarc_field_110.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_115a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_115b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_116.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_117.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_120.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_121a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_121b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_122.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123d.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123e.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123f.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123g.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123i.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_123j.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124c.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124d.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124e.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124f.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_124g.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_125.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_125a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_125b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_126.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_126a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_126b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_127.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_128a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_128b.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_128c.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_130.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_135a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_140.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_141.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_210c.pl
unimarc_field_210c_bis.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_225a.pl Bug 19996: (RM follow-up) Remove commented use warnings; 2018-02-15 11:22:23 -03:00
unimarc_field_225a_bis.pl
unimarc_field_686a.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_field_700-4.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
unimarc_leader.pl Bug 19996: (QA follow-up) Remove commented use warnings; 2018-02-05 09:45:47 -03:00
upload.pl