Feat: Add description field to availability
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<div class="flex flex-col space-y-4 pb-8">
|
||||
{{ form_row(form.dateFrom) }}
|
||||
{{ form_row(form.dateTo) }}
|
||||
{{ form_row(form.description) }}
|
||||
</div>
|
||||
<button type="submit" class="btn">
|
||||
Speichern
|
||||
|
||||
@@ -11,12 +11,15 @@
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-1/3">
|
||||
<th class="w-1/4">
|
||||
{{ knp_pagination_sortable(pagination, 'Datum von', 'availability.dateFrom') }}
|
||||
</th>
|
||||
<th class="w-1/3">
|
||||
<th class="w-1/4">
|
||||
{{ knp_pagination_sortable(pagination, 'Datum bis', 'availability.dateTo') }}
|
||||
</th>
|
||||
<th class="w-1/4">
|
||||
{{ knp_pagination_sortable(pagination, 'Beschreibung', 'availability.description') }}
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -29,6 +32,9 @@
|
||||
<td>
|
||||
{{ availability.dateTo|date('d.m.Y') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ availability.description|default('-') }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center space-x-2 justify-end">
|
||||
<button type="button"
|
||||
|
||||
Reference in New Issue
Block a user