Skip to content
Snippets Groups Projects
Commit 8113d020 authored by Uma's avatar Uma
Browse files

Merge branch 'Custom_currency' into 'master'

Fixes #1180 Custom currency database schema correction

See merge request !580
parents 4dc87b98 f6120e76
No related branches found
No related tags found
No related merge requests found
......@@ -233,13 +233,12 @@ class Settings_LayoutEditor_Module_Model extends Vtiger_Module_Model {
break;
Case 'Currency' :
$fieldLength = $params['fieldLength'];
$decimal = $params['decimal'];
$uitype = 71;
$dbfldlength = $fieldLength + $decimal + 1;
$decimal = $decimal + 3;
$type="NUMERIC(".$dbfldlength.",".$decimal.")"; //adodb type
$uichekdata='N~O';
break;
$decimal = $params['decimal'];
$uitype = 71;
$dbfldlength = $fieldLength + $decimal;
$type="NUMERIC(".$dbfldlength.",".$decimal.")"; //adodb type
$uichekdata='N~O';
break;
Case 'Date' :
$uichekdata='D~O';
$uitype = 5;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment