effective_orders 5.7.1 → 5.7.2

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: 1ed47eb29f0eb40e2b50f31007a7c7d27c01a0d511e2b5a0de59c4677a2d19c3
4
- data.tar.gz: c9f86388847d98ff584118155e14cf783431be89a4a18d8b81d8ea8446c44d10
3
+ metadata.gz: 15f4d6205ec47b10c390ff0a4b76a8452264c3d2b6821be442e6cab1c80c8617
4
+ data.tar.gz: '08ea2085c601ad7ce4e72976057a4e1d1159b8ad336550ff959a7606746b2cad'
5
5
  SHA512:
6
- metadata.gz: a654abd31e39c1e933136279289b77ba9b8afe33c56f3d5b745d73c9c85e15c0316d597a25093a0b987bcb135b1e9c4ca7d37719db3615f9a0718f25fc7adc39
7
- data.tar.gz: b67584c4477f8012fd50f988e535a22591bd52a38d76e5db065ce68f3bc279ab11bdd9436ba86b0153e637788c9667895ac0ff93a7bc975d1d0842693fcbfb50
6
+ metadata.gz: 7dc87bae4591d52530cbad8a775dbb8a5e5fa60c6a543f1499f610b46f05b1e1d81ad81cb3aa95d6e6635966e4927590f6f5a37e862ef5567e2381ef3acae9d2
7
+ data.tar.gz: '0793575684a0b0bcd38470e5ea186da9089dda3f3ce18b939a24beb5f7af2c7c2a8dbacf78d9e72de64564ceaa299d5ee75f758978c2d65a291567d8395056d7'
@@ -1,8 +1,10 @@
1
1
  = effective_form_with(model: [:admin, order], engine: true) do |f|
2
2
  = f.hidden_field :user_type, value: (f.object.user || current_user).class.name
3
3
 
4
+ - ajax_url = (@select2_ajax_path || effective_resources.users_admin_select2_ajax_index_path)
5
+
4
6
  = f.select :user_id, current_user.class.all, label: 'Buyer', required: true,
5
- ajax_url: effective_resources.users_admin_select2_ajax_index_path,
7
+ ajax_url: ajax_url,
6
8
  hint: 'The user that should purchase this order.'
7
9
 
8
10
  = f.email_cc_field :cc, hint: "Cc the above on any emailed receipts or payment requests."
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '5.7.1'.freeze
2
+ VERSION = '5.7.2'.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: 5.7.1
4
+ version: 5.7.2
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: 2022-06-24 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails