comee_core 0.2.58 → 0.2.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/comee/core/sales_order_items_controller.rb +12 -0
- data/config/routes.rb +3 -0
- data/lib/comee/core/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: f2c3e7d7089bb604a50c7d102d77df12fbfda4cabe67b4329864bdb8039e5938
|
4
|
+
data.tar.gz: 26808c3d8636d02619a306090cf3d360e3c3e8f784774279c717e24a5f869ccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f9fd27d598570509720066cf3258e3a6368fdd7e7454273ea8fbe8d0aa9eaab3e847f83fa0aad072950c0dea0fcd74546f1c09d05cbe7bf80e20d539e17b2db
|
7
|
+
data.tar.gz: 57014da5e8ca68845cb68a0dea2108f28c2ffad0651064f02ec10dec12eb801acaa455e3fccaa8e55e3e2ebfff247e85a3becdb78174f67eaacaea1a1beacba0
|
@@ -15,6 +15,18 @@ module Comee
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
def filter
|
19
|
+
data = SalesOrderItem.includes(
|
20
|
+
:sales_order,
|
21
|
+
:purchase_order_item,
|
22
|
+
:customer_order_item,
|
23
|
+
:source,
|
24
|
+
:product,
|
25
|
+
:unit
|
26
|
+
).ransack(params[:q]).result
|
27
|
+
render_content(data)
|
28
|
+
end
|
29
|
+
|
18
30
|
def shipment_details
|
19
31
|
details = SalesOrderItem.includes(
|
20
32
|
shipment_items: [
|
data/config/routes.rb
CHANGED
data/lib/comee/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comee_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|