templates/crm/includes/customersList.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">Moi Klienci</h5>
  3.         <div class="table-responsive">
  4.             <table class="mb-0 table">
  5.                 <thead>
  6.                 <tr>
  7.                     <th>#</th>
  8.                     <th>Imię i Nazwisko</th>
  9.                     <th>Dodano</th>
  10.                     <th>Numer telefonu</th>
  11.                     <th>E-mail</th>
  12.                     <th>Typ klienta</th>
  13.                     <th>Ostatni Komentarz</th>
  14.                     <th>Rodzaj działania</th>
  15.                     <th>Agent</th>
  16.                     <th>Umowa</th>
  17.                     <th>Zarezerwuj</th>
  18.                     <th>Do obdzwonki</th>
  19.                     <th>Szczegóły</th>
  20.                 </tr>
  21.                 </thead>
  22.                 <tbody>
  23.                 {% for customer in myCustomers %}
  24.                     <tr>
  25.                         <th scope="row">{{ customer.displayNumber }}</th>
  26.                         <td><a href="details?id={{ customer.id }}">{{ customer.firstname }} {{ customer.lastname }}</a></td>
  27.                         <td>{{ customer.addDateFormatted }}</td>
  28.                         <td><a href="details?id={{ customer.id }}">{{ customer.phone }}</a></td>
  29.                         <td><a href="details?id={{ customer.id }}">{{ customer.email }}</a></td>
  30.                         <td>{{ customer.customerType }}</td>
  31.                         <td>{{ customer.lastComment }}</td>
  32.                         <td>{{ customer.status }}</td>
  33.                         <td>{{ customer.agent is null? '' :  customer.agent.firstname  ~ ' '~ customer.agent.lastname ~ ' do ' ~ customer.reservedToFormatted }}</td>
  34.                         <td>{{ customer.contractFormatted }}</td>
  35.                         <td><a href="reserve?id={{ customer.id }}&action={{ customer.action }}">Zarezerwuj</a></td>
  36.                         <td><a href="call?id={{ customer.id }}&action={{ customer.action }}">Do obdzwonki</a></td>
  37.                         <td><a href="details?id={{ customer.id }}">Szczegóły</a></td>
  38.                     </tr>
  39.                 {% endfor %}
  40.                 {% for xpage in xpages %}
  41.                     <a  {% if not xpage.current %} href="{{ xpage.action }} {% endif %}">{{ xpage.number }}</a>&nbsp;
  42.                 {% endfor %}
  43.                 </tbody>
  44.             </table>
  45.         </div>
  46.     </div>
  47. </div>