{{ offer.property_type }} {{ offer.location_label }}

{{ offer.property_type }} na {{ offer.offer_type }}

{% if offer.country == 'Polska' %} PL {% elif offer.country == 'Hiszpania' %} ES {% endif %}

{{ offer.location_label | truncate(40, True) }} – {{ offer.city }}

{% set normalized_offer_type = (offer.offer_type or '')|lower %} {% if offer.property_type == 'Działka' %} {% set price_area_value = offer.plot_area_m2 %} {% else %} {% set price_area_value = offer.area_m2 %} {% endif %} {% if offer.price and price_area_value and (price_area_value|float) > 0 %} {% set price_per_m2 = ((offer.price|float) / (price_area_value|float))|round(2) %} {% else %} {% set price_per_m2 = None %} {% endif %}

ID: {{ offer.id }}

{% if price_per_m2 %} {{ '{:,.2f}'.format(price_per_m2).replace(',', ' ').replace('.', ',') }} {% if offer.country == 'Hiszpania' %} €/m² {% else %} zł/m² {% endif %} {% endif %}

{{ '{:,}'.format(offer.price|int).replace(",", " ") }} {% if normalized_offer_type == 'wynajem' %} {% if offer.country == 'Polska' %} PLN/m {% else %} EUR/m {% endif %} {% else %} {% if offer.country == 'Polska' %} PLN {% else %} EUR {% endif %} {% endif %}