Skip to content

Commit

Permalink
#104 [Mod] add: conf TimeSpent set at 0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Jan 17, 2023
1 parent ae2921a commit d76e5f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/modules/modDoliSIRH.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ public function __construct($db)
$this->const = array(
// CONST CONFIGURATION
$i++ => array('DOLISIRH_DEFAUT_TICKET_TIME', 'chaine', '15', 'Default Time', 0, 'current'),
$i++ => array('DOLISIRH_SHOW_ONLY_FAVORITE_TASKS', 'integer', 1, '', 0, 'current'),
$i++ => array('DOLISIRH_HR_PROJECT', 'integer', 0, '', 0, 'current'),
$i++ => array('DOLISIRH_TIMESPENT_BOOKMARK_SET', 'integer', 0, '', 0, 'current'),
$i++ => array('DOLISIRH_EXCEEDED_TIME_SPENT_COLOR', 'chaine', '#FF0000', '', 0, 'current'),
Expand All @@ -120,12 +119,15 @@ public function __construct($db)
$i++ => array('DOLISIRH_PRODUCT_SERVICE_SET', 'integer', 0, '', 0, 'current'),
$i++ => array('DOLISIRH_HR_PROJECT_SET', 'integer', 0, '', 0, 'current'),

// CONST TIME SHEET
// CONST TIME SPENT
$i++ => array('DOLISIRH_SHOW_ONLY_FAVORITE_TASKS', 'integer', 0, '', 0, 'current'),
$i++ => array('DOLISIRH_SHOW_ONLY_TASKS_WITH_TIMESPENT_ON_TIMESHEET', 'integer', 0, '', 0, 'current'),

// CONST TIME SHEET
$i++ => array('DOLISIRH_TIMESHEET_ADDON', 'chaine', 'mod_timesheet_standard', '', 0, 'current'),
$i++ => array('DOLISIRH_TIMESHEET_PREFILL_DATE', 'integer', 1, '', 0, 'current'),
$i++ => array('DOLISIRH_TIMESHEET_ADD_ATTENDANTS', 'integer', 0, '', 0, 'current'),
$i++ => array('DOLISIRH_TIMESHEET_CHECK_DATE_END', 'integer', 1, '', 0, 'current'),
$i++ => array('DOLISIRH_SHOW_ONLY_TASKS_WITH_TIMESPENT_ON_TIMESHEET', 'integer', 0, '', 0, 'current'),

// CONST TIMESHEET DOCUMENT
$i++ => array('DOLISIRH_TIMESHEETDOCUMENT_ADDON', 'chaine', 'mod_timesheetdocument_standard', '', 0, 'current'),
Expand Down

0 comments on commit d76e5f4

Please sign in to comment.