diff --git a/ChangeLog b/ChangeLog index f6d35c7bf59..909e882a152 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,7 @@ English Dolibarr ChangeLog For users: ---------- NEW Add option THEME_STICKY_TOPMENU = 'scrollleftmenu_after_mainpage' (or 'disabled') - +NEW value for FICHINTER_DISABLE_DETAILS. If FICHINTER_DISABLE_DETAILS is set to '2' details are disabled only on intervention list. For developers: --------------- diff --git a/htdocs/fichinter/card-rec.php b/htdocs/fichinter/card-rec.php index 67b97170895..66bf2f5a94a 100644 --- a/htdocs/fichinter/card-rec.php +++ b/htdocs/fichinter/card-rec.php @@ -336,7 +336,7 @@ if ($action == 'create') { // Author print "
| '.$langs->trans("TotalDuration").' | '; print ''.convertSecondToTime($object->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY).' ('.convertDurationtoHour($object->duration, "s").' '.$langs->trans("h").') | '; @@ -1429,7 +1429,7 @@ if ($action == 'create') { } // Line of interventions - if (!getDolGlobalString('FICHINTER_DISABLE_DETAILS')) { + if (!getDolGlobalString('FICHINTER_DISABLE_DETAILS') || getDolGlobalString('FICHINTER_DISABLE_DETAILS') == '2') { print '