0

I need an invoice of an order, so I use the print pdf module, but the date is missing. I have tried the following code from commerce-order--admin but it doesnt get any data.

<h3 class="entity-meta__title">
  {{ order_state }}
</h3>
{% for key in ['completed', 'placed', 'changed'] %}
  {% if order[key] %}
    <div class="form-item">
      {{ order[key] }}
    </div>
  {% endif %}
{% endfor %}

Is there another way, or can I get the data from order_entity somehow?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.