- setting "rounding days" not required - developer: added user pref for public holiday group (to be used by plugins) - developer: added WorkingTimeYearEvent (to be used by plugins) - user pref: cleanup work contract form and support more fields (to be used by plugins) - code cleanup - bump theme and composer packages
37 lines
1.5 KiB
Twig
37 lines
1.5 KiB
Twig
{% extends 'user/form.html.twig' %}
|
|
|
|
{% block form_content %}
|
|
|
|
<div class="mb-3">
|
|
<label class="form-label">{{ 'work_times_should'|trans }}</label>
|
|
<table class="table table-borderless">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ 'Monday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Tuesday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Wednesday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Thursday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Friday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Saturday'|trans({}, 'system-configuration') }}</th>
|
|
<th>{{ 'Sunday'|trans({}, 'system-configuration') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{{ form_widget(form.workHoursMonday) }}</td>
|
|
<td>{{ form_widget(form.workHoursTuesday) }}</td>
|
|
<td>{{ form_widget(form.workHoursWednesday) }}</td>
|
|
<td>{{ form_widget(form.workHoursThursday) }}</td>
|
|
<td>{{ form_widget(form.workHoursFriday) }}</td>
|
|
<td>{{ form_widget(form.workHoursSaturday) }}</td>
|
|
<td>{{ form_widget(form.workHoursSunday) }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="form-text mb-0 help-text">{{ 'work_times_should.help'|trans }}</div>
|
|
</div>
|
|
|
|
{{ form_rest(form) }}
|
|
|
|
{% endblock %}
|