effective_orders 2.1.10 → 2.1.12

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: 2d0b3c995c4665a282975bc043660792c7a3dd72
4
- data.tar.gz: 4d12afcfd1ab884eb62480a063a363bb4cf5fae6
3
+ metadata.gz: 490c96cb8f2a3fcc52d2940401433bc1a4f0de35
4
+ data.tar.gz: 02caa5ed740970bc3592674386da0ea66807ebb9
5
5
  SHA512:
6
- metadata.gz: d5a34d98cb37e6d26f94b96e5b144175607fb88b0ab484acb7bd967729fef41e32318e09fba67957c575f6c4a65f0dedd8146fcdae6012cc932c1ac1505b7c53
7
- data.tar.gz: 6bb2902ec005463ff24a0460cb22811181b5339ce72116fdf20e03718c36579d6a07cb9944fb7f7860435a985f2ce1fefedbe80b374205cade783f62a856bf3e
6
+ metadata.gz: 7a48a2e508ce05e6a0c233bf51e95aff88ebf8c035a64736b15e8eb5389fcb8954d676377f1398a755c9b596af5f5a85f98c32bb65552a07c4153064ddb07741
7
+ data.tar.gz: 2f9aba09e6f9228c5e373fbeee8dbe37151c44445f3d075500514edc97a6ac1b69c032880d4143e48f02185be68cfabbee1cf0bd7a23f28a81449fb463796fde
@@ -19,7 +19,7 @@ if defined?(EffectiveDatatables)
19
19
 
20
20
  table_column :subscription_types, column: 'subscription_types'
21
21
 
22
- table_column :actions, sortable: false, filter: false, partial: '/admin/customers/actions'
22
+ actions_column partial: 'admin/customers/actions'
23
23
  end
24
24
 
25
25
  def collection
@@ -62,7 +62,7 @@ if defined?(EffectiveDatatables)
62
62
  table_column :created_at, visible: false
63
63
  table_column :updated_at, visible: false
64
64
 
65
- table_column :actions, sortable: false, filter: false, partial: 'admin/orders/actions'
65
+ actions_column partial: 'admin/orders/actions'
66
66
  end
67
67
 
68
68
  def collection
@@ -1,9 +1,7 @@
1
1
  %h2.effective-orders-page-title= (@page_title || 'Payment Required')
2
2
 
3
- %p.effective-orders-page-content
4
- Thank you!
5
- You have indicated that this order will be purchased by cheque.
6
- Please send us a cheque at your earliest convenience.
7
- We will mark this order purchased upon receiving your payment.
3
+ - if EffectiveOrders.cheque[:success_message].present?
4
+ %p.effective-orders-page-content
5
+ = EffectiveOrders.cheque_success_message
8
6
 
9
7
  = render @order
@@ -299,12 +299,12 @@ EffectiveOrders.setup do |config|
299
299
  declined_flash: "Payment was unsuccessful. Please try again."
300
300
  }
301
301
 
302
-
303
302
  # Pay by Cheque configuration
304
303
  config.cheque_enabled = false
305
304
 
306
305
  config.cheque = {
307
- confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?'
306
+ confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?',
307
+ success_message: 'Thank you! You have indicated that this order will be purchased by cheque. Please send us a cheque and a copy of this invoice at your earliest convenience. We will mark this order purchased upon receiving payment.'
308
308
  }
309
309
 
310
310
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '2.1.10'.freeze
2
+ VERSION = '2.1.12'.freeze
3
3
  end
@@ -94,6 +94,11 @@ EffectiveOrders.setup do |config|
94
94
  # pending order page.
95
95
  config.cheque_enabled = true
96
96
 
97
+ config.cheque = {
98
+ confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?',
99
+ success_message: 'Thank you! You have indicated that this order will be purchased by cheque. Please send us a cheque and a copy of this invoice at your earliest convenience. We will mark this order purchased upon receiving payment.'
100
+ }
101
+
97
102
  # Show/hide the 'Order History' button on the 'Cart Page'
98
103
  config.show_order_history_button = true
99
104
 
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: 2.1.10
4
+ version: 2.1.12
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: 2016-04-28 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails