]> git.koha-community.org Git - koha.git/commit
Bug 35287: Vue preparation - AdditionalFields
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 8 Nov 2023 12:34:19 +0000 (11:34 -0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 11:38:20 +0000 (13:38 +0200)
commit4d6925d39100ef323b50ccb1ca8541d3677e06df
tree660ec8fdfabafc8630ea2f9fc37f5c4d7e526ada
parentb22ebef5cdd4a7390ac51a7f804bf97c2d61c22c
Bug 35287: Vue preparation - AdditionalFields

New api client: additional-fields-api-client.js to interact with the REST endpoint introduced by bug 35197
2 new components:
- AdditionalFieldsEntry: Component used to extend the FormAdd component including the corresponding additional fields
- AdditionalFieldsDisplay: Component used to display the additional fields associated to a data record implementing it (makes use of strings_map)

Signed-off-by: Edith Speller <edith.speller@ukhsa.gov.uk>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/js/vue/components/AdditionalFieldsDisplay.vue [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/components/AdditionalFieldsEntry.vue [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/additional-fields-api-client.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js