re-order fields in search form (#2120)
This commit is contained in:
@@ -29,14 +29,14 @@ class TimesheetToolbarForm extends AbstractToolbarForm
|
||||
}
|
||||
|
||||
$this->addSearchTermInputField($builder);
|
||||
if ($options['include_user']) {
|
||||
$this->addUsersChoice($builder);
|
||||
}
|
||||
$this->addDateRangeChoice($builder);
|
||||
$this->addCustomerMultiChoice($builder, $newOptions, true);
|
||||
$this->addProjectMultiChoice($builder, $newOptions, true, true);
|
||||
$this->addActivityMultiChoice($builder, [], true);
|
||||
$this->addTagInputField($builder);
|
||||
if ($options['include_user']) {
|
||||
$this->addUsersChoice($builder);
|
||||
}
|
||||
$this->addTimesheetStateChoice($builder);
|
||||
$this->addExportStateChoice($builder);
|
||||
$this->addPageSizeChoice($builder);
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
{{ form_row(form.customers) }}
|
||||
{{ form_row(form.projects) }}
|
||||
{{ form_row(form.activities) }}
|
||||
{{ form_row(form.users) }}
|
||||
{{ form_row(form.tags) }}
|
||||
{{ form_row(form.users) }}
|
||||
{{ form_row(form.exported) }}
|
||||
{{ form_row(form.state) }}
|
||||
{{ form_row(form.markAsExported) }}
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
{% if form.activities is defined %}
|
||||
{{ form_row(form.activities) }}
|
||||
{% endif %}
|
||||
{% if form.users is defined %}
|
||||
{{ form_row(form.users) }}
|
||||
{% endif %}
|
||||
{% if form.tags is defined %}
|
||||
{{ form_row(form.tags) }}
|
||||
{% endif %}
|
||||
{% if form.users is defined %}
|
||||
{{ form_row(form.users) }}
|
||||
{% endif %}
|
||||
{% if form.exported is defined %}
|
||||
{{ form_row(form.exported) }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user