effective_orders 6.15.0 → 6.16.0
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_order.html.haml +2 -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: 0c33107747aca735bb6baa8b845f15c0a1ccb438ca7c25ca58b31e9ab230f1de
|
4
|
+
data.tar.gz: 24a3f7e86c1d95ddfe3bb20d794e495b29c4cf83ffa4b3a3c0c63a333a7166e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c350776105133c3382b9b51c4bc139895df6acbec242bf351fe379cdbd5cf8b9d1fffe13f662123aaa29d075f385b4675aced7af5ce81bd8996ab67c120ceb0a
|
7
|
+
data.tar.gz: 13e0b330ed878ad9d6daeadcac913fbc51fac9dff3019bdfe96d604913afa6964402dc3c5c62092602d0de03a697107395a12579e73c37741bcbed0126ba87db
|
@@ -1,7 +1,7 @@
|
|
1
1
|
= effective_form_with(model: [:admin, order], engine: true) do |f|
|
2
2
|
-# User
|
3
3
|
- klass = (f.object.user || current_user).class
|
4
|
-
- ajax_url = (
|
4
|
+
- ajax_url = (effective_resources.users_effective_ajax_index_path unless Rails.env.test?)
|
5
5
|
|
6
6
|
= f.hidden_field :user_type, value: klass.name
|
7
7
|
= f.select :user_id, klass.all, ajax_url: ajax_url
|
@@ -9,7 +9,7 @@
|
|
9
9
|
-# Organization
|
10
10
|
- if EffectiveOrders.organization_enabled?
|
11
11
|
- klass = (f.object.organization || EffectiveOrders.Organization.new).class
|
12
|
-
- ajax_url = (
|
12
|
+
- ajax_url = (effective_resources.organizations_effective_ajax_index_path unless Rails.env.test?)
|
13
13
|
|
14
14
|
= f.hidden_field :organization_type, value: klass.name
|
15
15
|
= f.select :organization_id, klass.all, ajax_url: ajax_url
|
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: 6.
|
4
|
+
version: 6.16.0
|
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: 2024-10-
|
11
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|