Sha256: 8a1637f17f97a1add04569806c6a59d70eb2c648a5eec5d419191935ced4c1ef

Contents?: true

Size: 1019 Bytes

Versions: 5

Compression:

Stored size: 1019 Bytes

Contents

.data-card
  .data-card__cell
    %p.data-card__line
      %strong= t('workarea.storefront.orders.placed_at')
      %span= local_time(order.placed_at, :long)
    %p.data-card__line
      %strong= t('workarea.storefront.orders.id')
      %span= order.id
    %p.data-card__line
      %strong= t('workarea.storefront.orders.status')
      %span= order.fulfillment_status || order.status
    %p.data-card__line
      %strong= t('workarea.storefront.orders.items')
      %span #{order.quantity} - #{number_to_currency(order.total_price)}
  .data-card__cell
    .grid.grid--auto
      %p.grid__cell= link_to t('workarea.storefront.orders.view'), users_order_path(order), class: 'text-button'

      = append_partials('storefront.order_summary_actions', order: order)

      - order.packages.each_with_index do |package|
        - if package.tracking_number.present?
          %p.grid__cell= link_to t('workarea.storefront.orders.track_package'), package.tracking_link, target: '_blank', rel: 'noopener', class: 'text-button'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/views/workarea/storefront/users/orders/_summary.html.haml
workarea-nvy_theme-1.2.0 app/views/workarea/storefront/users/orders/_summary.html.haml
workarea-nvy_theme-1.1.4 app/views/workarea/storefront/users/orders/_summary.html.haml
workarea-nvy_theme-1.1.3 app/views/workarea/storefront/users/orders/_summary.html.haml
workarea-nvy_theme-1.1.2 app/views/workarea/storefront/users/orders/_summary.html.haml