templates/_parts/realty/print/_layout-realty-print.html.twig line 1

Open in your IDE?
  1. {% extends '_parts/realty/print/_base-realty-print.html.twig' %}
  2. {% block print_heading %}
  3.     {% set article = layout.article %}
  4.     {% set readyDate = get_ready_date(layout) %}
  5.     {{ parent() }}
  6. {% endblock %}
  7. {% block info_list %}
  8.     {% set features = get_layout_features(layout) %}
  9.     {{ parent() }}
  10. {% endblock %}
  11.  {% block total_price %}
  12.      {% set squarePrice = get_layout_square_price(layout) %}
  13.      {% include '_parts/realty/_layout-price-block-print.html.twig' with {
  14.          class: 'layout-modal-base-print__price-block',
  15.          priceFrom: true,
  16.          price: layout.price,
  17.          squarePrice: squarePrice
  18.      } %}
  19.  {% endblock %}
  20. {% block ending %}
  21.     {% set apartmentsByPrice = get_apartments_by_price(layout) %}
  22.     {% include '_parts/realty/_layout-apartments-print.html.twig' with {
  23.         class: 'layout-modal-base-print__apartments',
  24.         apartments: apartmentsByPrice
  25.     } %}
  26. {% endblock %}