{{ header }}
  <div class="ftr-container ftr-in-space--n">
    <div class="ftr-in-space--l">
      <span class="ftr-text--m ftr-block ftr-text--dark">{{ text_return_detail }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ text_return_id }}: {{ return_id }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ text_date_added }}: {{ date_added }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ text_order_id }}: {{ order_id }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ text_date_ordered }}: {{ date_ordered }}</span>
      {{ (action) ? '<span class="ftr-text--s ftr-block ftr-text--grey">' ~ column_action ~ ': ' ~ action  ~ '</span>' : '' }}
    </div>
    <hr class="ftr-out-space--v-s">
    <div class="ftr-in-space--l">
      <span class="ftr-text--m ftr-block ftr-text--dark">{{ text_product }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ column_model }}: {{ model }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ column_product }}: {{ product }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ column_quantity }}: {{ quantity }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ column_opened }} {{ opened }}</span>
    </div>
    <hr class="ftr-out-space--v-s">
    <div class="ftr-in-space--l">
      <span class="ftr-text--m ftr-block ftr-text--dark">{{ column_reason }}</span>
      <span class="ftr-text--s ftr-block ftr-text--grey">{{ reason }}</span>
      {{ (comment) ? '<span class="ftr-text--s ftr-block ftr-text--grey">' ~ text_comment ~ ': ' ~ comment ~ '</span>' : '' }}
    </div>
    {% if histories %}
      <hr class="ftr-out-space--v-s">
      <div class="ftr-in-space--l">
        <span class="ftr-text--m ftr-block ftr-text--dark">{{ text_history }}</span>
        {% for history in histories %}
          <div class="ftr-out-space--b-m">
            <span class="ftr-text--s ftr-text--grey">{{ history.status }} ({{ history.date_added }})</span>
            {{ (history.comment) ? '<span class="ftr-text--s ftr-text--grey ftr-block">' ~ history.comment ~ '</span>' : '' }}
          </div>
        {% endfor %}
      </div>
    {% endif %}
  </div>
{{ footer }}
