Sha256: 9af6b4bed9cb0e57193ff3a66bc10a9cecccaeff33f09b7dc2a9b5409bc28bad

Contents?: true

Size: 681 Bytes

Versions: 32

Compression:

Stored size: 681 Bytes

Contents

.effective-order-header
  %h3 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

32 entries across 32 versions & 1 rubygems

Version Path
effective_orders-2.1.1 app/views/effective/orders/_order_header.html.haml
effective_orders-2.1.0 app/views/effective/orders/_order_header.html.haml
effective_orders-2.0.1 app/views/effective/orders/_order_header.html.haml
effective_orders-2.0.0 app/views/effective/orders/_order_header.html.haml
effective_orders-1.8.1 app/views/effective/orders/_order_header.html.haml
effective_orders-1.8.0 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.5 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.4 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.3 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.2 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.1 app/views/effective/orders/_order_header.html.haml
effective_orders-1.7.0 app/views/effective/orders/_order_header.html.haml