templates/bundles/SyliusAdminBundle/Doctor/Show/_details.html.twig line 1

Open in your IDE?
  1. <div id="customer_details">
  2.     <h4 class="ui top attached large header">{{ 'sylius.ui.customer_details'|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">{{ 'app.ui.full_name'|trans }}</strong></td>
  8.                     <td>{{ resource.fullName }}</td>
  9.                 </tr>
  10.                 <tr>
  11.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.email'|trans }}</strong></td>
  12.                     <td>{{ resource.email }}</td>
  13.                 </tr>
  14.                 <tr>
  15.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.clinical_manager'|trans }}</strong></td>
  16.                     <td>{{ resource.doctor.attachedClinicalManager ? resource.doctor.attachedClinicalManager.customer.fullName : '' }}</td>
  17.                 </tr>
  18.                 <tr>
  19.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.pdm'|trans }}</strong></td>
  20.                     <td>{{ resource.attachedPdm ? (resource.attachedPdm.firstName ~ ' ' ~ resource.attachedPdm.lastName) : '' }}</td>
  21.                 </tr>
  22.                 <tr>
  23.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.id_sage'|trans }}</strong></td>
  24.                     <td>{{ resource.idSage ?? '—' }}</td>
  25.                 </tr>
  26.                 <tr>
  27.                     <td class="three wide"><strong class="gray text">{{ 'app.ui.seriderm_360_access'|trans }}</strong></td>
  28.                     <td>
  29.                         {% if resource.doctor.appAccessSeriderm360 %}
  30.                             <div class="ui green horizontal label"><i class="check icon"></i> {{ 'app.ui.yes'|trans }}</div>
  31.                         {% else %}
  32.                             <div class="ui red horizontal label"><i class="times icon"></i> {{ 'app.ui.no'|trans }}</div>
  33.                         {% endif %}
  34.                     </td>
  35.                 </tr>
  36.             </tbody>
  37.         </table>
  38.     </div>
  39. </div>