{% import "@SyliusShop/Common/Macro/icons.html.twig" as icons %}
{% import "@SyliusShop/Common/Macro/money.html.twig" as money %}
{#{% if product.brand %}#}
{# {{ 'loevgaard_sylius_brand.ui.brand'|trans }}: {{ product.brand.name }}#}
{# {% if product.brand.url %}#}
{# <a href="{{ product.brand.url }}" target="_blank">Brand URL</a>#}
{# {% endif %}#}
{#{% endif %}#}
{% if product.brand and (product.brand.platePerColor or product.brand.plateDefault) %}
<div class="product-attribute d-flex align-items-center mb-3">
<span class="sylius-product-atribute-name d-inline-flex pe-3 custom-display-7 disable-rfs" data-bs-toggle="tooltip" data-bs-title="{{ product.brand.platePerColor ? 'Plate charge per color' : 'Plate charge' }}">
{{ icons.plateCharge() }}
<span class="visually-hidden"></span>
</span>
<span class="sylius-product-attribute-value">
{{ product.brand.platePerColor ? 'Plate charge per color: ' ~ money.convertAndFormatSpecial(product.brand.platePerColor * 100, { 'divisor': 100, 'scale': 2 }) : 'Plate charge: ' ~ money.convertAndFormatSpecial(product.brand.plateDefault * 100, { 'divisor': 100, 'scale': 2 }) }}
</span>
</div>
{% endif %}
{% if product.brand and product.brand.setupDefault %}
<div class="product-attribute d-flex align-items-center mb-3">
<span class="sylius-product-atribute-name d-inline-flex pe-3 custom-display-7 disable-rfs" data-bs-toggle="tooltip" data-bs-title="Setup charge">
{{ icons.setupCharge() }}
<span class="visually-hidden"></span>
</span>
<span class="sylius-product-attribute-value">
{{ 'Setup charge: ' ~ money.convertAndFormatSpecial(product.brand.setupDefault * 100, { 'divisor': 100, 'scale': 2 }) }}
</span>
</div>
{% endif %}
{% if product.brand and product.brand.freight %}
<div class="product-attribute d-flex align-items-center mb-3">
<span class="sylius-product-atribute-name d-inline-flex pe-3 custom-display-7 disable-rfs" data-bs-toggle="tooltip" data-bs-title="Freight">
{{ icons.freight() }}
<span class="visually-hidden"></span>
</span>
<span class="sylius-product-attribute-value">
{{ 'app.form.brand.freight'|trans }}
</span>
</div>
{% endif %}
{% if product.brand and product.brand.productionTime %}
<div class="product-attribute d-flex align-items-center mb-3">
<span class="sylius-product-atribute-name d-inline-flex pe-3 custom-display-7 disable-rfs" data-bs-toggle="tooltip" data-bs-title="Production time">
{{ icons.productionTime() }}
<span class="visually-hidden"></span>
</span>
<span class="sylius-product-attribute-value">
{{ 'Production time: ' ~ product.brand.productionTime }}
</span>
</div>
{% endif %}