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.5.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.5.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.4.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.4.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.4.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.4.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.4.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.3.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.3.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.3.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.2.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.2.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.1.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.1.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-6.1.3 app/views/effective/orders/_order_shipping.html.haml