Sha256: 58aee372c69560df2385105d1af45c907489cd5140f9a47d81826ce261d98d26

Contents?: true

Size: 641 Bytes

Versions: 6

Compression:

Stored size: 641 Bytes

Contents

= tabs do
  = tab(order) do
    - if order.custom_order? && order.in_progress?
      - if order.persisted?
        = collapse('show order') do
          = render 'effective/orders/order', order: order, no_order_actions: true

      = render 'admin/orders/form_order', order: order
    - else
      - # Order was already purchased. Display same as show action.
      = render 'effective/orders/order', order: order
      = render 'admin/orders/form_note_internal', order: order

  - if order.persisted? && order.respond_to?(:logs_datatable)
    = tab 'Logs' do
      .effective-order-admin-logs= render_inline_datatable(order.logs_datatable)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_orders-6.4.2 app/views/admin/orders/_form.html.haml
effective_orders-6.4.1 app/views/admin/orders/_form.html.haml
effective_orders-6.4.0 app/views/admin/orders/_form.html.haml
effective_orders-6.3.2 app/views/admin/orders/_form.html.haml
effective_orders-6.3.1 app/views/admin/orders/_form.html.haml
effective_orders-6.3.0 app/views/admin/orders/_form.html.haml