Sha256: 084fbd6d0db526535b12fe977107dc198d7e964e5691453b0e6bba408bd38dcb

Contents?: true

Size: 689 Bytes

Versions: 7

Compression:

Stored size: 689 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
          - unless 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

7 entries across 7 versions & 1 rubygems

Version Path
effective_orders-4.2.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.4 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.3 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.2 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.1 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.2.0 app/views/effective/orders/_order_shipping.html.haml
effective_orders-4.1.5 app/views/effective/orders/_order_shipping.html.haml