Sha256: b5d93f9bc364b65bff4a4f9c3e466255a34a7888f5ac3a33360930757ec964f0

Contents?: true

Size: 667 Bytes

Versions: 10

Compression:

Stored size: 667 Bytes

Contents

.effective-order-header
  %h3 Acme Industries Inc.
  .row
    .col-sm-6
      %p= mail_to EffectiveOrders.mailer[:admin_email] || 'info@acmeindustries.com'
      %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}
      - elsif order.persisted?
        %p Order: ##{order.to_param}

      - if order.purchased?
        %p Purchased at: #{order.purchased_at.strftime("%Y-%m-%d %H:%M")}
      - else
        %p Date: #{Time.zone.now.strftime("%Y-%m-%d %H:%M")}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_orders-1.6.4 app/views/effective/orders/_order_header.html.haml
effective_orders-1.6.3 app/views/effective/orders/_order_header.html.haml
effective_orders-1.6.1 app/views/effective/orders/_order_header.html.haml
effective_orders-1.6.0 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.9 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.8 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.7 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.5 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.4 app/views/effective/orders/_order_header.html.haml
effective_orders-1.5.3 app/views/effective/orders/_order_header.html.haml