Files
upstream-espocrm/application/Espo/Modules/Crm/Resources/metadata/dashlets/OpportunitiesByLeadSource.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

49 lines
1.4 KiB
JSON

{
"view":"crm:views/dashlets/opportunities-by-lead-source",
"aclScope": "Opportunity",
"options": {
"view": "crm:views/dashlets/options/chart",
"fields": {
"title": {
"type": "varchar",
"required": true
},
"dateFrom": {
"type": "date",
"required": true
},
"dateTo": {
"type": "date",
"required": true
},
"dateFilter": {
"type": "enum",
"options": ["currentYear", "currentQuarter", "currentMonth", "currentFiscalYear", "currentFiscalQuarter", "ever", "between"],
"default": "currentYear",
"translation": "Global.options.dateSearchRanges"
}
},
"layout": [
{
"rows": [
[
{"name": "title"},
false
],
[
{"name": "dateFilter"},
false
],
[
{"name": "dateFrom"},
{"name": "dateTo"}
]
]
}
],
"defaults": {
"dateFilter": "currentYear"
}
}
}