To integrate with GIRnet, you must add the integration and inform GIRnet of the types of sales and periods.
The sales types are the rooms; by default you have a virtual room, with id 1 and name "Virtual":
[
["id" => 1000000, "name" => "Virtual"],
...
The rest are rooms with their ids
...
["id" => 6, "name" => "Indoor1"],
["id" => 8, "name" => "Terrace"],
...
]
The periods by default are always the same.
[
["id"=> 1, "name"=> "Breakfast","start" =>"05:00:00", "end" =>"11:59:59"],
["id"=> 2, "name"=> "Lunch", "start" =>"12:00:00", "end" =>"16:59:59"],
["id"=> 3, "name"=> "Dinner", "start" =>"17:00:00", "end" =>"23:59:59"],
["id"=> 4, "name"=> "Night", "start" =>"00:00:00", "end" =>"04:59:59"],
];