templates/bundles/SyliusAdminBundle/Customer/Show/_extra_information.html.twig line 1

Open in your IDE?
  1. <div id="extra_information">
  2.     <h4 class="ui top attached large header">{{ 'sylius.ui.extra_information'|trans }}</h4>
  3.     <div class="ui attached segment">
  4.         <table class="ui very basic celled table">
  5.             <tbody>
  6.                 <tr>
  7.                     <td class="three wide"><strong class="gray text">{{ 'sylius.form.customer.birthday'|trans }}</strong></td>
  8.                     <td>{{ customer.birthday ? (customer.birthday | date('d-m-Y')) ~ '' }}</td>
  9.                 </tr>
  10.                 <tr>
  11.                     <td class="three wide"><strong class="gray text">{{ 'sylius.form.customer.phone_number'|trans }}</strong></td>
  12.                     <td>{{ customer.phoneNumber }}</td>
  13.                 </tr>
  14.                 <tr>
  15.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.company'|trans }}</strong></td>
  16.                     <td>{{ customer.company }}</td>
  17.                 </tr>
  18.                 <tr>
  19.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.social_reason'|trans }}</strong></td>
  20.                     <td>{{ customer.socialReason }}</td>
  21.                 </tr>
  22.                 <tr>
  23.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.inter_community_tva_number'|trans }}</strong></td>
  24.                     <td>{{ customer.interCommunityTvaNumber }}</td>
  25.                 </tr>
  26.                 <tr>
  27.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.city'|trans }}</strong></td>
  28.                     <td>{{ customer.city }}</td>
  29.                 </tr>
  30.                 <tr>
  31.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.country'|trans }}</strong></td>
  32.                     <td>{{ customer.country|sylius_country_name }}</td>
  33.                 </tr>
  34.                 <tr>
  35.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.secondary_emails'|trans }}</strong></td>
  36.                     <td>
  37.                         {% for secondaryEmail in  customer.secondaryEmails %}
  38.                             <span class="ui label">{{ secondaryEmail }}</span>
  39.                         {% endfor %}
  40.                     </td>
  41.                 </tr>
  42.             </tbody>
  43.         </table>
  44.     </div>
  45. </div>