|
From: <gd...@le...> - 2002-01-19 13:52:44
|
When I find item from Inventory; from input Customer Invoice , the Price
record is viewed with ",00" truncated.
The method Form::format_amount receive value "$amount" with "," and not ".";
and conversion are lost.
This problem depends to LOCALE on my Server; but if I run APACHE with:
export LC_CTYPE='en_EN'
the problem is too present.
To resolve in temporary manner I have change Form.pm to:
______________________________________________________
www:/opt/sql-ledger/SL # diff Form.pm Form.pm~
261a262
>
264,267d264
<
< # GDO change ',' to '.' (LC_LOCALE problems!?!)
< $amount =~ s/,/./;
< # GDO END
______________________________________________________
Do yo have best solution ?
best regards
Guido brugnara
--
ing. Guido Brugnara tel.+39(461)390804 fax.396028
Leader.IT S.r.l. (Leader Information Technology)
Strada della Pozzata, 41 www.leader.it/srl
38050 Villazzano TRENTO (ITALY) in...@le...
|