Sha256: 7060a2a7770f3efcf34fec4bd7bc7af6143ebf853834223157d366b1639b4eb9

Contents?: true

Size: 681 Bytes

Versions: 14

Compression:

Stored size: 681 Bytes

Contents

.effective-order-header
  %h2 Acme Industries Inc.
  .row
    .col-sm-6
      - email_address = EffectiveOrders.mailer[:admin_email] || 'info@acmeindustries.com'
      %p= mail_to u(email_address), email_address
      %p
        1234 Fake Street
        %br
        Edmonton, AB, T5H 4A5
        %br
        %small Customize me by overriding '/app/views/effective/orders/_order_header.html.haml'

    .col-sm-6
      - if order.purchased?
        %p Receipt: ##{order.to_param}
        %p Purchased at: #{order.purchased_at.strftime("%Y-%m-%d %H:%M")}
      - elsif order.persisted?
        %p Order: ##{order.to_param}
        %p Date: #{Time.zone.now.strftime("%Y-%m-%d %H:%M")}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
effective_orders-3.2.3 app/views/effective/orders/_order_header.html.haml
effective_orders-3.2.2 app/views/effective/orders/_order_header.html.haml
effective_orders-3.2.1 app/views/effective/orders/_order_header.html.haml
effective_orders-3.2.0 app/views/effective/orders/_order_header.html.haml
effective_orders-3.1.7 app/views/effective/orders/_order_header.html.haml
effective_orders-3.1.6 app/views/effective/orders/_order_header.html.haml
effective_orders-3.1.4 app/views/effective/orders/_order_header.html.haml
effective_orders-3.1.3 app/views/effective/orders/_order_header.html.haml
effective_orders-3.1.0 app/views/effective/orders/_order_header.html.haml
effective_orders-3.0.4 app/views/effective/orders/_order_header.html.haml
effective_orders-3.0.3 app/views/effective/orders/_order_header.html.haml
effective_orders-3.0.2 app/views/effective/orders/_order_header.html.haml
effective_orders-3.0.1 app/views/effective/orders/_order_header.html.haml
effective_orders-3.0.0 app/views/effective/orders/_order_header.html.haml