templates/customer/history.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Verlauf von: {{ customer.fullname }}{% endblock %}
  3. {% block body %}
  4.     <h1>Verlauf von: {{ customer.fullname }}</h1>
  5.     {{ include('customer/_tabs_nav.html.twig', {
  6.         'customer': customer,
  7.         'active': 'history'
  8.     }) }}
  9.     <div class="row pt-3">
  10.         <div class="col-sm-5">
  11.             <div class="form-group single-line-submit">
  12.                 <input type="text" id="customer_history_search_input" name="customer_history_search" maxlength="255" class="form-control">
  13.                 <button  id="customer_history_search_submit" class="btn btn-secondary">suchen</button>
  14.             </div>
  15.         </div>
  16.         <div class="col-sm-7">
  17.             {{ form_start(history_add_form) }}
  18.                 <div class="single-line-submit">
  19.                     <div class="form-group">
  20.                         {{ form_widget(history_add_form.entry, { 'attr': {'class': 'form-control', 'placeholder': 'Verlauf-Eintrag'} }) }}
  21.                         {{ form_errors(history_add_form.entry) }}
  22.                     </div>
  23.                     <button class="btn btn-success">speichern</button>
  24.                 </div>
  25.             {{ form_end(history_add_form) }}
  26.         </div>
  27.     </div>
  28.     <table
  29.         class="table table-hover table-striped sortable-paged-table search-paged-table"
  30.         data-target="{{ path('customer_history', { id: customer.id }) }}"
  31.         data-page="1"
  32.         data-search=""
  33.         data-search-target="customer_history_search">
  34.         <thead>
  35.             <tr>
  36.                 <th class="order-field" data-orderby="date" data-order="asc">Datum</th>
  37.                 <th class="order-field" data-orderby="subject" data-order="asc">Betreff</th>
  38.                 <th class="order-field" data-orderby="subject" data-order="asc">Inhalt</th>
  39.                 <th class="order-field" data-orderby="entry" data-order="asc">Funktion</th>
  40.                  <th class="order-field" data-orderby="entry" data-order="asc">Auslöser</th>
  41.                 
  42.                 <th></th>
  43.             </tr>
  44.         </thead>
  45.         {{ include('customer/tabs/_history_listing.html.twig', {
  46.             history: history,
  47.             total: total,
  48.             pages: pages,
  49.             page: page
  50.         }) }}
  51.     </table>
  52. {% endblock %}