#1213 : Preop 4 decimales

This commit is contained in:
Dany De Bontridder 2015-11-06 18:52:35 +01:00
parent 4b00276e82
commit 33e9f6b05d
2 changed files with 2 additions and 0 deletions

View file

@ -352,6 +352,7 @@ class Pre_op_ach extends Pre_operation_detail
$array[$i]['denom']=$Span->input("e_march".$i."_label",$march_label);
// price
$Price=new INum();
$Price->prec=4;
$Price->setReadOnly(false);
$Price->size=9;
$Price->javascript="onBlur='format_number(this);clean_tva($i);compute_ledger($i)'";

View file

@ -345,6 +345,7 @@ class Pre_op_ven extends Pre_operation_detail
// price
$Price=new INum();
$Price->setReadOnly(false);
$Price->prec=4;
$Price->size=9;
$Price->javascript="onBlur='format_number(this);clean_tva($i);compute_ledger($i)'";
$array[$i]['pu']=$Price->input("e_march".$i."_price",$march_price);