Bug 30708: Set default values for items added in batch to a train
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 Apr 2023 10:12:01 +0000 (12:12 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Oct 2023 18:41:52 +0000 (15:41 -0300)
commit3e6c15f6315ea81f0eb640d4406bc9c3059ad0e4
treeeee6952d53d865d7154520e084326353d6e28579
parentd929ef8951948189c76170b992d3d3eccda9b27d
Bug 30708: Set default values for items added in batch to a train

Technical notes: Ideally we would have split TrainsFormAddItem to make some part
reusable, but it turned out into a complicated component that would have
been hard to maintain. It seems easier to have two different components.
Ideas to improve this area are welcome!

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: BULAC - http://www.bulac.fr/
Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Preservation/Train.pm
koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js
t/cypress/integration/Preservation/Trains.ts
t/cypress/integration/Preservation/WaitingList.ts