[MT2343] Prevents Koha to format total amount in budget period add/edit form
+ Forgot a "my"
This commit is contained in:
parent
699549e7b4
commit
b14efbc832
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue