effective_orders 1.5.8 → 1.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6be43a49f1e21762afae61a69d5a85f93fe86c76
4
- data.tar.gz: 52b71a5b21bcaa40fadedc8f3c9f69cf06743f2a
3
+ metadata.gz: 0979421d5081d8f2de0a821d896cb361aa64ed8a
4
+ data.tar.gz: 306fc9bf0fea8630dc63989e63c0678db5d6448c
5
5
  SHA512:
6
- metadata.gz: bb312888b19caf398f0ee4236063bea8675d5dc47076e0dd6778edb6d523fd17357f4d8b82d38fa55bfeec66ddc2b6853286e060b4b6bdf7f81f7c4bf63d9556
7
- data.tar.gz: d9a34d4ba06d69213903c2200f49ef61645f4ca7249e78e3709d633a27fb63f06c657f062c794afba7bbdd5397a82718afe445508df55107c91d7ec3f3268466
6
+ metadata.gz: 5c095c5d4924bfe1388a586d7160fe3e4b7bd0e005204be2856d31093baf74411beada109c1fc5c73bed9bcc6d52a65c45143b52e7032de9f06b4a31189cefd7
7
+ data.tar.gz: 7f662b1fd88f91ccdffeb5f7071f783aabf8dba8db2ae25423bede9e7170a3715eb6beeec3332fd6be9bcca23fc43d9e2724faaf51da5f36ce8c539f5d959ebd
@@ -1,3 +1,3 @@
1
1
  %h2.effective-orders-page-title= (@order.purchased? ? 'Receipt' : 'Order')
2
2
 
3
- = render @order
3
+ = render partial: 'effective/orders/order', locals: {order: @order}
@@ -2,4 +2,4 @@
2
2
  .effective-order-actions.pull-right
3
3
  %p
4
4
  = link_to 'Print', '#', :class => 'btn btn-default print-button', 'data-role' => 'print-button', :onClick => "window.print(); false;"
5
- = 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?', 'disable_with' => 'Resending...'}, :class => 'btn btn-default'
5
+ = link_to 'Resend Receipt', effective_orders.resend_buyer_receipt_path(order), :class => 'btn btn-default resend-receipt-button', :data => {'confirm' => 'This action will email you a copy of the original email receipt. Send receipt now?', 'disable_with' => 'Resending...'}
@@ -7,4 +7,4 @@
7
7
  - elsif order.declined?
8
8
  %p This order was declined with the following details:
9
9
 
10
- = tableize_hash(order.payment)
10
+ = tableize_hash(order.payment, class: 'table')
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '1.5.8'.freeze
2
+ VERSION = '1.5.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-05 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails