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.0.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.0.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.0.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.6.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.6.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.6.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-5.0.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.6.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.12 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.11 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.10 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.7 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.5.1 app/views/effective/orders/_order_shipping.html.haml