From e2afa2ed11d193b3e4d25d6ccee358583bf4917d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 27 Mar 2015 17:30:01 +0100 Subject: [PATCH] [PASSED QA] Bug 7480: Don't display current logged in user as basket manager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Managed by" field displayed on creating/editing an order is always the name of the logged in user. To reproduce: 1/ Log in with patron A 2/ Create a basket 3/ Create an order 4/ Log in with patron B 5/ Edit the order 6/ The "Managed by" line is "patron B" Test plan: Apply the patch and confirm that the "patron A" is always the basket manager. Followed test plan. Works as expected. Signed-off-by: Marc VĂ©ron Signed-off-by: Katrin Fischer --- acqui/neworderempty.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 2966e8e..6fbeab7 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -370,7 +370,6 @@ $template->param( firstnamesuggestedby => $suggestion->{firstnamesuggestedby}, biblionumber => $biblionumber, uncertainprice => $data->{'uncertainprice'}, - authorisedbyname => $borrower->{'firstname'} . " " . $borrower->{'surname'}, discount_2dp => sprintf( "%.2f", $bookseller->{'discount'} ) , # for display discount => $bookseller->{'discount'}, orderdiscount_2dp => sprintf( "%.2f", $data->{'discount'} || 0 ), -- 1.9.1