From fa82090de6fdbd2b8964921a4fcfcd4ea5c5ff57 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 Signed-off-by: Michaela Sieber Signed-off-by: Jonathan Druart --- .../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 f82c607af8c..e7ec3b421b5 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.34.1