Sha256: 437795a83630296de86e38604313efc33fee7c22a8ef33a9abf67437aefac3c5

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 Bytes

Contents

- if @order.purchased?
  %h2 Receipt
- else
  %h2 Order
%hr

%p.pull-right
  %a.btn.btn-default{'data-role' => 'print-button', :class => 'print-button', :onClick => "window.print(); false;"} Print
  - if @order.purchased?
    = link_to 'Resend Receipt', effective_orders.resend_buyer_receipt_path(@order), 'data-confirm' => 'This action will email you a copy of the original email receipt.  Send receipt now?', :class => 'btn btn-default'

= render @order

= link_to 'Back', :back, :class => 'btn btn-primary'


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_orders-1.3.1 app/views/effective/orders/show.html.haml
effective_orders-1.3.0 app/views/effective/orders/show.html.haml