effective_orders 5.7.0 → 5.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/admin/orders/_form.html.haml +4 -2
- data/lib/effective_orders/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef5f10f02590e466ed6cc0cb1ed6f122f21590b19163b46e7e8f8bb808014b68
|
4
|
+
data.tar.gz: 3fac9595e0313c7f708a7f326b13f247f675fb331262f317f2677526277e98ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f890bdb73192bb673dc8a1f07ac6f2102335b62ea1834c19e1d4a5c1e9eaca779f862487f78a217d9cc8230cf348bfc3fdb42a4a2f376ab0d4e601b41bf8453
|
7
|
+
data.tar.gz: f181f71e581314b98cddff5e9ccc4f2bb5f44447a9cd693bdea918a57e787b46af0b10d85b886a24359e5ea8aba78362fc5527216cd9edd7327bc1fd9939cb81
|
@@ -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
|
-
-
|
5
|
-
|
4
|
+
- ajax_url = (@select2_ajax_path || effective_resources.users_admin_select2_ajax_index_path) unless Rails.env.test?
|
5
|
+
|
6
|
+
= f.select :user_id, current_user.class.all, label: 'Buyer', required: true,
|
7
|
+
ajax_url: ajax_url, hint: 'The user that should purchase this order.'
|
6
8
|
|
7
9
|
= f.email_cc_field :cc, hint: "Cc the above on any emailed receipts or payment requests."
|
8
10
|
|
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.
|
4
|
+
version: 5.7.3
|
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-
|
11
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|