<div class="main-card mb-3 card">
<div class="card-body"><h5 class="card-title">DziaĆnia na kliencie</h5>
<div class="table-responsive">
<table class="mb-0 table">
<thead>
<tr>
<th>#</th>
<th>Data komentarza</th>
<th>Data akcji</th>
<th>Komentarz</th>
</tr>
</thead>
<tbody>
{% for comment in customerComments %}
<tr>
<th scope="row">{{ comment.displayNumber }}</th>
<td>{{ comment.commentAddDateFormatted }}</td>
<td>{{ comment.dateFormatted }}</td>
<td>{{ comment.comment }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<form class="" action="{{ path('addComment') }}" method="post">
<input type="hidden" name="id" value="{{ customer.id }}"/>
<div class="position-relative form-group"><label for="exampleText" class="">Komentarz</label><textarea
name="customerComment" id="exampleText" class="form-control"></textarea></div>
<div class="position-relative form-group"><label for="actiondate" class="">Data akcji</label>
<input type="date" name="actiondate" id="actiondate" class="form-control"
value="{{ currentDate }}"></input>
</div>
<button class="mt-1 btn btn-primary">Dodaj</button>
</form>
</div>
</div>