{% trans_default_domain 'orders' %}
<tr {{ attributes }}>
   <td class="responsive-order-info">
      <table>
         <tr>
            <td class="code" nowrap><a href="{{ this.url }}">č. {{ this.orderNo }}</a></td>
         </tr>
         <tr>
            <td class="date" nowrap>{{ this.dateCreated|format_date }}</td>
         </tr>
      </table>
   </td>
   <td class="code" nowrap><a href="{{ this.url }}">{{ 'order.number'|trans }} {{ this.orderNo }}</a></td>
   <td class="date" nowrap>{{ this.dateCreated|format_date }}</td>
   <td class="status status-{{ this.status }}">{{ this.statusText|raw }}</td>
   <td class="price" nowrap>{{ this.totalPrice|formatPrice(ceil: false, decimal: 'dynamic', usePriceCurrency: true) }}</td>
   <td>
      <twig:Account:OrdersList:Order:Items id_order="{{ this.id_order }}"/>
   </td>
   <td class="action">
      {% if this.editable %}
         <a href="{{ this.editUrl }}">{{ 'edit'|trans }}</a>
      {% else %}
         <twig:Account:OrdersList:Order:MoreActions id_order="{{ this.id_order }}"/>
         {# {% elseif this.showInvoice %}
         <a href="{{ this.invoiceUrl }}" download>Faktura</a> #}
      {% endif %}
   </td>
</tr>
