Skip to content

Commit

Permalink
#46 [Mod] add: extrafields project phone
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Apr 27, 2023
1 parent 472b71d commit f875953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/modules/modEasyCRM.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ public function init($options = ''): int

$extrafields->addExtraField('commrelaunch', $langs->transnoentities('CommercialsRelaunching'), 'text', 100, 2000, 'projet', 0, 0, '', '', '', '', 2);
$extrafields->addExtraField('commtask', $langs->transnoentities('CommercialTask'), 'sellist', 100, 2000, 'projet', 0, 0, '', 'a:1:{s:7:"options";a:1:{s:39:"projet_task:ref:rowid::fk_projet = $ID$";N;}}', 1, '', 1);
$extrafields->addExtraField('projectphone', $langs->transnoentities('ProjectPhone'), 'phone', 100, '', 'projet', 0, 0, '', 'a:1:{s:7:"options";a:1:{s:0:"";N;}}', 1, '', 1);

if (empty($conf->global->EASYCRM_ACTIONCOMM_COMMERCIAL_RELAUNCH_TAG)) {
require_once DOL_DOCUMENT_ROOT . '/categories/class/categorie.class.php';
Expand Down
1 change: 1 addition & 0 deletions langs/fr_FR/easycrm.lang
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ QuickContactCreations = ajouts rapide de contact/adresse
QuickTaskCreations = ajouts rapides de tâche
CommercialFollowUp = SC
CommercialTask = Tâche commerciale
ProjectPhone = Téléphone projet



Expand Down

0 comments on commit f875953

Please sign in to comment.