Sha256: 2067525246c087c90cb0885a13fae1bb75e4db4d3b275e53d0790bda413573de

Contents?: true

Size: 972 Bytes

Versions: 7

Compression:

Stored size: 972 Bytes

Contents

.effective-order-shipping
  %table.table{:style => 'width: 600px;margin-bottom:25px;'}
    %thead
      %tr
        %th{:style => 'text-align: left;'}= "#{order.purchased? ? 'Sold to' : 'Bill to'}"
        - if order.shipping_address.present? && !order.shipping_address.empty?
          %th{:style => 'text-align: left;'} Ship to

    %tbody
      %tr
        %td{:style => 'text-align: left;'}
          - 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{:style => 'text-align: left;'}
            = render :partial => 'effective/addresses/address', :locals => {:address => order.shipping_address}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
effective_orders-1.6.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.7 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.5.3 app/views/effective/orders/_order_shipping.html.haml