Sha256: 5f640727e40efc93589139bf32465acae1c3662954d6f057ff89c2dc924b6e10

Contents?: true

Size: 831 Bytes

Versions: 29

Compression:

Stored size: 831 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
          %div= order.billing_name

          - if order.user.try(:membership).present?
            %div= "##{order.user.membership.number}"

          %div= mail_to(order.email)

          - if order.cc.present?
            %div
              Cc:
              - order.cc.split(',').each do |email|
                = mail_to(email)

          - if order.billing_address.present?
            = render('effective/addresses/address', address: order.billing_address)

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
effective_orders-6.12.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.12.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.12.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.12.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.12.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.10 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.7 app/views/effective/orders/_order_shipping.html.haml