{% trans_default_domain 'ECommerceBundle' %}
<div class="row align-items-center"
data-depot-quantity="{{ depotProduct.quantity }}"
data-depot="{{ depotProduct.depot.name }}">
{#- STOCK INFO, WAREHOUSE -#}
{% if depotProduct.depot.country is same as 'RS' %}
<div class="mr-4">
<p>{{ 'product.now'|trans }}</p>
</div>
{% else %}
<div class="mr-4">
<p>{{ 'product.for-later-shipment'|trans }}</p>
</div>
{% endif %}
{# <div class="col-product-stock-info">#}
{# <strong>{{- 'product.piece'|trans( {'%count%': depotProduct.quantity})|upper -}}</strong>#}
{# </div>#}
{#- ADD TO CART -#}
<div class="col-product-add-to-cart">
{% if is_granted('ROLE_CLIENT') %}
{% if depotProduct.price > 0 %}
{% include 'ECommerce/App/Product/form_add_to_cart.html.twig' %}
{% else %}
<a class="btn btn-link float-right ml-2 mr-2"
data-toggle="tooltip"
data-html="true"
{% if app.user and app.user.client %}
title="call: {{ app.user.client.firm.phones|first }}"
href="tel:{{ app.user.client.firm.phones|first }}"
{% endif %}
>
<i class="material-icons">call</i>
</a>
{% endif %}
{% else %}
{% include 'ECommerce/App/Product/form_add_to_individual_order.html.twig' %}
{% endif %}
</div>
</div>