templates/crm/includes/customerComments.html.twig line 1

Open in your IDE?
  1. <div class="main-card mb-3 card">
  2.     <div class="card-body"><h5 class="card-title">DziaƂnia na kliencie</h5>
  3.         <div class="table-responsive">
  4.             <table class="mb-0 table">
  5.                 <thead>
  6.                 <tr>
  7.                     <th>#</th>
  8.                     <th>Data komentarza</th>
  9.                     <th>Data akcji</th>
  10.                     <th>Komentarz</th>
  11.                 </tr>
  12.                 </thead>
  13.                 <tbody>
  14.                 {% for comment in customerComments %}
  15.                     <tr>
  16.                         <th scope="row">{{ comment.displayNumber }}</th>
  17.                         <td>{{ comment.commentAddDateFormatted }}</td>
  18.                         <td>{{ comment.dateFormatted }}</td>
  19.                         <td>{{ comment.comment }}</td>
  20.                     </tr>
  21.                 {% endfor %}
  22.                 </tbody>
  23.             </table>
  24.         </div>
  25.         <form class="" action="{{ path('addComment') }}" method="post">
  26.             <input type="hidden" name="id" value="{{ customer.id }}"/>
  27.             <div class="position-relative form-group"><label for="exampleText" class="">Komentarz</label><textarea
  28.                         name="customerComment" id="exampleText" class="form-control"></textarea></div>
  29.             <div class="position-relative form-group"><label for="actiondate" class="">Data akcji</label>
  30.                 <input type="date" name="actiondate" id="actiondate" class="form-control"
  31.                 value="{{ currentDate }}"></input>
  32.             </div>
  33.             <button class="mt-1 btn btn-primary">Dodaj</button>
  34.         </form>
  35.     </div>
  36. </div>