effective_orders 5.7.2 → 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 +2 -3
- data/lib/effective_orders/version.rb +1 -1
- metadata +1 -1
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,11 +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)
|
4
|
+
- ajax_url = (@select2_ajax_path || effective_resources.users_admin_select2_ajax_index_path) unless Rails.env.test?
|
5
5
|
|
6
6
|
= f.select :user_id, current_user.class.all, label: 'Buyer', required: true,
|
7
|
-
ajax_url: ajax_url,
|
8
|
-
hint: 'The user that should purchase this order.'
|
7
|
+
ajax_url: ajax_url, hint: 'The user that should purchase this order.'
|
9
8
|
|
10
9
|
= f.email_cc_field :cc, hint: "Cc the above on any emailed receipts or payment requests."
|
11
10
|
|