Sha256: 696a1e7968a7684b5f1ced0dda6bf840a48e4ee404d798a9d5fa329e64f4afae

Contents?: true

Size: 769 Bytes

Versions: 3

Compression:

Stored size: 769 Bytes

Contents

%table.table
  %thead
    %tr
      %th= "#{order.purchased? ? 'Sold To' : 'Bill To'}"
      - if EffectiveOrders.require_shipping_address && order.shipping_address.present?
        %th Ship To
  %tbody
    %tr
      %td
        - if order.user.to_s != order.user.email
          = "#{order.user.to_s} (#{mail_to order.user.email})".html_safe
        - else
          = mail_to order.user.email
        %br
        - if order.billing_address.present?
          = render :partial => 'effective/addresses/address', :locals => {:address => order.billing_address}
      - if EffectiveOrders.require_shipping_address && order.shipping_address.present?
        %td
          = 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.1.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.1.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.0.0 app/views/effective/orders/_order_shipping.html.haml