Sha256: 80b4cd251da794995e0bead9a09a5012b48968393239c7ba938be4e24b366bdd

Contents?: true

Size: 906 Bytes

Versions: 11

Compression:

Stored size: 906 Bytes

Contents

- @page_title = "#{t('shoppe.orders.order')} ##{@order.number}"

= content_for :header do
  %p.buttons
    = link_to t('shoppe.edit'), [:edit, @order], :class => 'button'
    - if @order.accepted?
      = link_to t('shoppe.orders.despatch_note.despatch_note'), [:despatch_note, @order], :class => 'button', :rel => 'print'
    = link_to t('shoppe.orders.back_to_orders'), :orders, :class => 'button grey'
  %h2.orders= t('shoppe.orders.order_no_html', order_number: @order.number)

#order

  - if @order.received?
    = render 'order_details'
    = render 'status_bar'
  - else
    %p.warning= t('shoppe.orders.in_progress_warning')

  = field_set_tag t('shoppe.orders.order_items'), :class => 'padded' do
    = render 'order_items'

  - if @order.received?
    = field_set_tag t('shoppe.orders.payments'), :class => 'padded orderPayments' do
      = render 'payments_table'
      = render 'payments_form'

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/orders/show.html.haml
shoppe-1.1.1 app/views/shoppe/orders/show.html.haml
shoppe-1.1.0 app/views/shoppe/orders/show.html.haml
shoppe-1.0.9 app/views/shoppe/orders/show.html.haml
shoppe-1.0.8 app/views/shoppe/orders/show.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/orders/show.html.haml
shoppe-1.0.7 app/views/shoppe/orders/show.html.haml
shoppe-1.0.6 app/views/shoppe/orders/show.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/orders/show.html.haml
shoppe-1.0.5 app/views/shoppe/orders/show.html.haml
shoppe-1.0.3 app/views/shoppe/orders/show.html.haml