new export template (#3082)

This commit is contained in:
Kevin Papst
2022-01-22 13:20:22 +01:00
committed by GitHub
parent 3543e0a1b5
commit 1a0608f49e
8 changed files with 134 additions and 60 deletions

View File

@@ -0,0 +1,18 @@
{% extends 'export/pdf-layout.html.twig' %}
{% set showRateColumn = false %}
{% set showRateBudget = false %}
{% set showTimeBudget = false %}
{% set showUserColumn = true %}
{% set showCustomerSummary = false %}
{% set decimal = true %}
{% set showDateTimeShort = true %}
{% block title %}{{ 'timesheet.pdf.twig'|trans({}, 'export') }}{% endblock %}
{% block description %}
{% if entry.description is not empty %}
{{ entry.description|desc2html }}
{% elseif entry.activity is not null %}
{{ entry.activity.name }}
{% endif %}
<br>
<small>{{ entry.project.customer.name }}, {{ entry.project.name }}</small>
{% endblock %}