Sha256: ff76643f0d7fb0a81a74e3dfbe3a262d0b8a8f79ac6426ac7cbf001d315bc603

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 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 order.billing_name.present? && EffectiveAddresses.use_full_name == false
          = order.billing_name
          %br
        = mail_to order.user.email

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

      - 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

1 entries across 1 versions & 1 rubygems

Version Path
effective_orders-1.2.0 app/views/effective/orders/_order_shipping.html.haml