Sha256: 420cee1f5387a6b990224fc3b3a0cda18d8876881789ee0cc591c6e2948396ca

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

%table.order-summary
  %thead
    %tr
      %th.order-number
        = Spree.t(:order_number)
      %th.order-date
        = Spree.t(:order_date)
      %th.order-status
        = Spree.t(:status)
      %th.order-payment-state
        = Spree.t(:payment_state)
      %th.order-shipment-state
        = Spree.t(:shipment_state)
      %th.order-total
        = Spree.t(:total)
      %th
  %tbody
    - @orders.each do |order|
      %tr
        %td.order-number
          = link_to order.number, order_url(order)
        %td.order-date
          = l order.completed_at.to_date
        %td.order-status
          = Spree.t("order_state.#{order.state}").titleize
        %td.order-payment-state
          = Spree.t("payment_states.#{order.payment_state}").titleize if order.payment_state
        %td.order-shipment-state
          = Spree.t("shipment_states.#{order.shipment_state}").titleize if order.shipment_state
        %td.order-total
          = order.display_total
        %td.repeat-order
          = form_tag repeat_order_path(order.number), method: :post do
            .fields
              = button_tag :class => 'large primary add-button', :type => :submit do
                = Spree.t(:repeat_order)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_repeat_order-2.2.2 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.2.1 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.9 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.8 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.7 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.6 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.5 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.4 app/views/spree/users/_my_account_table.haml
spree_repeat_order-2.1.3 app/views/spree/users/_my_account_table.haml