@@ -, +, @@ acqui home --- acqui/acqui-home.pl | 2 ++ .../prog/en/modules/acqui/acqui-home.tt | 32 +++++++++++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) --- a/acqui/acqui-home.pl +++ a/acqui/acqui-home.pl @@ -95,6 +95,8 @@ foreach my $budget ( @{$budget_arr} ) { } $budget->{'budget_avail'} = $budget->{'budget_amount'} - ( $budget->{'budget_spent'} + $budget->{'budget_ordered'} ); + $budget->{'total_avail'} = + $budget->{'budget_amount'} - ( $budget->{'total_spent'} + $budget->{'total_ordered'} ); $total += $budget->{'budget_amount'}; $totspent += $budget->{'budget_spent'}; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -159,16 +159,36 @@