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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 14:13:08 +0000 (11:13 -0300)
commit866cc641d924496b9d201a3996843eb8787d618f
treef38a5695e7ec39434e48aa7db5a0ca6bdbf9cdd6
parenta8847a0d1dfaeb44b838f713f595d8fbb5067423
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>
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]