effective_orders 4.5.10 → 4.5.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fedc9964ed35e8479f4c5d663fe37c7f76f1ebebd3a6852f880be58aa9ada488
4
- data.tar.gz: 0b6e195ea558eec5b0bb5b5be2f7dd17fe769233b039c475c6c24f1136d5b144
3
+ metadata.gz: f1e00998a7bf70939f686faf24ecf1ad4248f232bca18bfd1abb1074cadf4881
4
+ data.tar.gz: 2ee502e056f89522b4a88480fe2d4a8995a70d6bcbeb7abecfd41a09a85f6862
5
5
  SHA512:
6
- metadata.gz: 92930b78d50b28a14afbb274fe01c9a8677541955084b19b3d3e17440dacdb00299e7462a9db6921074736e903123bee09ba5ffc2483271a89aa088ebd637285
7
- data.tar.gz: c0966358967695aa5df3c62ed423123640e91e4b816e607b5e153a6a3cced73c7228d7b133e4d10e25e4243bc9470e55e35a898b24c5e41a3466cecb3f1d8b1e
6
+ metadata.gz: 0f0b25a0e32aea32cd5b66a521509181b347ce58c4a6e858064de8fc7192796456d1ac49c5e96515a8b442d8958e7398490ffbc165fb4cc853c83ab1650eba8b
7
+ data.tar.gz: 6ef0bedaa012be759e8645296eb6c0aae894b815c92ec7964e5d6dc712eb9139bab52c0d9a9bcee0f661a174fcb7c8c9d1754e5a9f817742020f68b9d07f7043
@@ -24,7 +24,8 @@ module Effective
24
24
 
25
25
  def mark_as_paid_params
26
26
  params.require(:effective_order).permit(
27
- :payment, :payment_provider, :payment_card, :note_to_buyer, :send_mark_as_paid_email_to_buyer
27
+ :purchased_at, :payment, :payment_provider, :payment_card,
28
+ :note_to_buyer, :send_mark_as_paid_email_to_buyer
28
29
  )
29
30
  end
30
31
 
@@ -3,6 +3,8 @@
3
3
  %h2 Admin: Mark as Paid
4
4
 
5
5
  = effective_form_with(model: order, url: effective_orders.mark_as_paid_order_path(order), method: :post) do |f|
6
+ = f.date_field :purchased_at, required: true
7
+
6
8
  = f.select :payment_provider, EffectiveOrders.payment_providers, required: true
7
9
 
8
10
  = f.text_field :payment_card,
@@ -20,4 +22,3 @@
20
22
  = f.text_area :note_to_buyer, hint: 'This message will be displayed on the receipt.'
21
23
 
22
24
  = f.submit order_checkout_label(:mark_as_paid), center: true
23
-
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.5.10'.freeze
2
+ VERSION = '4.5.11'.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: 4.5.10
4
+ version: 4.5.11
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: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails