<div id="customer_details">
<h4 class="ui top attached large header">{{ 'sylius.ui.customer_details'|trans }}</h4>
<div class="ui attached segment">
<table class="ui very basic celled table">
<tbody>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.full_name'|trans }}</strong></td>
<td>{{ resource.fullName }}</td>
</tr>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.email'|trans }}</strong></td>
<td>{{ resource.email }}</td>
</tr>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.clinical_manager'|trans }}</strong></td>
<td>{{ resource.doctor.attachedClinicalManager ? resource.doctor.attachedClinicalManager.customer.fullName : '' }}</td>
</tr>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.pdm'|trans }}</strong></td>
<td>{{ resource.attachedPdm ? (resource.attachedPdm.firstName ~ ' ' ~ resource.attachedPdm.lastName) : '' }}</td>
</tr>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.id_sage'|trans }}</strong></td>
<td>{{ resource.idSage ?? '—' }}</td>
</tr>
<tr>
<td class="three wide"><strong class="gray text">{{ 'app.ui.seriderm_360_access'|trans }}</strong></td>
<td>
{% if resource.doctor.appAccessSeriderm360 %}
<div class="ui green horizontal label"><i class="check icon"></i> {{ 'app.ui.yes'|trans }}</div>
{% else %}
<div class="ui red horizontal label"><i class="times icon"></i> {{ 'app.ui.no'|trans }}</div>
{% endif %}
</td>
</tr>
</tbody>
</table>
</div>
</div>