Bug 32939: Have a generic fetch function for POST and PUT requests in vue modules
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 10 Feb 2023 12:19:08 +0000 (11:19 -0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 28 Feb 2023 18:57:08 +0000 (18:57 +0000)
commit6d3df54862620c547d19db439d1e0bea4e2238ec
tree7ca0c4dfd145f2634889a498501b05da9cca1d35
parent43421f07917c906726da5eeb836134b2155a4110
Bug 32939: Have a generic fetch function for POST and PUT requests in vue modules

Rebase to 32806 and prior to 32925. Squash
More updates. Ready for review, for now.

JD amended patch:
* prettier
* remove changes to AgreementRelationships.vue and EHoldingsLocalPackageAgreements.vue to have less files to update in upcoming patches

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 866cc641d924496b9d201a3996843eb8787d618f)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormConfirmDelete.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm-api-client.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm.js
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/http-client.js [new file with mode: 0644]