cats_core 1.0.15 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/cats/core/commodity.rb +1 -3
- data/app/models/cats/core/currency.rb +8 -0
- data/app/models/cats/core/donation.rb +18 -0
- data/app/models/cats/core/gift_certificate.rb +2 -2
- data/app/models/cats/core/hrp.rb +21 -0
- data/app/models/cats/core/hrp_item.rb +12 -0
- data/app/models/cats/core/operator.rb +8 -0
- data/app/models/cats/core/purchase_order.rb +11 -0
- data/app/models/cats/core/ration.rb +12 -0
- data/app/models/cats/core/supplier.rb +8 -0
- data/app/models/cats/core/user.rb +0 -1
- data/db/migrate/{20210717043620_create_cats_core_locations.rb → 20210716183620_create_cats_core_locations.rb} +0 -0
- data/db/migrate/20210716185529_create_cats_core_currencies.rb +10 -0
- data/db/migrate/20210716210635_create_cats_core_operators.rb +13 -0
- data/db/migrate/20210716210905_create_cats_core_suppliers.rb +14 -0
- data/db/migrate/20210717031216_create_cats_core_rations.rb +19 -0
- data/db/migrate/20210717031810_create_cats_core_hrps.rb +17 -0
- data/db/migrate/20210717032024_create_cats_core_hrp_items.rb +22 -0
- data/db/migrate/20210717032330_create_cats_core_donations.rb +24 -0
- data/db/migrate/20210717032602_create_cats_core_gift_certificates.rb +8 -6
- data/db/migrate/20210717032855_create_cats_core_purchase_orders.rb +21 -0
- data/db/migrate/20210717033223_create_cats_core_commodities.rb +1 -14
- data/lib/cats/core/version.rb +1 -1
- data/spec/factories/cats/core/commodities.rb +0 -4
- data/spec/factories/cats/core/currencies.rb +6 -0
- data/spec/factories/cats/core/donations.rb +11 -0
- data/spec/factories/cats/core/gift_certificates.rb +2 -2
- data/spec/factories/cats/core/hrp_items.rb +9 -0
- data/spec/factories/cats/core/hrps.rb +9 -0
- data/spec/factories/cats/core/locations.rb +5 -0
- data/spec/factories/cats/core/operators.rb +9 -0
- data/spec/factories/cats/core/purchase_orders.rb +10 -0
- data/spec/factories/cats/core/rations.rb +9 -0
- data/spec/factories/cats/core/suppliers.rb +10 -0
- metadata +27 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c81056f8e17e25f22270c90d0fbca07b2cfaea15edb8fb2b59f443af7267ef7
|
4
|
+
data.tar.gz: 30075ab64034bf1215a98e3d3c71042904799df668ce378a93105a087d384401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7d093ba4f079b4adc8681168b9b61b4a369c7ae63e665541c740bce729b5ab2711e60cee89c6cb4d5517da8ef2e79f151ef96c9e3f0a8a4d07fdb8b52d66974
|
7
|
+
data.tar.gz: abf7696b83657bc03734db204bc78df702d07d74a65850c7d542c86c190d5ea3b58000c3623c22163d05ce26991a23cc5a09f7accfe3c9bc6f266a18ce178825
|
@@ -6,12 +6,10 @@ module Cats
|
|
6
6
|
DAMAGED = 'Damaged'.freeze
|
7
7
|
COMMODITY_STATUSES = [GOOD, DAMAGED].freeze
|
8
8
|
|
9
|
-
belongs_to :commodity_category
|
10
|
-
belongs_to :donor
|
11
|
-
belongs_to :program
|
12
9
|
belongs_to :unit_of_measure
|
13
10
|
belongs_to :source, polymorphic: true
|
14
11
|
|
12
|
+
validates :best_use_before, presence: true
|
15
13
|
validates :quantity, presence: true, numericality: { greater_than: 0 }
|
16
14
|
validates :volume_per_metric_ton, numericality: { greater_than: 0, allow_nil: true }
|
17
15
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class Donation < ApplicationRecord
|
4
|
+
CASH = 'Cash'.freeze
|
5
|
+
KIND = 'Kind'.freeze
|
6
|
+
DONATION_TYPES = [CASH, KIND].freeze
|
7
|
+
|
8
|
+
belongs_to :donor
|
9
|
+
belongs_to :hrp
|
10
|
+
belongs_to :currency, optional: true
|
11
|
+
|
12
|
+
validates :reference_no, :donation_type, :donated_on, presence: true
|
13
|
+
validates :reference_no, uniqueness: true
|
14
|
+
validates :donation_type, inclusion: { in: DONATION_TYPES }
|
15
|
+
validates :currency, :amount, presence: true, if: -> { donation_type == CASH }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module Cats
|
2
2
|
module Core
|
3
3
|
class GiftCertificate < ApplicationRecord
|
4
|
-
belongs_to :
|
5
|
-
belongs_to :
|
4
|
+
belongs_to :donation
|
5
|
+
belongs_to :commodity_category
|
6
6
|
|
7
7
|
validates :reference_no, presence: true, uniqueness: true
|
8
8
|
validates :gift_date, presence: true
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class Hrp < ApplicationRecord
|
4
|
+
DRAFT = 'Draft'.freeze
|
5
|
+
APPROVED = 'Approved'.freeze
|
6
|
+
STATUSES = [DRAFT, APPROVED].freeze
|
7
|
+
|
8
|
+
BELG = 'Belg'.freeze
|
9
|
+
MEHER = 'Meher'.freeze
|
10
|
+
SEASONS = [BELG, MEHER].freeze
|
11
|
+
|
12
|
+
belongs_to :ration
|
13
|
+
has_many :hrp_items
|
14
|
+
|
15
|
+
validates :reference_no, :year, :status, presence: true
|
16
|
+
validates :season, presence: true, inclusion: { in: SEASONS }
|
17
|
+
validates :reference_no, uniqueness: true
|
18
|
+
validates :status, inclusion: { in: STATUSES }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class HrpItem < ApplicationRecord
|
4
|
+
belongs_to :hrp
|
5
|
+
belongs_to :woreda, -> { where(location_type: Cats::Core::Location::WOREDA) }, class_name: 'Cats::Core::Location'
|
6
|
+
belongs_to :operator
|
7
|
+
|
8
|
+
validates :beneficiaries, presence: true, numericality: { greater_than: 0 }
|
9
|
+
validates :commodity_amount, presence: true, numericality: { greater_than: 0 }
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class Ration < ApplicationRecord
|
4
|
+
belongs_to :program
|
5
|
+
belongs_to :commodity_category
|
6
|
+
|
7
|
+
validates :reference_no, :amount, presence: true
|
8
|
+
validates :reference_no, uniqueness: true
|
9
|
+
validates :amount, numericality: { greater_than: 0 }
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -5,7 +5,6 @@ module Cats
|
|
5
5
|
rolify role_cname: 'Cats::Core::Role'
|
6
6
|
|
7
7
|
belongs_to :application_module
|
8
|
-
has_and_belongs_to_many :roles, join_table: :cats_core_users_cats_core_roles
|
9
8
|
has_many :notifications, as: :recipient
|
10
9
|
|
11
10
|
validates :password, length: { minimum: 6 }, if: proc { |u| u.password.present? }, on: :update
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class CreateCatsCoreOperators < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_operators do |t|
|
4
|
+
t.string :code, unique: true
|
5
|
+
t.string :name, null: false
|
6
|
+
t.string :description
|
7
|
+
t.string :contact_name, null: false
|
8
|
+
t.string :contact_phone, null: false
|
9
|
+
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class CreateCatsCoreSuppliers < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_suppliers do |t|
|
4
|
+
t.string :code, unique: true
|
5
|
+
t.string :name, null: false
|
6
|
+
t.string :description
|
7
|
+
t.string :address
|
8
|
+
t.string :contact_name, null: false
|
9
|
+
t.string :contact_phone, null: false
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreateCatsCoreRations < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_rations do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.references :program,
|
6
|
+
null: false,
|
7
|
+
index: { name: 'program_on_ration_indx' },
|
8
|
+
foreign_key: { to_table: :cats_core_programs }
|
9
|
+
t.references :commodity_category,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'cc_on_ration_indx' },
|
12
|
+
foreign_key: { to_table: :cats_core_commodity_categories }
|
13
|
+
t.float :amount, null: false
|
14
|
+
t.boolean :current, null: false, default: true
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class CreateCatsCoreHrps < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_hrps do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.integer :year, null: false
|
6
|
+
t.string :season, null: false
|
7
|
+
t.string :status, null: false, default: 'Draft'
|
8
|
+
|
9
|
+
t.references :ration,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'ration_on_hrp_indx' },
|
12
|
+
foreign_key: { to_table: :cats_core_rations }
|
13
|
+
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class CreateCatsCoreHrpItems < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_hrp_items do |t|
|
4
|
+
t.references :hrp,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'hrp_on_hrp_items_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_hrps }
|
8
|
+
t.references :woreda,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'woreda_on_hrp_items_idnx' },
|
11
|
+
foreign_key: { to_table: :cats_core_locations }
|
12
|
+
t.integer :beneficiaries, null: false
|
13
|
+
t.float :commodity_amount, null: false
|
14
|
+
t.references :operator,
|
15
|
+
null: false,
|
16
|
+
index: { name: 'operator_on_hrp_items_indx' },
|
17
|
+
foreign_key: { to_table: :cats_core_operators }
|
18
|
+
|
19
|
+
t.timestamps
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class CreateCatsCoreDonations < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_donations do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.string :donation_type, null: false
|
6
|
+
t.date :donated_on, null: false
|
7
|
+
t.references :donor,
|
8
|
+
null: false,
|
9
|
+
index: { name: 'donor_on_donation_indx' },
|
10
|
+
foreign_key: { to_table: :cats_core_donors }
|
11
|
+
t.references :hrp,
|
12
|
+
null: false,
|
13
|
+
index: { name: 'hrp_on_donation_indx' },
|
14
|
+
foreign_key: { to_table: :cats_core_hrps }
|
15
|
+
t.float :amount
|
16
|
+
t.references :currency,
|
17
|
+
null: true,
|
18
|
+
index: { name: 'currency_on_donation_indx' },
|
19
|
+
foreign_key: { to_table: :cats_core_currencies }
|
20
|
+
|
21
|
+
t.timestamps
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -3,14 +3,16 @@ class CreateCatsCoreGiftCertificates < ActiveRecord::Migration[6.1]
|
|
3
3
|
create_table :cats_core_gift_certificates do |t|
|
4
4
|
t.string :reference_no, unique: true
|
5
5
|
t.date :gift_date, null: false
|
6
|
-
|
6
|
+
|
7
|
+
t.references :donation,
|
7
8
|
null: false,
|
8
|
-
index: { name: '
|
9
|
-
foreign_key: { to_table: :
|
10
|
-
t.references :
|
9
|
+
index: { name: 'gc_on_donation_indx' },
|
10
|
+
foreign_key: { to_table: :cats_core_donations }
|
11
|
+
t.references :commodity_category,
|
11
12
|
null: false,
|
12
|
-
index: { name: '
|
13
|
-
foreign_key: { to_table: :
|
13
|
+
index: { name: 'gc_on_cc_indx' },
|
14
|
+
foreign_key: { to_table: :cats_core_commodity_categories }
|
15
|
+
|
14
16
|
t.string :vessel
|
15
17
|
t.string :port
|
16
18
|
t.string :customs_declaration_no
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class CreateCatsCorePurchaseOrders < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_purchase_orders do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.date :order_date, null: false
|
6
|
+
t.string :requisition_no
|
7
|
+
t.string :supplier, null: false
|
8
|
+
|
9
|
+
t.references :donation,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'po_on_donation_indx' },
|
12
|
+
foreign_key: { to_table: :cats_core_donations }
|
13
|
+
t.references :commodity_category,
|
14
|
+
null: false,
|
15
|
+
index: { name: 'po_on_cc_indx' },
|
16
|
+
foreign_key: { to_table: :cats_core_commodity_categories }
|
17
|
+
|
18
|
+
t.timestamps
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -1,18 +1,6 @@
|
|
1
1
|
class CreateCatsCoreCommodities < ActiveRecord::Migration[6.1]
|
2
2
|
def change
|
3
3
|
create_table :cats_core_commodities do |t|
|
4
|
-
t.references :commodity_category,
|
5
|
-
null: false,
|
6
|
-
index: { name: 'cc_on_commodities_indx' },
|
7
|
-
foreign_key: { to_table: :cats_core_commodity_categories }
|
8
|
-
t.references :donor,
|
9
|
-
null: false,
|
10
|
-
index: { name: 'donor_on_commodities_indx' },
|
11
|
-
foreign_key: { to_table: :cats_core_donors }
|
12
|
-
t.references :program,
|
13
|
-
null: false,
|
14
|
-
index: { name: 'program_on_commodities_indx' },
|
15
|
-
foreign_key: { to_table: :cats_core_programs}
|
16
4
|
t.references :unit_of_measure,
|
17
5
|
null: false,
|
18
6
|
index: { name: 'uom_on_commodities_indx' },
|
@@ -20,8 +8,7 @@ class CreateCatsCoreCommodities < ActiveRecord::Migration[6.1]
|
|
20
8
|
t.references :source, polymorphic: true
|
21
9
|
t.float :quantity, null: false
|
22
10
|
t.string :description
|
23
|
-
t.
|
24
|
-
t.date :best_use_before
|
11
|
+
t.date :best_use_before, null: false
|
25
12
|
t.float :volume_per_metric_ton
|
26
13
|
|
27
14
|
t.timestamps
|
data/lib/cats/core/version.rb
CHANGED
@@ -1,13 +1,9 @@
|
|
1
1
|
FactoryBot.define do
|
2
2
|
factory :commodity, class: 'Cats::Core::Commodity' do
|
3
|
-
commodity_category
|
4
3
|
description { FFaker::Name.name }
|
5
|
-
donor
|
6
|
-
program
|
7
4
|
unit_of_measure
|
8
5
|
source factory: :gift_certificate
|
9
6
|
quantity { 100 }
|
10
|
-
hazardous { false }
|
11
7
|
best_use_before { Date.today + 2.month }
|
12
8
|
volume_per_metric_ton { 10 }
|
13
9
|
end
|
@@ -2,8 +2,8 @@ FactoryBot.define do
|
|
2
2
|
factory :gift_certificate, class: 'Cats::Core::GiftCertificate' do
|
3
3
|
reference_no { FFaker::Name.name }
|
4
4
|
gift_date { Date.today - 1.month }
|
5
|
-
|
6
|
-
|
5
|
+
donation
|
6
|
+
commodity_category
|
7
7
|
vessel { FFaker::Name.name }
|
8
8
|
port { FFaker::Name.name }
|
9
9
|
customs_declaration_no { FFaker::Name.name }
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :purchase_order, class: 'Cats::Core::PurchaseOrder' do
|
3
|
+
reference_no { FFaker::Name.name }
|
4
|
+
order_date { Date.today }
|
5
|
+
requisition_no { FFaker::Name.name }
|
6
|
+
supplier { FFaker::Name.name }
|
7
|
+
donation
|
8
|
+
commodity_category
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :supplier, class: 'Cats::Core::Supplier' do
|
3
|
+
code { FFaker::Name.name }
|
4
|
+
name { FFaker::Name.name }
|
5
|
+
description { FFaker::Name.name }
|
6
|
+
address { FFaker::Name.name }
|
7
|
+
contact_name { FFaker::Name.name }
|
8
|
+
contact_phone { FFaker::Name.name }
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cats_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -228,15 +228,22 @@ files:
|
|
228
228
|
- app/models/cats/core/commodity.rb
|
229
229
|
- app/models/cats/core/commodity_allocation.rb
|
230
230
|
- app/models/cats/core/commodity_category.rb
|
231
|
+
- app/models/cats/core/currency.rb
|
231
232
|
- app/models/cats/core/dispatch.rb
|
232
233
|
- app/models/cats/core/dispatch_transaction.rb
|
234
|
+
- app/models/cats/core/donation.rb
|
233
235
|
- app/models/cats/core/donor.rb
|
234
236
|
- app/models/cats/core/gift_certificate.rb
|
237
|
+
- app/models/cats/core/hrp.rb
|
238
|
+
- app/models/cats/core/hrp_item.rb
|
235
239
|
- app/models/cats/core/location.rb
|
236
240
|
- app/models/cats/core/menu.rb
|
237
241
|
- app/models/cats/core/menu_item.rb
|
238
242
|
- app/models/cats/core/notification.rb
|
243
|
+
- app/models/cats/core/operator.rb
|
239
244
|
- app/models/cats/core/program.rb
|
245
|
+
- app/models/cats/core/purchase_order.rb
|
246
|
+
- app/models/cats/core/ration.rb
|
240
247
|
- app/models/cats/core/receipt.rb
|
241
248
|
- app/models/cats/core/receipt_transaction.rb
|
242
249
|
- app/models/cats/core/role.rb
|
@@ -245,6 +252,7 @@ files:
|
|
245
252
|
- app/models/cats/core/stack_transaction.rb
|
246
253
|
- app/models/cats/core/stacking_rule.rb
|
247
254
|
- app/models/cats/core/store.rb
|
255
|
+
- app/models/cats/core/supplier.rb
|
248
256
|
- app/models/cats/core/transaction.rb
|
249
257
|
- app/models/cats/core/transporter.rb
|
250
258
|
- app/models/cats/core/unit_of_measure.rb
|
@@ -264,10 +272,18 @@ files:
|
|
264
272
|
- db/migrate/20210716124953_create_cats_core_commodity_categories.rb
|
265
273
|
- db/migrate/20210716145125_create_cats_core_unit_of_measures.rb
|
266
274
|
- db/migrate/20210716151230_create_cats_core_programs.rb
|
275
|
+
- db/migrate/20210716183620_create_cats_core_locations.rb
|
276
|
+
- db/migrate/20210716185529_create_cats_core_currencies.rb
|
277
|
+
- db/migrate/20210716210635_create_cats_core_operators.rb
|
278
|
+
- db/migrate/20210716210905_create_cats_core_suppliers.rb
|
267
279
|
- db/migrate/20210717031108_create_cats_core_donors.rb
|
280
|
+
- db/migrate/20210717031216_create_cats_core_rations.rb
|
281
|
+
- db/migrate/20210717031810_create_cats_core_hrps.rb
|
282
|
+
- db/migrate/20210717032024_create_cats_core_hrp_items.rb
|
283
|
+
- db/migrate/20210717032330_create_cats_core_donations.rb
|
268
284
|
- db/migrate/20210717032602_create_cats_core_gift_certificates.rb
|
285
|
+
- db/migrate/20210717032855_create_cats_core_purchase_orders.rb
|
269
286
|
- db/migrate/20210717033223_create_cats_core_commodities.rb
|
270
|
-
- db/migrate/20210717043620_create_cats_core_locations.rb
|
271
287
|
- db/migrate/20210717140855_create_cats_core_stores.rb
|
272
288
|
- db/migrate/20210717171101_create_cats_core_stacks.rb
|
273
289
|
- db/migrate/20210718042749_create_cats_core_transporters.rb
|
@@ -288,15 +304,22 @@ files:
|
|
288
304
|
- spec/factories/cats/core/commodities.rb
|
289
305
|
- spec/factories/cats/core/commodity_allocations.rb
|
290
306
|
- spec/factories/cats/core/commodity_categories.rb
|
307
|
+
- spec/factories/cats/core/currencies.rb
|
291
308
|
- spec/factories/cats/core/dispatch_transactions.rb
|
292
309
|
- spec/factories/cats/core/dispatches.rb
|
310
|
+
- spec/factories/cats/core/donations.rb
|
293
311
|
- spec/factories/cats/core/donors.rb
|
294
312
|
- spec/factories/cats/core/gift_certificates.rb
|
313
|
+
- spec/factories/cats/core/hrp_items.rb
|
314
|
+
- spec/factories/cats/core/hrps.rb
|
295
315
|
- spec/factories/cats/core/locations.rb
|
296
316
|
- spec/factories/cats/core/menu_items.rb
|
297
317
|
- spec/factories/cats/core/menus.rb
|
298
318
|
- spec/factories/cats/core/notifications.rb
|
319
|
+
- spec/factories/cats/core/operators.rb
|
299
320
|
- spec/factories/cats/core/programs.rb
|
321
|
+
- spec/factories/cats/core/purchase_orders.rb
|
322
|
+
- spec/factories/cats/core/rations.rb
|
300
323
|
- spec/factories/cats/core/receipt_transactions.rb
|
301
324
|
- spec/factories/cats/core/receipts.rb
|
302
325
|
- spec/factories/cats/core/role_menus.rb
|
@@ -305,6 +328,7 @@ files:
|
|
305
328
|
- spec/factories/cats/core/stacking_rules.rb
|
306
329
|
- spec/factories/cats/core/stacks.rb
|
307
330
|
- spec/factories/cats/core/stores.rb
|
331
|
+
- spec/factories/cats/core/suppliers.rb
|
308
332
|
- spec/factories/cats/core/transporters.rb
|
309
333
|
- spec/factories/cats/core/unit_of_measures.rb
|
310
334
|
- spec/factories/cats/core/users.rb
|