Sha256: 13edf73b63a43b199133541c22d4b150822dc035e9417af807f7b0a01b94822b

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 KB

Contents

- if order.global_e?
  .grid__cell
    .card{ class: card_classes(:global_e, local_assigns[:active]) }
      = link_to global_e_order_path(order), class: 'card__header' do
        %span.card__header-text= t('workarea.admin.orders.cards.global_e.title')
        = inline_svg 'workarea/admin/i18n.svg', class: 'card__icon'

      - if local_assigns[:active].blank?
        .card__body
          %ul.list-reset
            %li
              %strong= t('workarea.admin.orders.cards.global_e.global_e_id')
              = order.global_e_id
            %li
              %strong= t('workarea.admin.orders.cards.global_e.international_subtotal_price')
              = order.international_subtotal_price
            %li
              %strong= t('workarea.admin.orders.cards.global_e.international_shipping_total')
              = order.international_shipping_total
            %li
              %strong= t('workarea.admin.orders.cards.global_e.total_duties_price')
              = number_to_currency order.total_duties_price
            %li
              %strong= t('workarea.admin.orders.cards.global_e.total_price')
              = number_to_currency order.international_total_price
          = link_to global_e_order_path(order), class: 'card__button' do
            %span.button.button--small= t('workarea.admin.orders.cards.global_e.button')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-global_e-1.3.0 app/views/workarea/admin/orders/_global_e.html.haml
workarea-global_e-1.2.1 app/views/workarea/admin/orders/_global_e.html.haml