effective_products 0.3.5 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/datatables/effective_stamp_wizards_datatable.rb +1 -1
- data/app/models/concerns/effective_products_stamp_wizard.rb +4 -0
- data/app/views/effective/stamp_wizards/stamp.html.haml +1 -1
- data/app/views/effective/stamps/_fields.html.haml +1 -1
- data/lib/effective_products/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: 2b339a0aac52ca7f1cb0723ea8807061a5bfe58a593b735cb7fd3963fbb3b365
|
4
|
+
data.tar.gz: 11bb3d70210a7cd213440f95f758cc9219de554d1610fbea2393124150a5d48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6b20349a62da271c83a550ef954134b5e7b5f4ba38e2fc4cdbe79f2553c577470968b294cf39f9894c5e20ed2e0a07ddff8dc06da3265010d9f2258ebb185e
|
7
|
+
data.tar.gz: 26b65e114b40e52abcb62d7153c6f95b3bcc7c8dfc52259a8227353f0a4af8c51947ff50d11741525d41b773c75dfbcf91767d0be0829f741f03e82070fb2260
|
@@ -15,7 +15,7 @@ class EffectiveStampWizardsDatatable < Effective::Datatable
|
|
15
15
|
col :orders, action: :show
|
16
16
|
|
17
17
|
col(:issued_at, label: 'Issued on') do |resource|
|
18
|
-
resource.stamp
|
18
|
+
resource.stamp&.issued_at&.strftime('%F') || '-'
|
19
19
|
end
|
20
20
|
|
21
21
|
actions_col(actions: []) do |resource|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
= f.text_field :name
|
5
5
|
= f.text_field :name_confirmation, hint: 'must match name'
|
6
6
|
|
7
|
-
- collection = EffectiveProducts.stamp_categories
|
7
|
+
- collection = local_assigns[:parent].try(:stamp_categories) || EffectiveProducts.stamp_categories
|
8
8
|
|
9
9
|
- if collection.length == 1
|
10
10
|
= f.hidden_field :category, value: collection.first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_products
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
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-
|
11
|
+
date: 2024-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|