Skip to content

Commit

Permalink
Evarisk#3189 [Accident] add: default status 0
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed Jul 28, 2023
1 parent 3770eb8 commit 2d1b971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/accidentinvestigation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class AccidentInvestigation extends SaturneObject
'entity' => ['type' => 'integer', 'label' => 'Entity', 'enabled' => '1', 'position' => 10, 'notnull' => 1, 'visible' => 0,],
'date_creation' => ['type' => 'datetime', 'label' => 'DateCreation', 'enabled' => '1', 'position' => 20, 'notnull' => 1, 'visible' => 0,],
'tms' => ['type' => 'timestamp', 'label' => 'DateModification', 'enabled' => '1', 'position' => 30, 'notnull' => 0, 'visible' => 0,],
'status' => ['type' => 'smallint', 'label' => 'Status', 'enabled' => '1', 'position' => 40, 'notnull' => 0, 'visible' => 0, 'index' => 0,],
'status' => ['type' => 'smallint', 'label' => 'Status', 'enabled' => '1', 'position' => 40, 'notnull' => 1, 'visible' => 0, 'default' => 0, 'index' => 0,],
'seniority_at_post' => ['type' => 'varchar(255)', 'label' => 'SeniorityAtPost', 'enabled' => '1', 'position' => 60, 'notnull' => 0, 'visible' => 4,],
'fk_usual_task' => ['type' => 'integer', 'label' => 'FkTask', 'enabled' => '1', 'position' => 70, 'notnull' => 0, 'visible' => 4,],
'accident_on_job' => ['type' => 'boolean', 'label' => 'AccidentOnJob', 'enabled' => '1', 'position' => 80, 'notnull' => 0, 'visible' => 4,],
Expand Down

0 comments on commit 2d1b971

Please sign in to comment.