[MT2343] Prevents Koha to format total amount in budget period add/edit form

+ Forgot a "my"
This commit is contained in:
Jean-André Santoni 2009-12-02 16:23:05 +01:00 committed by Henri-Damien LAURENT
parent 699549e7b4
commit b14efbc832

View file

@ -114,7 +114,14 @@ if ( $op eq 'add_form' ) {
my $budgetperiod_hash=GetBudgetPeriod($budget_period_id);
# get dropboxes
FormatData($budgetperiod_hash);
$$budgetperiod_hash{budget_period_total}= $num->format_price($$budgetperiod_hash{'budget_period_total'});
my $editnum = new Number::Format(
'int_curr_symbol' => '',
'thousands_sep' => '',
'mon_decimal_point' => '.'
);
$$budgetperiod_hash{budget_period_total}= $editnum->format_price($$budgetperiod_hash{'budget_period_total'});
$template->param(
%$budgetperiod_hash
);