Currency : improve decimals

This commit is contained in:
sparkyx 2023-07-05 17:48:47 +02:00
parent 678e36fa79
commit 64ecf1ade7
6 changed files with 37 additions and 6 deletions

View file

@ -961,7 +961,7 @@ class Acc_Ledger extends jrn_def_sql
$currency_select->selected=$http->request('p_currency_code','string',0);
$currency_input=new INum("p_currency_rate");
$currency_input->prec=6;
$currency_input->prec=8;
$currency_input->id="p_currency_rate";
$currency_input->value=$http->request('p_currency_rate','string',1);
$ret.=tr(td(_("Devise")).td($currency_select->input().