From 696a9cb601aa17216c1e36b5978f3f9b105f7639 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Andr=C3=A9=20Santoni?= Date: Tue, 5 Jan 2010 09:18:45 +0100 Subject: [PATCH] [MT2593] Fixed budget amount computation in acqui-home --- acqui/acqui-home.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index ef457b7b52..63e913afb7 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -152,8 +152,8 @@ foreach my $result (@results) { $result->{'budget_owner'} = $member_full; $result->{'budget_ordered'} = GetBudgetOrdered( $result->{'budget_id'} ); - $result->{'budget_avail'} = $result->{'budget_amount'} - $result->{'budget_spent'} - $result->{'budget_ordered'}; $result->{'budget_spent'} = GetBudgetSpent( $result->{'budget_id'} ); + $result->{'budget_avail'} = $result->{'budget_amount'} - $result->{'budget_spent'} - $result->{'budget_ordered'}; $total += $result->{'budget_amount'}; $totspent += $result->{'budget_spent'}; -- 2.39.5