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 107 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 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
28a6910
module in administration
ainaraRT Oct 16, 2024
674cc12
vardefs in modules
ainaraRT Oct 17, 2024
1b9364e
search assigned user
ainaraRT Oct 17, 2024
b94342b
change user to current_user
ainaraRT Oct 17, 2024
d18da2f
change label and type of the assigned user
ainaraRT Oct 17, 2024
79cadb9
remove monitor_id from the list view and search def
ainaraRT Oct 18, 2024
c96ead8
remove 'visible' value to track the login and logout without removing…
ainaraRT Oct 18, 2024
2b29cab
Sort by date_modified in ASC
ainaraRT Oct 18, 2024
e25c220
comments added and placed correctly
ainaraRT Oct 22, 2024
83de123
translate into Spanish
ainaraRT Oct 25, 2024
93f6d32
VardefManager assignable anda basic
ainaraRT Oct 29, 2024
59e99a5
metric assigned_user_id in tracker_monitor
ainaraRT Oct 29, 2024
29e6d5a
remove or change to assigned_user_id
ainaraRT Oct 29, 2024
17ec701
Improving translation
jalbaiges Oct 29, 2024
ed35e5f
Improving translation
jalbaiges Oct 29, 2024
4198029
Improving translation
jalbaiges Oct 29, 2024
6b70ec5
Remove doubled lines
jalbaiges Oct 29, 2024
62b6c9f
Improving translation
jalbaiges Oct 29, 2024
d4d2c2b
Improving translation
jalbaiges Oct 29, 2024
24e1500
Minor fix
jalbaiges Oct 29, 2024
79bbaf2
Improving translation
jalbaiges Oct 29, 2024
de74463
Improving translation
jalbaiges Oct 29, 2024
b4cdcf2
Improving translation
jalbaiges Oct 29, 2024
3fcf2db
Minor fix
jalbaiges Oct 29, 2024
71aa300
Minor fix
jalbaiges Oct 29, 2024
38caf9c
Improving translation
jalbaiges Oct 29, 2024
bf56901
Improving translation
jalbaiges Oct 29, 2024
9d74260
Improving translation
jalbaiges Oct 29, 2024
67989ce
Improving translation
jalbaiges Oct 29, 2024
b8e209f
LBL review
jalbaiges Oct 29, 2024
075139e
Improving translation
jalbaiges Oct 29, 2024
f364e10
Improving translation
jalbaiges Oct 29, 2024
0545c4e
Minor fix
jalbaiges Oct 29, 2024
1480db0
Minor fix
jalbaiges Oct 29, 2024
00d9fff
Improving translation
jalbaiges Oct 29, 2024
cda5940
Correct confusing label
jalbaiges Oct 29, 2024
4ab40dd
Merge remote-tracking branch 'origin/develop' into feature/TrackerModule
ainaraRT Dec 16, 2024
eb0ca09
themes updated
ainaraRT Dec 16, 2024
7818e5b
some fixes
ainaraRT Jan 9, 2025
6eae38a
redo sugarview change of the user_id
ainaraRT Jan 9, 2025
53a9798
excluding a module which is not understandable
ainaraRT Jan 9, 2025
07c2b2b
remove user_id and added link false to item_id
ainaraRT Jan 13, 2025
c45c4be
assigned_user_name inline_edit to false
ainaraRT Jan 14, 2025
ee7936e
Tracker prune interval for the Scheduler
ainaraRT Jan 14, 2025
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
6 changes: 6 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,4 +595,10 @@
// https://github.com/SinergiaTIC/SinergiaCRM/pull/394
'show_tasks_as_events' => true,
// END STIC

// STIC Custom 20241016 ART - Tracker prune interval for the Scheduler
// https://github.com/SinergiaTIC/SinergiaCRM/pull/211
// Delete from the tracker table the records of the days prior to the ones configured in config
'tracker_prune_interval' => 90,
// END STIC Custom
);
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
9 changes: 8 additions & 1 deletion custom/Extension/application/Ext/Language/ca_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,6 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Lliurada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';


// Modificacions del core de SuiteCRM

// Cadenes generals (procedents d'include)
Expand Down Expand Up @@ -3645,3 +3644,11 @@
$app_list_strings['emailTemplates_type_list_no_workflow']['email'] = 'Correu electrònic';
$app_list_strings['emailTemplates_type_list_no_workflow']['event'] = 'Esdeveniment';
$app_list_strings['emailTemplates_type_list_no_workflow']['system'] = 'Sistema';

// Monitoratge: Accions
$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 modificat';
$app_list_strings['trackers_actions_list']['deleted'] = 'Registre eliminat';
$app_list_strings['trackers_actions_list']['login_ok'] = 'Usuari connectat';
$app_list_strings['trackers_actions_list']['logout'] = 'Usuari desconnectat';
9 changes: 8 additions & 1 deletion custom/Extension/application/Ext/Language/en_us.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3546,7 +3546,6 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Delivered';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validated';


// SuiteCRM Core modifications

// Opportunities: Roles of the contacts in the opportunity context
Expand Down Expand Up @@ -3611,3 +3610,11 @@
$app_list_strings['emailTemplates_type_list_no_workflow']['email'] = 'Email';
$app_list_strings['emailTemplates_type_list_no_workflow']['event'] = 'Event';
$app_list_strings['emailTemplates_type_list_no_workflow']['system'] = 'System';

