{% comment %} TODO: Thiếu phần properties cho order  {% endcomment %}
{{ 'section-main-order.css' | asset_url | stylesheet_tag }}
{{ 'order-bill.css' | asset_url | stylesheet_tag }}

<div {% render 'section-attr' %}>
  <xo-container class='xo-order-detail'>
    <xo-grid>
      <div class='xo-order-detail__order' style='--md:12; --lg: 9'>
        {% render 'order-table' %}
      </div>
      <div class='xo-order-detail__detail' style='--md: 12; --lg: 3'>
        {% render 'order-bill' %}
      </div>
    </xo-grid>
  </xo-container>
</div>

{% schema %}
{
  "name": "t:sections.main_order.name",
  "settings": [
    {
      "type": "header",
      "content": "t:sections.all.heading.content"
    },
    {
      "type": "color_scheme",
      "id": "color_scheme",
      "label": "t:sections.all.color_scheme.label"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "t:sections.all.bg_color.label"
    },
    {
      "type": "color_background",
      "id": "background_gradient",
      "label": "t:sections.all.bg_gradient.label"
    },
    {
      "type": "number",
      "id": "padding_top",
      "label": "t:sections.all.padding_top.label",
      "default": 50
    },
    {
      "type": "number",
      "id": "padding_bottom",
      "label": "t:sections.all.padding_bottom.label",
      "default": 50
    }
  ]
}
{% endschema %}
