diff --git a/inc/define.php b/inc/define.php index bb1ecc0a9c9..9a3d0fbe15d 100644 --- a/inc/define.php +++ b/inc/define.php @@ -246,7 +246,7 @@ ]; $CFG_GLPI["reservation_types"] = ['Computer', 'Monitor', 'NetworkEquipment', - 'Peripheral', 'Phone', 'Printer', 'Software' + 'Peripheral', 'Phone', 'Printer', 'Software', 'Rack' ]; $CFG_GLPI["linkuser_types"] = ['Computer', 'Monitor', 'NetworkEquipment', diff --git a/src/Rack.php b/src/Rack.php index 7cdd47d443b..1bb8a4161e2 100644 --- a/src/Rack.php +++ b/src/Rack.php @@ -78,6 +78,7 @@ public function defineTabs($options = []) ->addStandardTab('Ticket', $ong, $options) ->addStandardTab('Item_Problem', $ong, $options) ->addStandardTab('Change_Item', $ong, $options) + ->addStandardTab('Reservation', $ong, $options) ->addStandardTab('Log', $ong, $options); return $ong; }