Sha256: 9e854628110a34d98775aace8e4bd6d29741c7147bab5193771b38a698478986

Contents?: true

Size: 870 Bytes

Versions: 90

Compression:

Stored size: 870 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
          - if order.billing_address.blank? || order.billing_address.full_name.blank?
            = order.billing_name
            %br

          - if order.billing_address.present?
            = render partial: 'effective/addresses/address', locals: { address: order.billing_address }
            %br

          = mail_to(order.email)

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

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

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
effective_orders-6.9.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.9.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.8.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.8.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.8.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.7.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.7.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.7.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.7.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.6.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.6.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.6.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.6.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.7 app/views/effective/orders/_order_shipping.html.haml