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

Fixes #1180 Custom currency database schema correction

parent b7688ce4
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