Configurable activity and project number (#4729)

* added configurable activity number
* added configurable project number
* fix deprecations
* added some tests for entity exporter
* better configuration of dropdown pattern for customer, project and activity
This commit is contained in:
Kevin Papst
2024-04-04 17:43:22 +02:00
committed by GitHub
parent c1f5d3def4
commit a636683dee
55 changed files with 920 additions and 136 deletions

View File

@@ -85,6 +85,14 @@
</td>
</tr>
{% endif %}
{% if project.number is not empty %}
<tr>
<th>{{ 'project_number'|trans }}</th>
<td colspan="3">
{{ project.number }}
</td>
</tr>
{% endif %}
{% endif %}
{% if project.hasBudget() and is_granted('budget', project) %}
<tr>

View File

@@ -18,7 +18,14 @@
</div>
</div>
{{ form_row(form.comment) }}
{{ form_row(form.customer) }}
<div class="row">
<div class="col-md-6">
{{ form_row(form.customer) }}
</div>
<div class="col-md-6">
{{ form_row(form.number) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.orderNumber) }}

View File

@@ -13,6 +13,8 @@
{{ entry.comment|comment1line }}
{% elseif column == 'orderNumber' %}
{{ entry.orderNumber }}
{% elseif column == 'number' %}
{{ entry.number }}
{% elseif column == 'orderDate' %}
{% if entry.orderDate is not null %}{{ entry.orderDate|date_short }}{% endif %}
{% elseif column == 'project_start' %}