* added support for hourly rate column in detail table * allow to register icon in extension * allow to show QR code secret * new translations * bump theme and packages * fix validation for invoice-document-filenames with uppercase character * max upload size 1MB * fix last month in daterange-picker in certain situations, more years in quick-select * remove unused package-versions-deprecated * link preferences from contract warning message * added page_setup page layout * prevent DROP TABLE in addSQL() and replace drop table with schema call * added azuyalabs/yasumi
29 lines
1.1 KiB
Twig
29 lines
1.1 KiB
Twig
{% extends 'base.html.twig' %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
|
|
{% block table_actions %}
|
|
{# compare templates/macros/datatables.html.twig macro actions(dataTable) #}
|
|
{% if page_setup is defined and page_setup.hasPaginationForm() %}
|
|
<div class="btn-list">
|
|
{% set form = page_setup.getPaginationForm() %}
|
|
{{ form_start(form, {'attr': {'onchange': 'this.submit()'}}) }}
|
|
<div class="btn-list w-100 flex-nowrap">
|
|
{% if form.date is defined %}
|
|
{{ form_widget(form.date) }}
|
|
{% endif %}
|
|
{% if form.user is defined %}
|
|
{{ form_widget(form.user) }}
|
|
{% elseif user is defined and app.user != user %}
|
|
{{ widgets.username(user) }}
|
|
{% endif %}
|
|
{% for field in form %}
|
|
{% if not field.rendered %}
|
|
{{ form_widget(field) }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{{ form_end(form) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|