Release 2.0.11 (#3932)
- added "today" as selector in date-range dropdown - added feature to prevent auto-select of dropdowns with only one entry - added hint that no changes were detected in batch update - added negative invoice sums are possible (e.g. for credit notes) - fix project list is expanded after submission - fix invalid date parsing causes 500 - fix: prevent auto-select of activities in export and invoice form (in case only one global activity exists) - fix team assignments for customer and project were not saved (using API now) - fix form fieldset with legend styling (e.g. team project assignment) - fix required meta-field were forced to have a value in batch update - fix tomselect meta-field was not disabled in batch update - fix unset internal rate is shown as 0 - fix one minute rounding problem in duration-only mode with "now" being default time - fix column width and label for duration-only mode - tech debt: cleanup invoice template (remove invoice layout) - tech debt: reorder for simpler comparison with invoice form - possible BC for devs: remove unused methods from form trait - bump composer packages (includes new translations for auth screens)
This commit is contained in:
@@ -17,8 +17,16 @@
|
||||
{% endif %}
|
||||
{% if form.end_time is defined or form.duration is defined %}
|
||||
<div class="mb-3 row">
|
||||
<label class="col-form-label col-sm-2" for="{{ form.vars.name }}_duration">{{ 'duration'|trans }} / {{ 'endtime'|trans }}</label>
|
||||
{% set size = form.duration is defined ? 5 : 10 %}
|
||||
<label class="col-form-label col-sm-2" for="{{ form.vars.name }}_duration">
|
||||
{% if form.duration is defined %}
|
||||
{{ 'duration'|trans }}
|
||||
{% if form.end_time is defined %} / {% endif %}
|
||||
{% endif %}
|
||||
{% if form.end_time is defined %}
|
||||
{{ 'endtime'|trans }}
|
||||
{% endif %}
|
||||
</label>
|
||||
{% set size = form.duration is defined and form.end_time is defined ? 5 : 10 %}
|
||||
{% if form.duration is defined %}
|
||||
<div class="col-sm-{{ size }}">
|
||||
{{ form_widget(form.duration, {'label': false}) }}
|
||||
|
||||
Reference in New Issue
Block a user