Release 1.20.2 (#3320)
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
|
||||
{% block main %}
|
||||
<div class="row">
|
||||
{% set hasDragAndDrop = (config.dragDropAmount > 0 and dragAndDrop is not empty and (dragAndDrop|filter(s => s.entries|length > 0)|length > 0)) %}
|
||||
{% if hasDragAndDrop or form is not null %}
|
||||
{% set hasTwoColumns = (config.dragDropAmount > 0 and dragAndDrop is not empty and (dragAndDrop|filter(s => s.entries|length > 0)|length > 0)) or form is not null %}
|
||||
{% if hasTwoColumns %}
|
||||
<div class="hidden-xs col-sm-5 col-md-4 col-lg-3 no-print">
|
||||
{% if form is not null %}
|
||||
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
|
||||
@@ -44,7 +44,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="col-xs-12 {% if hasDragAndDrop %}col-sm-7 col-md-8 col-lg-9 col-print-12{% endif %}">
|
||||
<div class="col-xs-12 {% if hasTwoColumns %}col-sm-7 col-md-8 col-lg-9 col-print-12{% endif %}">
|
||||
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
|
||||
{% block box_body_class %}no-padding{% endblock %}
|
||||
{% block box_body %}
|
||||
|
||||
@@ -35,26 +35,26 @@
|
||||
{% block box_body %}
|
||||
{{ form_errors(form) }}
|
||||
{% if form.searchTerm is defined %}
|
||||
{{ form_row(form.searchTerm) }}
|
||||
{{ form_row(form.searchTerm, {'row_attr': {'class': 'invoice_search_form_row_searchTerm'}}) }}
|
||||
{% endif %}
|
||||
{{ form_row(form.daterange) }}
|
||||
{{ form_row(form.customers) }}
|
||||
{{ form_row(form.projects) }}
|
||||
{{ form_row(form.daterange, {'row_attr': {'class': 'invoice_search_form_row_daterange'}}) }}
|
||||
{{ form_row(form.customers, {'row_attr': {'class': 'invoice_search_form_row_customers'}}) }}
|
||||
{{ form_row(form.projects, {'row_attr': {'class': 'invoice_search_form_row_projects'}}) }}
|
||||
{% if form.activities is defined %}
|
||||
{{ form_row(form.activities) }}
|
||||
{{ form_row(form.activities, {'row_attr': {'class': 'invoice_search_form_row_activities'}}) }}
|
||||
{% endif %}
|
||||
{% if form.tags is defined %}
|
||||
{{ form_row(form.tags) }}
|
||||
{{ form_row(form.tags, {'row_attr': {'class': 'invoice_search_form_row_tags'}}) }}
|
||||
{% endif %}
|
||||
{% if form.users is defined %}
|
||||
{{ form_row(form.users) }}
|
||||
{{ form_row(form.users, {'row_attr': {'class': 'invoice_search_form_row_users'}}) }}
|
||||
{% endif %}
|
||||
{% if form.exported is defined %}
|
||||
{{ form_row(form.exported) }}
|
||||
{{ form_row(form.exported, {'row_attr': {'class': 'invoice_search_form_row_exported'}}) }}
|
||||
{% endif %}
|
||||
{{ form_row(form.template) }}
|
||||
{{ form_row(form.template, {'row_attr': {'class': 'invoice_search_form_row_template'}}) }}
|
||||
{% if form.markAsExported is defined %}
|
||||
{{ form_row(form.markAsExported) }}
|
||||
{{ form_row(form.markAsExported, {'row_attr': {'class': 'invoice_search_form_row_markAsExported'}}) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block box_footer%}
|
||||
|
||||
Reference in New Issue
Block a user