Sha256: 17f47cd7ad0e254e0d1a9bb400475a905bd68c52d5695fb54156cafd35ed464a

Contents?: true

Size: 870 Bytes

Versions: 48

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? || !EffectiveOrders.use_address_full_name
            = 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

48 entries across 48 versions & 1 rubygems

Version Path
effective_orders-5.1.17 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.16 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.15 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.14 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.13 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.12 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.11 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.10 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.7 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.1.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.0.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.0.4 app/views/effective/orders/_order_shipping.html.haml