Sha256: d1e6e91aec2574cf2e7ce7627ae4084b73454c93cbaf3fa1b7507cb1786d5141

Contents?: true

Size: 866 Bytes

Versions: 5

Compression:

Stored size: 866 Bytes

Contents

- @page_title = 'Order #' + @order.number

= content_for :header do
  %p.buttons
    = link_to "Edit", [:edit, @order], :class => 'button'
    - if @order.accepted?
      = link_to "Despatch Note", [:despatch_note, @order], :class => 'button', :rel => 'print'
    = link_to "Back to orders", :orders, :class => 'button grey'
  %h2.orders OrderĀ <b>##{@order.number}</b>

#order

  - if @order.received?
    = render 'order_details'
    = render 'status_bar'
  - else
    %p.warning
      This order is still being built by the customer in your store. At
      present you can only view the items which are within the order.


  = field_set_tag "Order Items", :class => 'padded' do
    = render 'order_items'
  
  - if @order.received?
    = field_set_tag "Payments", :class => 'padded orderPayments' do
      = render 'payments_table'
      = render 'payments_form'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/orders/show.html.haml
shoppe-1.0.1 app/views/shoppe/orders/show.html.haml
shoppe-1.0.0 app/views/shoppe/orders/show.html.haml
shoppe-0.0.21 app/views/shoppe/orders/show.html.haml
shoppe-0.0.20 app/views/shoppe/orders/show.html.haml