From 4907f5806c3241b380496e6eff12ad5ac0e4b6cc Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Wed, 31 Mar 2010 11:40:48 +0200 Subject: [PATCH] (BUG #4357) Closing a basket and creating baskets group when closing a basket without creating a basketgroup, the group is still created => corrected + replace "create a basketgroup?" by "create a purchase order now?" in confirmation step. Signed-off-by: Galen Charlton --- acqui/basket.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/basket.pl b/acqui/basket.pl index 1e27d8f1b1..7c2456a961 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -161,7 +161,7 @@ if ( $op eq 'delete_confirm' ) { basketgroupid => $basketgroupid } ); print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?booksellerid='.$booksellerid.'&closed=1'); } else { - print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?basketno='.$basketno.'&op=attachbasket&booksellerid=' . $booksellerid); + print $query->redirect('/cgi-bin/koha/acqui/booksellers.pl?supplierid=' . $booksellerid); } exit; } else { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl index 18631d161f..3c48fb83a8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl @@ -309,7 +309,7 @@

Are you sure you want to close basket ?

- +

" name="basketno" /> -- 2.39.5