Initial commit
This commit is contained in:
107
application/Espo/Resources/metadata/fields/currency.json
Normal file
107
application/Espo/Resources/metadata/fields/currency.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "required",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "min",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "max",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "onlyDefaultCurrency",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "conversionDisabled",
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "decimal",
|
||||
"type": "bool",
|
||||
"readOnlyNotNew": true,
|
||||
"tooltip": "currencyDecimal"
|
||||
},
|
||||
{
|
||||
"name": "audited",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "readOnly",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "readOnlyAfterCreate",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "precision",
|
||||
"type": "int",
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"name": "scale",
|
||||
"type": "int",
|
||||
"hidden": true
|
||||
}
|
||||
],
|
||||
"actualFields": [
|
||||
"currency",
|
||||
""
|
||||
],
|
||||
"fields": {
|
||||
"currency": {
|
||||
"type": "enum",
|
||||
"view": "views/fields/currency-list",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutDefaultSidePanelDisabled": true,
|
||||
"customizationRequiredDisabled": true,
|
||||
"customizationOptionsDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true,
|
||||
"customizationIsSortedDisabled": true,
|
||||
"customizationDisplayAsLabelDisabled": true,
|
||||
"customizationAuditedDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"customizationInlineEditDisabledDisabled": true,
|
||||
"customizationDefaultView": "views/admin/field-manager/fields/currency-default",
|
||||
"customizationTooltipTextDisabled": true,
|
||||
"maxLength": 3
|
||||
},
|
||||
"converted": {
|
||||
"type": "currencyConverted",
|
||||
"readOnly": true,
|
||||
"importDisabled": true,
|
||||
"customizationInlineEditDisabledDisabled": true,
|
||||
"detailLayoutIncompatibleFieldList": []
|
||||
}
|
||||
},
|
||||
"converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\Currency",
|
||||
"validationList": [
|
||||
"required",
|
||||
"min",
|
||||
"max"
|
||||
],
|
||||
"mandatoryValidationList": [
|
||||
"valid",
|
||||
"validCurrency",
|
||||
"inPermittedRange"
|
||||
],
|
||||
"filter": true,
|
||||
"personalData": true,
|
||||
"valueFactoryClassName": "Espo\\Core\\Field\\Currency\\CurrencyFactory",
|
||||
"attributeExtractorClassName": "Espo\\Core\\Field\\Currency\\CurrencyAttributeExtractor"
|
||||
}
|
||||
Reference in New Issue
Block a user