Sha256: ede4a2be0b212644ae1f8c6cc10a3fa1cc1afdcab8eb2fc517c727d9b28f75cd

Contents?: true

Size: 938 Bytes

Versions: 6

Compression:

Stored size: 938 Bytes

Contents

%table.table{:style => 'width: 600px;margin-bottom:25px;'}
  %thead
    %tr
      %th{:style => 'text-align: left;'}= "#{order.purchased? ? 'Sold to' : 'Bill to'}"
      - if EffectiveOrders.require_shipping_address && order.shipping_address.present?
        %th{:style => 'text-align: left;'} Ship to

  %tbody
    %tr
      %td{:style => 'text-align: left;'}
        - if EffectiveOrders.require_billing_address && order.billing_address.present?
          = render :partial => 'effective/addresses/address', :locals => {:address => order.billing_address, :email => order.user.email}
        - else
          = order.billing_name
          %br
          = mail_to(order.user.email)
          %br

      - if EffectiveOrders.require_shipping_address && order.shipping_address.present?
        %td{:style => 'text-align: left;'}
          = render :partial => 'effective/addresses/address', :locals => {:address => order.shipping_address}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_orders-1.2.9 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.8 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.7 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.6 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.5 app/views/effective/orders/_order_shipping.html.haml
effective_orders-1.2.4 app/views/effective/orders/_order_shipping.html.haml