Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Administración del CRM - Creación módulo Monitorización #211

Open
wants to merge 63 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
d370306
initial commit
ainaraRT Apr 24, 2024
eafadb7
add icon
ainaraRT May 28, 2024
57e5506
search and list view
ainaraRT May 28, 2024
594ba4b
language
ainaraRT May 28, 2024
10fb7ec
language
ainaraRT May 28, 2024
ceb2303
return action
ainaraRT May 28, 2024
e717e7e
Merge branch 'develop' into feature/TrackerModule
ainaraRT Aug 14, 2024
35249a5
icon update
ainaraRT Aug 22, 2024
d8fc1b8
change searchs
ainaraRT Aug 28, 2024
221e9c0
track login and logout
ainaraRT Aug 28, 2024
3e8908d
update access tracker
ainaraRT Sep 11, 2024
caf32b6
listviewdef
ainaraRT Sep 11, 2024
7a96420
wip
ainaraRT Sep 11, 2024
978cb2e
custom language
ainaraRT Sep 11, 2024
20295b2
tracker user vardef
ainaraRT Sep 11, 2024
3698a65
custom view list
ainaraRT Sep 11, 2024
578f368
track deleted records
ainaraRT Sep 12, 2024
ca2d24a
update language
ainaraRT Sep 12, 2024
ce993c5
order date modified by asc
ainaraRT Sep 12, 2024
bb53400
track modified and created records
ainaraRT Sep 18, 2024
cc7ab94
see the module if the user is admin
ainaraRT Sep 18, 2024
8863945
searchdef and listviewdef
ainaraRT Sep 18, 2024
513a513
date_modified searchdef and link false to item_summary
ainaraRT Sep 18, 2024
e1c6659
tracker_user and modified vardefs
ainaraRT Sep 18, 2024
cc39e9e
tracker_user with user_name
ainaraRT Sep 18, 2024
e2f3c37
wip
ainaraRT Sep 18, 2024
143efc5
current user only with user_id
ainaraRT Sep 18, 2024
81a9923
user actions list language
ainaraRT Sep 18, 2024
fbab4de
wip
ainaraRT Sep 18, 2024
36c9ba8
itmer_summary not empty
ainaraRT Sep 18, 2024
13d4013
accessed only by administrators
ainaraRT Sep 20, 2024
11f6592
delete params and access by admin from the view list
ainaraRT Sep 20, 2024
fab16f5
menu in extension
ainaraRT Sep 24, 2024
45aba2d
Merge remote-tracking branch 'origin/develop' into feature/TrackerModule
ainaraRT Sep 26, 2024
a619241
update icons
ainaraRT Sep 30, 2024
bc45dad
track the login and the logout of the users
ainaraRT Oct 1, 2024
7e20f36
wip
ainaraRT Oct 1, 2024
13ad5b0
wip
ainaraRT Oct 1, 2024
204b20b
wip
ainaraRT Oct 1, 2024
a2b10a8
remove unused files
ainaraRT Oct 3, 2024
74bae66
remove logic hooks
ainaraRT Oct 8, 2024
7e3dc01
remove tracker_user
ainaraRT Oct 8, 2024
e1b9125
sticvardefs
ainaraRT Oct 8, 2024
beacd39
inline edit false
ainaraRT Oct 8, 2024
928c39a
save, update and deleted records
ainaraRT Oct 8, 2024
9283e4d
detailview records
ainaraRT Oct 8, 2024
de26d55
change metadata to modules
ainaraRT Oct 8, 2024
2d6bcdf
original vardef
ainaraRT Oct 8, 2024
48fdd57
remove view list
ainaraRT Oct 8, 2024
a44f8f6
wip
ainaraRT Oct 8, 2024
d4f579b
wip
ainaraRT Oct 8, 2024
971ce6b
corrected type assigned_user
ainaraRT Oct 8, 2024
3373483
track the bean when is deleted
ainaraRT Oct 8, 2024
6dd1d09
set when is visible the view
ainaraRT Oct 8, 2024
4ba7a7b
track_view with deleted action
ainaraRT Oct 8, 2024
5a8abe2
update actions language
ainaraRT Oct 8, 2024
b0ad6b0
inline edit false vardefs and action type enum
ainaraRT Oct 8, 2024
bfd748b
login and logout of the user
ainaraRT Oct 15, 2024
05cf2cf
wip
ainaraRT Oct 15, 2024
2fc67ab
wip
ainaraRT Oct 15, 2024
bc011a7
comments in the code
ainaraRT Oct 15, 2024
3dec94d
view list with the mass update false
ainaraRT Oct 15, 2024
0116168
Hide Quick Edit Pencil
ainaraRT Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom/Extension/application/Ext/Include/SticModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
$adminOnlyList['stic_Validation_Actions'] = array('all' => 1);
$adminOnlyList['stic_Security_Groups_Rules'] = array('all' => 1);
$adminOnlyList['stic_Custom_Views'] = array('all' => 1);
$adminOnlyList['Trackers'] = array('all' => 1);

// Totally hide FP_Events because it can be confused with stic_Events
$modInvisList[] = 'FP_events';
Expand Down
8 changes: 8 additions & 0 deletions custom/Extension/application/Ext/Language/ca_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3535,6 +3535,14 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Lliurada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';

// Monitoratges: Accions realitzades per l'usuari
$app_list_strings['trackers_actions_list']['save'] = 'Registre creat';
$app_list_strings['trackers_actions_list']['detailview'] = 'Registre accedit';
$app_list_strings['trackers_actions_list']['update'] = 'Registre actualitzat';
$app_list_strings['trackers_actions_list']['deleted'] = 'Registre eliminat';
$app_list_strings['trackers_actions_list']['login_ok'] = 'Login';
$app_list_strings['trackers_actions_list']['logout'] = 'Logout';


// Modificacions del core de SuiteCRM

Expand Down
8 changes: 8 additions & 0 deletions custom/Extension/application/Ext/Language/en_us.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3534,6 +3534,14 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Delivered';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validated';

// Trackers: User actions
$app_list_strings['trackers_actions_list']['save'] = 'Record created';
$app_list_strings['trackers_actions_list']['detailview'] = 'Record accessed';
$app_list_strings['trackers_actions_list']['update'] = 'Record updated';
$app_list_strings['trackers_actions_list']['deleted'] = 'Record deleted';
$app_list_strings['trackers_actions_list']['login_ok'] = 'Login';
$app_list_strings['trackers_actions_list']['logout'] = 'Logout';


// SuiteCRM Core modifications

Expand Down
8 changes: 8 additions & 0 deletions custom/Extension/application/Ext/Language/es_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3535,6 +3535,14 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Entregada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';

// Monitorizaciones: Acciones realizadas por el usuario
$app_list_strings['trackers_actions_list']['save'] = 'Registro creado';
$app_list_strings['trackers_actions_list']['detailview'] = 'Registro accedido';
$app_list_strings['trackers_actions_list']['update'] = 'Registro modificado';
$app_list_strings['trackers_actions_list']['deleted'] = 'Registro eliminado';
$app_list_strings['trackers_actions_list']['login_ok'] = 'Login';
$app_list_strings['trackers_actions_list']['logout'] = 'Logout';


// Modificaciones del core de SuiteCRM

Expand Down
8 changes: 8 additions & 0 deletions custom/Extension/application/Ext/Language/gl_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3536,6 +3536,14 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Entregada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';

// Monitoraxes: Accións realizadas polo usuario
$app_list_strings['trackers_actions_list']['save'] = 'Rexistro creado';
$app_list_strings['trackers_actions_list']['detailview'] = 'Rexistro accedido';
$app_list_strings['trackers_actions_list']['update'] = 'Registro modificado';
$app_list_strings['trackers_actions_list']['deleted'] = 'Rexistro eliminado';
$app_list_strings['trackers_actions_list']['login_ok'] = 'Login';
$app_list_strings['trackers_actions_list']['logout'] = 'Logout';


// Modificaciones del core de SuiteCRM

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,16 @@
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_ERROR'] = "Hi ha hagut errors a l'eliminar les dades de prova. " & 'Reviseu el <a target="_blank" href="index.php?action=LogView&module=Configurator&doaction=all&filter=action_removeSticData">log</a>.';
$mod_strings['LBL_ADMIN_ACTIONS'] = "Accions d'Administració";

$mod_strings['LBL_TRACKERS_TITLE'] = 'Monitoratges';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = "Monitoratge de sessions, accions de l'usuari";


// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_DESCRIPTION'] = 'Reconstrueix la integració amb Sinergia Data Analytics.';
$mod_strings['LBL_STIC_RUN_SDA_ACTIONS_LINK_TITLE'] = 'Reconstrueix ara';
$mod_strings['LBL_STIC_RUN_SDA_ACTIONS_DESCRIPTION'] = "Reconstrueix i repara les vistes i els elements necessaris per a la integració amb Sinergia Data Analytics. Si n'hi ha, afegeix els nous camps.";
$mod_strings['LBL_STIC_GO_TO_SDA_LINK_TITLE'] = 'Ves a Sinergia Data Analytics';
$mod_strings['LBL_STIC_RUN_SDA_SUCCESS_MSG'] = 'La reconstrucció de Sinergia Data Analytics ha acabat correctament.';
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = "Durant la reconstrucció de Sinergia Data Analytics s'han trobat els següents errors";
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = "Durant la reconstrucció de Sinergia Data Analytics s'han trobat els següents errors";

Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_SUCCESS'] = 'Test dataset succesfully deleted.';
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_ERROR'] = 'Errors have occurred while deleting the test dataset. Please review the <a target="_blank" href="index.php?action=LogView&module=Configurator&doaction=all&filter=action_insertSticData">log</a>.';
$mod_strings['LBL_ADMIN_ACTIONS'] = 'Admin actions';
$mod_strings['LBL_TRACKERS_TITLE'] = 'Trackers';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Monitoring of sessions, user actions';

// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
Expand All @@ -57,4 +59,4 @@
$mod_strings['LBL_STIC_RUN_SDA_ACTIONS_DESCRIPTION'] = 'Rebuild and repair the views and other necessary elements for integration with Sinergia Data Analytics. Add new fields if needed.';
$mod_strings['LBL_STIC_GO_TO_SDA_LINK_TITLE'] = 'Go to Sinergia Data Analytics';
$mod_strings['LBL_STIC_RUN_SDA_SUCCESS_MSG'] = 'Rebuild of Sinergia Data Analytics has been successfully completed.';
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = 'The following errors have been found in the rebuild of Sinergia Data Analytics';
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = 'The following errors have been found in the rebuild of Sinergia Data Analytics';
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_SUCCESS'] = 'Se han eliminado los datos de prueba correctamente.';
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_ERROR'] = 'Se han producido errores al eliminar los datos de prueba. Revise el <a target="_blank" href="index.php?action=LogView&module=Configurator&doaction=all&filter=action_removeSticData">log</a>.';
$mod_strings['LBL_ADMIN_ACTIONS'] = 'Acciones de Administración';
$mod_strings['LBL_TRACKERS_TITLE'] = 'Monitorizaciones';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Monitorización de sesiones, acciones del usuario';

// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_SUCCESS'] = 'Elimináronse os datos de proba correctamente.';
$mod_strings['LBL_STIC_TEST_DATA_REMOVE_ERROR'] = 'Producíronse erros ao eliminar os datos de proba. Revise o <a target="_blank" href="index.php?action=LogView&module=Configurator&doaction=all&filter=action_removeSticData">log</a>.';
$mod_strings['LBL_ADMIN_ACTIONS'] = 'Accións de Administración';
$mod_strings['LBL_TRACKERS_TITLE'] = 'Monitoraxes';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Monitoraxe de sesións, accións do usuario';


// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
Expand All @@ -57,4 +60,4 @@
$mod_strings['LBL_STIC_RUN_SDA_ACTIONS_DESCRIPTION'] = 'Reconstrúe e repara as vistas e os elementos necesarios para a integración con Sinergia Data Analytics. Engade novos campos se os hai.';
$mod_strings['LBL_STIC_GO_TO_SDA_LINK_TITLE'] = 'Ir a Sinergia Data Analytics';
$mod_strings['LBL_STIC_RUN_SDA_SUCCESS_MSG'] = 'A reconstrución de Sinergia Data Analytics completouse con éxito.';
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = 'Na reconstrución de Sinergia Data Analytics atopáronse os seguintes erros';
$mod_strings['LBL_STIC_RUN_SDA_ERROR_MSG'] = 'Na reconstrución de Sinergia Data Analytics atopáronse os seguintes erros';
23 changes: 23 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Language/ca_ES.SticLang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/
$mod_strings['LNK_LIST'] = 'Mostra les Monitoratges';
23 changes: 23 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Language/en_us.SticLang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/
$mod_strings['LNK_LIST'] = 'View Trackers';
23 changes: 23 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Language/es_ES.SticLang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/
$mod_strings['LNK_LIST'] = 'Mostrar las Monitorizaciones';
23 changes: 23 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Language/gl_ES.SticLang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/
$mod_strings['LNK_LIST'] = 'Ver Monitoraxes';
49 changes: 49 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Menus/SticMenu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address [email protected].
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
*/

if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}

global $mod_strings, $app_strings, $sugar_config;

if (ACLController::checkAccess('Trackers', 'list', true)) {
$module_menu[] = array('index.php?module=Trackers&action=index', $mod_strings['LNK_LIST'], 'View', 'Trackers');
}
56 changes: 56 additions & 0 deletions custom/Extension/modules/Trackers/Ext/Vardefs/SticVardefs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/

$dictionary['Tracker']['fields']['assigned_user_link'] = array (
'name' => 'assigned_user_link',
'type' => 'relate',
'vname' => 'LBL_ASSIGNED_TO_USER',
'link_type' => 'one',
'module'=>'Users',
'table' => 'users',
'id_name' => 'user_id',
'link' => true,
'rname' => 'user_name',
'inline_edit' => 0,
);

$dictionary['Tracker']['fields']['user_id']['module'] = 'Users';
$dictionary['Tracker']['fields']['user_id']['inline_edit'] = 0;

$dictionary['Tracker']['fields']['module_name']['type'] = 'enum';
$dictionary['Tracker']['fields']['module_name']['options'] = 'moduleList';
$dictionary['Tracker']['fields']['module_name']['inline_edit'] = 0;

$dictionary['Tracker']['fields']['action']['type'] = 'enum';
$dictionary['Tracker']['fields']['action']['options'] = 'trackers_actions_list';
$dictionary['Tracker']['fields']['action']['inline_edit'] = 0;

$dictionary['Tracker']['fields']['date_modified']['options'] = 'date_range_search_dom';
$dictionary['Tracker']['fields']['date_modified']['enable_range_search'] = true;
$dictionary['Tracker']['fields']['date_modified']['dbType'] = 'datetimecombo';
$dictionary['Tracker']['fields']['date_modified']['inline_edit'] = 0;

$dictionary['Tracker']['fields']['item_id']['inline_edit'] = 0;
$dictionary['Tracker']['fields']['item_summary']['inline_edit'] = 0;
$dictionary['Tracker']['fields']['session_id']['inline_edit'] = 0;
$dictionary['Tracker']['fields']['monitor_id']['inline_edit'] = 0;
41 changes: 41 additions & 0 deletions custom/modules/Trackers/views/view.list.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php
/**
* This file is part of SinergiaCRM.
* SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.
* Copyright (C) 2013 - 2023 SinergiaTIC Association
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SinergiaTIC Association at email address [email protected].
*/

require_once 'include/MVC/View/views/view.list.php';
require_once 'SticInclude/Views.php';

class CustomTrackersViewList extends ViewList
{

public function preDisplay()
{
parent::preDisplay();

$this->lv = new ListViewSmarty();
// Don't Mass Update the list
$this->lv->showMassupdateFields = false;
// Hide Quick Edit Pencil
$this->lv->quickViewLinks = false;

}
}
Loading
Loading