// Trackers: 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'] = 'User login';
$app_list_strings['trackers_actions_list']['logout'] = 'User logout';
11 changes: 9 additions & 2 deletions custom/Extension/application/Ext/Language/es_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,6 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Entregada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';


// Modificaciones del core de SuiteCRM

// Cadenas generales (procedentes de include)
Expand Down Expand Up @@ -3638,10 +3637,18 @@
$app_list_strings['campaign_type_dom']['Survey'] = 'Encuesta';
$app_list_strings['campaign_type_dom']['Notification'] = 'Notificación';

// Plantillas de email: Tipos de plantilla
// Plantillas de correo: Tipos de plantilla
$app_list_strings['emailTemplates_type_list_no_workflow'][''] = '';
$app_list_strings['emailTemplates_type_list_no_workflow']['campaign'] = 'Campaña';
$app_list_strings['emailTemplates_type_list_no_workflow']['notification'] = 'Notificación';
$app_list_strings['emailTemplates_type_list_no_workflow']['email'] = 'Email';
$app_list_strings['emailTemplates_type_list_no_workflow']['event'] = 'Evento';
$app_list_strings['emailTemplates_type_list_no_workflow']['system'] = 'Sistema';

// Monitorizaciones: Acciones
$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'] = 'Usuario conectado';
$app_list_strings['trackers_actions_list']['logout'] = 'Usuario desconectado';
11 changes: 9 additions & 2 deletions custom/Extension/application/Ext/Language/gl_ES.SticLang.php
Original file line number Diff line number Diff line change
Expand Up @@ -3548,7 +3548,6 @@
$app_list_strings['stic_group_opportunities_doc_status_list']['delivered'] = 'Entregada';
$app_list_strings['stic_group_opportunities_doc_status_list']['validated'] = 'Validada';


// Modificaciones del core de SuiteCRM

// Cadenas generales (procedentes de include)
Expand Down Expand Up @@ -3639,10 +3638,18 @@
$app_list_strings['campaign_type_dom']['Survey'] = 'Encuesta';
$app_list_strings['campaign_type_dom']['Notification'] = 'Notificación';

// Plantillas de email: Tipos de plantilla
// Plantillas de correo: Tipos de plantilla
$app_list_strings['emailTemplates_type_list_no_workflow'][''] = '';
$app_list_strings['emailTemplates_type_list_no_workflow']['campaign'] = 'Campaña';
$app_list_strings['emailTemplates_type_list_no_workflow']['notification'] = 'Notificación';
$app_list_strings['emailTemplates_type_list_no_workflow']['email'] = 'Email';
$app_list_strings['emailTemplates_type_list_no_workflow']['event'] = 'Evento';
$app_list_strings['emailTemplates_type_list_no_workflow']['system'] = 'Sistema';

// Monitorizaciones: Acciones
$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'] = 'Usuario conectado';
$app_list_strings['trackers_actions_list']['logout'] = 'Usuario desconectado';
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?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].
*/

$admin_option_defs = array();
$admin_option_defs['Administration']['trackers'] = [
'Trackers',
'LBL_TRACKERS_TITLE',
'LBL_TRACKERS_DESCRIPTION',
'./index.php?module=Trackers&action=index',
'module-trackers'
];

// Search inside the arrays of the admin_group_header for the section in which we want to add our new subsection, also getting its key
foreach ($admin_group_header as $key => $section) {
if ($section[0] === 'LBL_ADMIN_TOOLS_TITLE' && isset($section[3])) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿Para qué se utiliza esta condición? isset($section[3])

Copy link
Collaborator Author

@ainaraRT ainaraRT Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para comprobar que existe el array donde recoge la lista a mostrar del Admin Tools
image

// We add the subsection to the end of the defined array
$admin_group_header[$key][3]['Administration'] = array_merge($admin_group_header[$key][3]['Administration'], $admin_option_defs['Administration']);
break;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@
$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'] = 'Monitoratge';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = "Registre de les sessions d'usuari i de les accions sobre registres.";

// 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 @@ -50,6 +50,9 @@
$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'] = 'Tracker';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Log of user sessions and actions with records.';

// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_DESCRIPTION'] = 'Rebuild the integration with Sinergia Data Analytics.';
Expand Down
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'] = 'Monitorización';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Registro de las sesiones de usuario y de las acciones sobre registros.';

// 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,8 @@
$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'] = 'Monitorización';
$mod_strings['LBL_TRACKERS_DESCRIPTION'] = 'Registro de las sesiones de usuario y de las acciones sobre registros.';

// SinergiaDA
$mod_strings['LBL_STIC_MANAGE_SDA_ACTIONS_LINK_TITLE'] = 'Sinergia Data Analytics';
Expand Down
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 el Monitoratge';
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 la Monitorización';
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'] = 'Mostrar la Monitorización';
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)) {
ManuSinergiaCRM marked this conversation as resolved.
Show resolved Hide resolved
$module_menu[] = array('index.php?module=Trackers&action=index', $mod_strings['LNK_LIST'], 'View', 'Trackers');
}
Loading
Loading