ecom_core 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ecom/core/attendance_sheet.rb +1 -0
- data/app/models/ecom/core/crew_time.rb +1 -1
- data/lib/ecom/core/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: '09b8fa70ec63b31c289bacc382fb945336e8e6a3e6930e54d415ed6ba79ec5aa'
|
4
|
+
data.tar.gz: d8cbbc31eb4718a6b4af1808810a3defa163b4b0743d235756e618e1bb37fb10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ba2a9547ffcb1d3085b893e44bee505639abb61caa3cdc28df3cbf56f883910ac1bea7b9645d0577b0bb006dd81a4b5df661cac74f54323a224b8b1b3d7cbc8
|
7
|
+
data.tar.gz: c0eb28eb93b466d7da5dcdf05876351c721e8a541e33cd0d23a26627cf5e0f1934e1e94283f35636111e949c8095e93c58c69f8a39f648c72f622898e15a5b19
|
@@ -9,6 +9,7 @@ module Ecom
|
|
9
9
|
validates :status, inclusion: [OPEN, SUBMITTED, APPROVED]
|
10
10
|
|
11
11
|
has_many :attendance_sheet_entries
|
12
|
+
has_many :crew_times, through: :attendance_sheet_entries
|
12
13
|
|
13
14
|
scope :open, -> { where(status: OPEN) }
|
14
15
|
scope :current, -> { where(date: Date.today) }
|
data/lib/ecom/core/version.rb
CHANGED