Hello everybody reading this thread !
I have a special request concerning "My Top Opportunities" Dashlet available on the homepage :
When editing this dashlet thanks to the pen icon on the top right side of the dashlet, you have different filters available (created on; modified on; type ; sales-stage ...).
My question is to know how to add a new filter with the "date of closure" of the opportunity in order to only list the opportunities that will end within the current month.
I know that this question claims to enter within the source code of files and to find the algorithm.
Thanks for your help,
Nathanaël, a common user of SugarCRM 4.5.
---------------------------------------------------------
Solution en Français :
Bonjour,
Pour la modification de ce Dashlet, il faut intervenir dans le fichier modules/Opportunities/Dashlets/MyOpportunitiesDashlets/MyOpportunitiesDashlets.data.php
------------
$dashletData['MyOpportunitiesDashlet']['searchFields'] = array('date_entered' => array('default' => ''),
'date_modified' => array('default' => ''),
'opportunity_type' => array('default' => ''),
.....
.....
-----------
Ajouter la ligne :
-------------
'date_closed' => array('default' => ''),
-------------
entre les lignes
-------------
'date_modified' => array('default' => ''),
'opportunity_type' => array('default' => ''),
-------------


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks