]> git.koha-community.org Git - koha.git/commit
Bug 15348: (follow-up) Fix modals to pre-set input with stored date
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 15 Nov 2022 13:32:43 +0000 (13:32 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Nov 2022 18:56:13 +0000 (15:56 -0300)
commit78ccd863fc68e806215265a999c335ba5203680b
tree1ebb10f2a28ee6e527d9ebaa7a4ad01808761d05
parentbbe63b5c459c7358333893231fbc762f7db1b1d6
Bug 15348: (follow-up) Fix modals to pre-set input with stored date

Makes sure that when an estimated delivery day is edited using
the modals on the basket summary or late order pages, the
date input is pre-set to the stored estimated delivery date.

To test:
* Create some order lines with and without estimated delivery date set
* Make sure that on the basket summary the edit link comes up with an
  empty modal
* Close the basket
* Check that on late orders the dates are pre-filled incorrectly as well
* Apply patch
* Refresh basket summary and late order pages
* All edit links now should bring up the modal with the correct date filled in

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt