Sha256: a1c0e0057ce66e7a470c3c8ed59cc3b5869078153ca2fe8f4d880fc81ddf117c

Contents?: true

Size: 797 Bytes

Versions: 8

Compression:

Stored size: 797 Bytes

Contents

- @page_title = "Delivery Services"

= content_for :header do
  %p.buttons
    = link_to "New price", [:new, @delivery_service, :delivery_service_price], :class => 'button green'
    = link_to "Back to delivery services", :delivery_services, :class => 'button'
  %h2.delivery_services Delivery Pricing for #{@delivery_service.name}

.table
  %table.data
    %thead
      %tr
        %th Code
        %th Weight Allowance
        %th Price
        %th Cost
    %tbody
      - for price in @delivery_service_prices
        %tr
          %td= link_to price.code, [:edit, @delivery_service, price]
          %td #{number_to_weight price.min_weight} → #{number_to_weight price.max_weight}
          %td= number_to_currency(price.price)
          %td= number_to_currency price.cost_price
          

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-1.0.1 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-1.0.0 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.21 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.20 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.19 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.18 app/views/shoppe/delivery_service_prices/index.html.haml
shoppe-0.0.17 app/views/shoppe/delivery_service_prices/index.html.haml