{% import "macros/widgets.html.twig" as widgets %} {% import "macros/datatables.html.twig" as tables %} {% extends 'invoice/layout.html.twig' %} {% block invoice %}
{{ 'label.date'|trans }} | {{ 'label.description'|trans }} | {% for field in metaColumns %}{{ field.label|trans }} | {% endfor %}{{ 'label.hours'|trans }} |
---|---|---|---|
{{ entry.begin|date_short }} |
{% if entry.description is not empty %}
{{ entry.description|escape|desc2html }}
{% endif %}
{{ 'label.activity'|trans }}: {{ entry.activity.name }} |
{{ 'label.project'|trans }}: {{ entry.project.name }} |
{{ 'label.customer'|trans }}: {{ entry.project.customer.name }}
|
{% for field in metaColumns %}
{{ tables.datatable_meta_column(entry, field) }} | {% endfor %}{{ entry.duration|duration }} |
{% for field in metaColumns %} | {% endfor %} | {{ 'invoice.total_working_time'|trans }} | {{ timeWorked|duration }} |