Sha256: 36c19cd30db1b548dd1e7465176221033eb840f032dddded68c3a997ce1ab205

Contents?: true

Size: 712 Bytes

Versions: 9

Compression:

Stored size: 712 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, email: order.user.email }

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_orders-4.4.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.4.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.4.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.4.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.3.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.3.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.3.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.7 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.6 app/views/effective/orders/_order_shipping.html.haml