Sha256: f7ffd7cbe0ab3e56bd1e72e01d65934970ab2a8c4455e9339ebaaec2a307c3e2

Contents?: true

Size: 1002 Bytes

Versions: 3

Compression:

Stored size: 1002 Bytes

Contents

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

  %tbody
    %tr
      %td{:style => 'text-align: left;'}
        - if order.billing_address.try(:full_name).present? == false
          = order.billing_name
          %br
          = mail_to(order.user.email)
          %br

        - if order.billing_address.present?
          = render :partial => 'effective/addresses/address', :locals => {:address => order.billing_address, :email => (order.user.email if order.billing_address.try(:full_name).present?)}

      - if EffectiveOrders.require_shipping_address && order.shipping_address.present?
        %td{:style => 'text-align: left;'}
          = render :partial => 'effective/addresses/address', :locals => {:address => order.shipping_address}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_orders-1.2.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.1 app/views/effective/orders/_order_shipping.html.haml