From b92385966f6953744f7528dc697e5c3f315a2abc Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 15 Oct 2024 14:48:53 +0000 Subject: [PATCH] Bug 38010: Point basket action buttons to correct pages --- .../js/vue/components/Vendors/VendorBaskets.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorBaskets.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorBaskets.vue index 84178276016..30541341db3 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorBaskets.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorBaskets.vue @@ -82,8 +82,22 @@ export default { } }, methods: { - addToBasket({ agreement_id }, dt, event) { + addToBasket({ basket_id }, dt, event) { event.preventDefault() + location.href = + "/cgi-bin/koha/acqui/basket.pl?basketno=" + basket_id + }, + closeBasket({ basket_id }, dt, event) { + event.preventDefault() + location.href = + "/cgi-bin/koha/acqui/basket.pl?basketno=" + basket_id + }, + uncertainPrices({ basket_id }, dt, event) { + event.preventDefault() + location.href = + "/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=" + + basket_id + + "&owner=1" }, tableURL() { let url = -- 2.39.3 (Apple Git-146)