Working hours: Difference between revisions

Jump to navigation Jump to search
Line 21: Line 21:
Start Woodford and enable the necessary tables and columns.
Start Woodford and enable the necessary tables and columns.


== Defining working hours ==
== Define working hours ==


When you create a form for the Working hours entity, the form automatically includes an editor.
When you create a form for the Working hours table in Woodford, the form automatically includes an editor.


[[File:Working hours editor.png|400px|alt=Working hours editor]]
[[File:Working hours editor.png|400px|alt=Working hours editor]]


The hours are saved in the Data field. If you need to work with the data directly, it is saved in JSON format. The numbers are in minutes.
The hours are saved in the Data field. If you need to work with the data directly, it is stored in JSON format. The numbers are in minutes.


<syntaxhighlight lang="JSON">
<syntaxhighlight lang="JSON">
Line 56: Line 56:
   "workingHolidays": false
   "workingHolidays": false
}
}
</syntaxhighlight>  
</syntaxhighlight>


== Associate resources with working hours ==
== Associate resources with working hours ==

Navigation menu