mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-01-10 19:47:35 +00:00
0c397e5080
- show customer totals in single-user reports - support custom fonts in export / invoice templates - require daterange for export and invoice searches - improve help label for user locale - show decimal formats in help controller - cache tag amount per request - composer updates - improved code styles - added default label to date picker - new macros & use own macro
26 lines
828 B
Twig
26 lines
828 B
Twig
{% extends 'datatable.html.twig' %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
|
|
{% block datatable_column_value %}
|
|
{% if column == 'name' %}
|
|
{{ entry.name }}
|
|
{% elseif column == 'description' %}
|
|
{{ entry.description }}
|
|
{% elseif column == 'language' %}
|
|
{{ entry.language }}
|
|
{% elseif column == 'date' %}
|
|
{{ entry.date }}
|
|
{% elseif column == 'time' %}
|
|
{{ entry.time }}
|
|
{% elseif column == 'duration' %}
|
|
{{ entry.duration }}
|
|
{% elseif column == 'decimal' %}
|
|
{{ entry.decimal }}
|
|
{% elseif column == 'money' %}
|
|
{{ entry.money }}
|
|
{% elseif column == 'hour_24' %}
|
|
{{ widgets.label_boolean(entry.hour_24) }}
|
|
{% elseif column == 'rtl' %}
|
|
{{ widgets.label_boolean(entry.rtl) }}
|
|
{% endif %}
|
|
{% endblock %}
|