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 +4 -4
- data/app/views/admin/orders/_form.html.haml +3 -1
- 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: 15f4d6205ec47b10c390ff0a4b76a8452264c3d2b6821be442e6cab1c80c8617
|
4
|
+
data.tar.gz: '08ea2085c601ad7ce4e72976057a4e1d1159b8ad336550ff959a7606746b2cad'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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."
|
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.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-
|
11
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|