Sha256: 4299c98003ac138b77fbe4126f185e8471dd32c71c1299f29ab4995c3e3b43e6

Contents?: true

Size: 802 Bytes

Versions: 13

Compression:

Stored size: 802 Bytes

Contents

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

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

        - if order.shipping_address.present? && !order.shipping_address.empty?
          %td
            = render :partial => 'effective/addresses/address', :locals => {:address => order.shipping_address}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
effective_orders-1.8.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.8.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.7.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.6.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.6.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.6.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.6.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.6.1 app/views/effective/orders/_order_shipping.html.haml