Sha256: 70b935ddd5e07cc836d8a34eaa1ed902e8e5bd335bb6e140c34284a0118658fe

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

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

      - if local_assigns[:active].blank?
        .card__body
          %ul.list-reset
            %li
              %strong= t('workarea.admin.fields.placed_at')
              - if order.placed_at.present?
                #{order.placed_at}
              - else
                #{t('workarea.admin.orders.cards.flow.pending_import')}
            %li
              %strong= t('workarea.admin.orders.cards.flow.flow_total_price')
              = number_to_currency order.flow_total_price
            %li
              %strong= t('workarea.admin.orders.cards.flow.flow_tax_total')
              = number_to_currency order.flow_tax_total

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 app/views/workarea/admin/orders/_flow.html.haml