Sha256: c4bf877e7d61152cf50c838b8ae5ce60490633d0d67d9efc830a2b067aa5e791

Contents?: true

Size: 648 Bytes

Versions: 65

Compression:

Stored size: 648 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.log_changes_datatable)

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
effective_orders-6.5.2 app/views/admin/orders/_form.html.haml
effective_orders-6.5.1 app/views/admin/orders/_form.html.haml
effective_orders-6.5.0 app/views/admin/orders/_form.html.haml
effective_orders-6.4.4 app/views/admin/orders/_form.html.haml
effective_orders-6.4.3 app/views/admin/orders/_form.html.haml