Sha256: 0ad31c3bd228f5c82669f60e1ced165a09f708523dc6a8793920199e5c488cdf

Contents?: true

Size: 661 Bytes

Versions: 31

Compression:

Stored size: 661 Bytes

Contents

.effective-order-shipping
  %table.table
    %thead
      %tr
        %th= "#{order.purchased? ? 'Sold to' : 'Bill to'}"
        - if order.shipping_address.present?
          %th Ship to

    %tbody
      %tr
        %td
          - if order.billing_address.present?
            = render(partial: 'effective/addresses/address', locals: { address: order.billing_address })
          - else
            = order.billing_name
            %br
            = mail_to(order.user.email)
            %br

        - if order.shipping_address.present?
          %td
            = render(partial: 'effective/addresses/address', locals: { address: order.shipping_address })

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
effective_orders-4.1.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.1.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.1.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.1.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.1.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta19 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta18 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta17 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta16 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta15 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta14 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta13 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.0.0beta12 app/views/effective/orders/_order_shipping.html.haml