Bug 32610: Add date extended patron attributes to the OPAC
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 18 Mar 2023 10:19:42 +0000 (10:19 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 30 Apr 2024 15:09:49 +0000 (17:09 +0200)
commit0615bd757c5a88e5abd2980908a7cd41e06c23de
treecf751e2ff036439c89c3ce422cf2b460d786a066
parente22e0e09dd9a1e3aad3fb2a8e3d93459cacac597
Bug 32610: Add date extended patron attributes to the OPAC

This makes sure that the attributes are handled correctly
when displayed and edited in the OPAC during address changes
or self registration.

To test:
  * You will need to test different configuration options for
    extended patron attributes (PA) in combination with the date option:
    * PA displays in OPAC, but is not editable
      * The date will show nicely formatted on the personal details tab.
    * PA displays and is editable in the OPAC
      * The date can be edited using the calendar widget
    * PA displays, is editabe and mandatory
      * The date is marked as required and you can't save without
        it being set.
  * Test the form behaves correctly when requesting changes for an
    existing patron account and when self registering.

Signed-off-by: Philip Orr <philip.orr@lmscloud.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt