Sha256: f7e05cee1e1962e882ec141471cbc2e224b3e5eb337195e07767c0df858b3088

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

%h1.effective-admin-heading= (@order.purchased? ? 'Receipt' : 'Order')

= render partial: 'effective/orders/order', locals: {order: @order}

- if (EffectiveOrders.authorized?(controller, :admin, :effective_orders) rescue false)
  = render partial: 'admin/orders/form_note_internal', locals: { order: @order }

- if (EffectiveOrders.authorized?(controller, :show, :payment_details) rescue false)
  = render partial: 'admin/orders/order_payment_details', locals: { order: @order }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_orders-2.2.1 app/views/admin/orders/show.html.haml
effective_orders-2.2.0 app/views/admin/orders/show.html.haml