cats_core 1.4.3 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/cats/core/dispatch_plan_items_controller.rb +1 -1
- data/app/controllers/cats/core/dispatch_plans_controller.rb +1 -1
- data/app/controllers/cats/core/dispatch_transactions_controller.rb +1 -1
- data/app/controllers/cats/core/dispatches_controller.rb +1 -1
- data/app/controllers/cats/core/stacks_controller.rb +2 -2
- data/app/models/cats/core/commodity.rb +1 -1
- data/app/models/cats/core/dispatch_plan.rb +0 -2
- data/app/models/cats/core/dispatch_plan_item.rb +3 -1
- data/app/models/cats/core/transport_bid_item.rb +1 -0
- data/app/models/cats/core/transport_requisition.rb +28 -0
- data/app/models/cats/core/transport_requisition_detail.rb +12 -0
- data/app/models/cats/core/transport_requisition_item.rb +14 -0
- data/app/notifications/cats/core/allocation_notification.rb +2 -2
- data/app/notifications/cats/core/dispatch_notification.rb +1 -1
- data/app/serializers/cats/core/commodity_serializer.rb +1 -1
- data/app/serializers/cats/core/dispatch_plan_item_serializer.rb +1 -1
- data/app/serializers/cats/core/dispatch_plan_serializer.rb +1 -2
- data/app/services/cats/core/stack_service.rb +8 -8
- data/config/routes.rb +1 -1
- data/db/migrate/20210718043328_create_cats_core_dispatch_plans.rb +0 -5
- data/db/migrate/20210718043401_create_cats_core_dispatch_plan_items.rb +4 -0
- data/db/migrate/20220417105839_create_cats_core_transport_requisitions.rb +26 -0
- data/db/migrate/20220417123835_create_cats_core_transport_requisition_items.rb +21 -0
- data/db/migrate/20220417151821_create_cats_core_transport_requisition_details.rb +17 -0
- data/lib/cats/core/version.rb +1 -1
- data/spec/factories/cats/core/dispatch_plan_items.rb +1 -0
- data/spec/factories/cats/core/dispatch_plans.rb +0 -1
- data/spec/factories/cats/core/locations.rb +13 -8
- data/spec/factories/cats/core/transport_requisition_details.rb +7 -0
- data/spec/factories/cats/core/transport_requisition_items.rb +8 -0
- data/spec/factories/cats/core/transport_requisitions.rb +10 -0
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 564c9a64ea8c7ddbcdd6afcd9b8270091f9f47484dc16e51c33eae196c584410
|
4
|
+
data.tar.gz: 29e5f1548a143c4bddfb74ac1984f63ce29b442ce86067efef3bfe150558f339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74a80138ca25fe94455f36b1b4bfaa5b8e5522fc0a6a6beea072358e82b233e1a19d2d08a981f551a628d0d65c18e8a180ff2777f4ef7764dbbb9b3f759b5cc0
|
7
|
+
data.tar.gz: d029c881f9b027f87bcdc73f5ff211e700b9e63bc9a71cc3fa5c8f610cab67f6d3787d4e9613b95778924318abd35b93d8cc98c8293faab2eb896402ebd580ba
|
@@ -14,7 +14,7 @@ module Cats
|
|
14
14
|
# user to give us a source.
|
15
15
|
def create_allocation
|
16
16
|
dispatch = Dispatch.find(model_params[:dispatch_id])
|
17
|
-
commodity = dispatch.dispatch_plan_item.
|
17
|
+
commodity = dispatch.dispatch_plan_item.commodity
|
18
18
|
transaction = DispatchTransaction.new(model_params)
|
19
19
|
|
20
20
|
# Fetch supplier stack by commodity
|
@@ -13,9 +13,9 @@ module Cats
|
|
13
13
|
render json: { success: true, data: serialize(query.result) }
|
14
14
|
end
|
15
15
|
|
16
|
-
def
|
16
|
+
def items_for_location
|
17
17
|
service = StackService.new
|
18
|
-
commodities = service.
|
18
|
+
commodities = service.items_for_location(current_user)
|
19
19
|
render json: { success: true, data: serialize(commodities) }
|
20
20
|
end
|
21
21
|
|
@@ -38,7 +38,7 @@ module Cats
|
|
38
38
|
validates :arrival_status, presence: true, inclusion: { in: ARRIVAL_STATUSES }
|
39
39
|
validates :status, presence: true, inclusion: { in: STATUSES }
|
40
40
|
|
41
|
-
delegate(:abbreviation, to: :unit_of_measure, prefix:
|
41
|
+
delegate(:abbreviation, to: :unit_of_measure, prefix: 'unit')
|
42
42
|
delegate(:reference_no, to: :source, prefix: true)
|
43
43
|
|
44
44
|
def name
|
@@ -8,7 +8,6 @@ module Cats
|
|
8
8
|
belongs_to :dispatchable, polymorphic: true, optional: true
|
9
9
|
belongs_to :prepared_by, class_name: 'Cats::Core::User'
|
10
10
|
belongs_to :approved_by, class_name: 'Cats::Core::User', optional: true
|
11
|
-
belongs_to :commodity
|
12
11
|
|
13
12
|
has_many :dispatch_plan_items
|
14
13
|
|
@@ -16,7 +15,6 @@ module Cats
|
|
16
15
|
validates :status, inclusion: { in: STATUSES }
|
17
16
|
validate :validate_dispatchable, on: :create
|
18
17
|
|
19
|
-
delegate(:batch_no, :name, :quantity, to: :commodity, prefix: true)
|
20
18
|
delegate(:request_reference, to: :dispatchable, allow_nil: true)
|
21
19
|
delegate(:request_quantity, to: :dispatchable, allow_nil: true)
|
22
20
|
|
@@ -10,6 +10,8 @@ module Cats
|
|
10
10
|
belongs_to :source, class_name: 'Cats::Core::Location'
|
11
11
|
belongs_to :destination, class_name: 'Cats::Core::Location'
|
12
12
|
belongs_to :dispatch_plan
|
13
|
+
belongs_to :commodity
|
14
|
+
|
13
15
|
has_many :dispatches
|
14
16
|
has_many :hub_authorizations
|
15
17
|
|
@@ -18,7 +20,7 @@ module Cats
|
|
18
20
|
validates :status, presence: true, inclusion: { in: STATUSES }
|
19
21
|
|
20
22
|
delegate(:reference_no, to: :dispatch_plan, prefix: :plan, allow_nil: true)
|
21
|
-
delegate(:
|
23
|
+
delegate(:batch_no, :name, to: :commodity, prefix: true)
|
22
24
|
delegate(:name, to: :source, prefix: true)
|
23
25
|
delegate(:name, to: :destination, prefix: true)
|
24
26
|
delegate(:location_type, to: :source, prefix: true)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class TransportRequisition < ApplicationRecord
|
4
|
+
DRAFT = 'Draft'.freeze
|
5
|
+
APPROVED = 'Approved'.freeze
|
6
|
+
STATUSES = [DRAFT, APPROVED].freeze
|
7
|
+
|
8
|
+
belongs_to :dispatch_plan
|
9
|
+
belongs_to :requested_by, class_name: 'Cats::Core::User'
|
10
|
+
belongs_to :approved_by, class_name: 'Cats::Core::User', optional: true
|
11
|
+
belongs_to :unit, class_name: 'Cats::Core::UnitOfMeasure'
|
12
|
+
|
13
|
+
has_many :transport_requisition_items
|
14
|
+
|
15
|
+
validates :reference_no, presence: true, uniqueness: true
|
16
|
+
validates :status, presence: true, inclusion: { in: STATUSES }
|
17
|
+
|
18
|
+
delegate(:full_name, to: :requested_by, prefix: 'requestor')
|
19
|
+
delegate(:full_name, to: :approved_by, prefix: 'approver', allow_nil: true)
|
20
|
+
delegate(:abbreviation, to: :unit, prefix: true)
|
21
|
+
|
22
|
+
def quantity
|
23
|
+
quantities = transport_requisition_items.map { |item| UnitConversion.convert(item.unit, unit, item.quantity) }
|
24
|
+
quantities.sum
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class TransportRequisitionDetail < ApplicationRecord
|
4
|
+
belongs_to :transport_requisition_item
|
5
|
+
belongs_to :fdp, class_name: 'Cats::Core::Location'
|
6
|
+
|
7
|
+
validates :quantity, presence: true, numericality: { greater_than: 0 }
|
8
|
+
|
9
|
+
delegate(:name, to: :fdp, prefix: true)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Cats
|
2
|
+
module Core
|
3
|
+
class TransportRequisitionItem < ApplicationRecord
|
4
|
+
belongs_to :transport_requisition
|
5
|
+
belongs_to :dispatch_plan_item
|
6
|
+
belongs_to :unit, class_name: 'Cats::Core::UnitOfMeasure'
|
7
|
+
|
8
|
+
validates :quantity, presence: true, numericality: { greater_than: 0 }
|
9
|
+
|
10
|
+
delegate(:reference_no, to: :transport_requisition, prefix: 'requisition')
|
11
|
+
delegate(:abbreviation, to: :unit, prefix: true)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -12,14 +12,14 @@ module Cats
|
|
12
12
|
|
13
13
|
def message
|
14
14
|
allocation_item = params[:allocation_item]
|
15
|
-
commodity = allocation_item.
|
15
|
+
commodity = allocation_item.commodity.name
|
16
16
|
source = allocation_item.source.name
|
17
17
|
destination = allocation_item.destination.name
|
18
18
|
title = "Allocation Notification - #{commodity}"
|
19
19
|
date = Date.today
|
20
20
|
body = <<~BODY
|
21
21
|
Commodity with the following specification has been allocated to you:
|
22
|
-
Batch No. = #{allocation_item.
|
22
|
+
Batch No. = #{allocation_item.commodity.batch_no}
|
23
23
|
Commodity = #{commodity}
|
24
24
|
Quantity = #{allocation_item.quantity}
|
25
25
|
The commodity is expected to be delivered from #{source} to #{destination}
|
@@ -7,7 +7,7 @@ module Cats
|
|
7
7
|
|
8
8
|
def message
|
9
9
|
dispatch = params[:dispatch]
|
10
|
-
commodity = dispatch.dispatch_plan_item.
|
10
|
+
commodity = dispatch.dispatch_plan_item.commodity
|
11
11
|
title = "Dispatch Notification - #{commodity.name}"
|
12
12
|
date = Date.today
|
13
13
|
body = <<~BODY
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Cats
|
2
2
|
module Core
|
3
3
|
class CommoditySerializer < ActiveModel::Serializer
|
4
|
-
attributes :id, :name, :batch_no, :description, :unit_of_measure_id, :
|
4
|
+
attributes :id, :name, :batch_no, :description, :unit_of_measure_id, :unit_abbreviation, :source_id,
|
5
5
|
:source_type, :source_reference_no, :quantity, :best_use_before, :volume_per_metric_ton,
|
6
6
|
:arrival_status, :status, :shipping_reference
|
7
7
|
end
|
@@ -3,7 +3,7 @@ module Cats
|
|
3
3
|
class DispatchPlanItemSerializer < ActiveModel::Serializer
|
4
4
|
attributes :id, :dispatch_plan_id, :plan_reference_no, :source_id, :source_name, :destination_id,
|
5
5
|
:destination_name, :quantity, :source_location_type, :destination_location_type, :commodity_status,
|
6
|
-
:status
|
6
|
+
:status, :commodity_id, :commodity_name, :commodity_batch_no
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -2,8 +2,7 @@ module Cats
|
|
2
2
|
module Core
|
3
3
|
class DispatchPlanSerializer < ActiveModel::Serializer
|
4
4
|
attributes :id, :reference_no, :status, :dispatchable_id, :dispatchable_type, :request_reference,
|
5
|
-
:request_quantity, :
|
6
|
-
:upstream
|
5
|
+
:request_quantity, :upstream
|
7
6
|
end
|
8
7
|
end
|
9
8
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Cats
|
2
2
|
module Core
|
3
3
|
class StackService
|
4
|
-
def
|
4
|
+
def items_for_location(user)
|
5
5
|
details = user.details
|
6
6
|
|
7
7
|
key_available = details.keys.any? { |key| %w[stores warehouse hub].include?(key) }
|
@@ -17,7 +17,7 @@ module Cats
|
|
17
17
|
|
18
18
|
allocation_items =
|
19
19
|
DispatchPlanItem
|
20
|
-
.joins(dispatch_plan
|
20
|
+
.joins(:dispatch_plan)
|
21
21
|
.where(destination: hub, dispatch_plan: { status: DispatchPlan::APPROVED })
|
22
22
|
|
23
23
|
allocation_items.map do |item|
|
@@ -26,10 +26,10 @@ module Cats
|
|
26
26
|
source: item.source.name,
|
27
27
|
destination: item.destination.name,
|
28
28
|
quantity: item.quantity,
|
29
|
-
batch_no: item.
|
30
|
-
commodity_id: item.
|
31
|
-
commodity_name: item.
|
32
|
-
unit: item.
|
29
|
+
batch_no: item.commodity.batch_no,
|
30
|
+
commodity_id: item.commodity_id,
|
31
|
+
commodity_name: item.commodity.name,
|
32
|
+
unit: item.commodity.unit_abbreviation
|
33
33
|
}
|
34
34
|
end
|
35
35
|
end
|
@@ -39,7 +39,7 @@ module Cats
|
|
39
39
|
warehouses = location.children
|
40
40
|
stores = Store.where(warehouse: warehouses)
|
41
41
|
|
42
|
-
commodity = receipt.dispatch.dispatch_plan_item.
|
42
|
+
commodity = receipt.dispatch.dispatch_plan_item.commodity
|
43
43
|
Stack.where(commodity: commodity, store: stores)
|
44
44
|
end
|
45
45
|
|
@@ -48,7 +48,7 @@ module Cats
|
|
48
48
|
warehouses = location.children
|
49
49
|
stores = Store.where(warehouse: warehouses)
|
50
50
|
|
51
|
-
commodity = dispatch.dispatch_plan_item.
|
51
|
+
commodity = dispatch.dispatch_plan_item.commodity
|
52
52
|
Stack.where(commodity: commodity, store: stores)
|
53
53
|
end
|
54
54
|
end
|
data/config/routes.rb
CHANGED
@@ -137,7 +137,7 @@ Cats::Core::Engine.routes.draw do
|
|
137
137
|
|
138
138
|
get '/stores/:id/stacks', controller: :stacks, action: :index, as: :stacks_store
|
139
139
|
post '/stores/:id/stacks', controller: :stacks, action: :filter
|
140
|
-
get '/stacks/
|
140
|
+
get '/stacks/items_for_location', controller: :stacks, action: :items_for_location, as: :items_for_location
|
141
141
|
get '/receipts/:id/stacks', controller: :stacks, action: :receipt_stacks, as: :receipt_stacks
|
142
142
|
get '/dispatches/:id/stacks', controller: :stacks, action: :dispatch_stacks, as: :dispatch_stacks
|
143
143
|
resources :stacks, only: %i[show index create update]
|
@@ -6,11 +6,6 @@ class CreateCatsCoreDispatchPlans < ActiveRecord::Migration[6.1]
|
|
6
6
|
t.string :status, null: false, default: 'Draft'
|
7
7
|
t.references :dispatchable, polymorphic: true
|
8
8
|
t.boolean :upstream, null: false, default: false
|
9
|
-
t.references :commodity,
|
10
|
-
null: false,
|
11
|
-
index: { name: 'commodity_on_dp_indx' },
|
12
|
-
foreign_key: { to_table: :cats_core_commodities }
|
13
|
-
|
14
9
|
t.references :prepared_by,
|
15
10
|
null: false,
|
16
11
|
index: { name: 'pb_on_dp_indx' },
|
@@ -13,6 +13,10 @@ class CreateCatsCoreDispatchPlanItems < ActiveRecord::Migration[6.1]
|
|
13
13
|
null: false,
|
14
14
|
index: { name: 'dpi_on_destination_indx'},
|
15
15
|
foreign_key: { to_table: :cats_core_locations }
|
16
|
+
t.references :commodity,
|
17
|
+
null: false,
|
18
|
+
index: { name: 'commodity_on_dpi_indx' },
|
19
|
+
foreign_key: { to_table: :cats_core_commodities }
|
16
20
|
t.float :quantity, null: false
|
17
21
|
t.string :commodity_status, null: false, default: 'Good'
|
18
22
|
t.string :status, null: false, default: 'Unauthorized'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class CreateCatsCoreTransportRequisitions < ActiveRecord::Migration[7.0]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_transport_requisitions do |t|
|
4
|
+
t.references :dispatch_plan,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'dp_on_tr_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_dispatch_plans }
|
8
|
+
t.string :reference_no, null: false, unique: true
|
9
|
+
t.references :requested_by,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'rb_on_tr_indx' },
|
12
|
+
foreign_key: { to_table: :cats_core_users }
|
13
|
+
t.references :approved_by,
|
14
|
+
null: true,
|
15
|
+
index: { name: 'ab_on_tr_indx' },
|
16
|
+
foreign_key: { to_table: :cats_core_users }
|
17
|
+
t.string :status, null: false
|
18
|
+
t.references :unit,
|
19
|
+
null: false,
|
20
|
+
index: { name: 'unit_on_tr_indx' },
|
21
|
+
foreign_key: { to_table: :cats_core_unit_of_measures }
|
22
|
+
|
23
|
+
t.timestamps
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class CreateCatsCoreTransportRequisitionItems < ActiveRecord::Migration[7.0]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_transport_requisition_items do |t|
|
4
|
+
t.references :transport_requisition,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'tr_on_tri_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_transport_requisitions }
|
8
|
+
t.references :dispatch_plan_item,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'dpi_on_tri_indx' },
|
11
|
+
foreign_key: { to_table: :cats_core_dispatch_plan_items }
|
12
|
+
t.float :quantity, null: false
|
13
|
+
t.references :unit,
|
14
|
+
null: false,
|
15
|
+
index: { name: 'unit_on_tri_indx' },
|
16
|
+
foreign_key: { to_table: :cats_core_unit_of_measures }
|
17
|
+
|
18
|
+
t.timestamps
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class CreateCatsCoreTransportRequisitionDetails < ActiveRecord::Migration[7.0]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_transport_requisition_details do |t|
|
4
|
+
t.references :transport_requisition_item,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'tri_on_trd_indx'},
|
7
|
+
foreign_key: { to_table: :cats_core_transport_requisition_items }
|
8
|
+
t.float :quantity, null: false
|
9
|
+
t.references :fdp,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'fdp_on_tri_indx'},
|
12
|
+
foreign_key: { to_table: :cats_core_locations }
|
13
|
+
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/cats/core/version.rb
CHANGED
@@ -6,23 +6,28 @@ FactoryBot.define do
|
|
6
6
|
ancestry { nil }
|
7
7
|
end
|
8
8
|
|
9
|
-
factory :
|
10
|
-
location_type { Cats::Core::Location::
|
9
|
+
factory :zone, parent: :location, class: 'Cats::Core::Location' do
|
10
|
+
location_type { Cats::Core::Location::ZONE }
|
11
11
|
parent
|
12
12
|
end
|
13
13
|
|
14
|
-
factory :
|
15
|
-
location_type { Cats::Core::Location::
|
14
|
+
factory :woreda, parent: :location, class: 'Cats::Core::Location' do
|
15
|
+
location_type { Cats::Core::Location::WOREDA }
|
16
16
|
parent
|
17
17
|
end
|
18
18
|
|
19
|
-
factory :
|
20
|
-
location_type { Cats::Core::Location::
|
19
|
+
factory :fdp, parent: :woreda, class: 'Cats::Core::Location' do
|
20
|
+
location_type { Cats::Core::Location::FDP }
|
21
21
|
parent
|
22
22
|
end
|
23
23
|
|
24
|
-
factory :
|
25
|
-
location_type { Cats::Core::Location::
|
24
|
+
factory :hub, parent: :location, class: 'Cats::Core::Location' do
|
25
|
+
location_type { Cats::Core::Location::HUB }
|
26
|
+
parent
|
27
|
+
end
|
28
|
+
|
29
|
+
factory :warehouse, parent: :location, class: 'Cats::Core::Location' do
|
30
|
+
location_type { Cats::Core::Location::WAREHOUSE }
|
26
31
|
parent
|
27
32
|
end
|
28
33
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :transport_requisition, class: 'Cats::Core::TransportRequisition' do
|
3
|
+
dispatch_plan
|
4
|
+
reference_no { FFaker::Name.name }
|
5
|
+
requested_by factory: :user
|
6
|
+
approved_by factory: :user
|
7
|
+
status { Cats::Core::TransportRequisition::DRAFT }
|
8
|
+
unit factory: :unit_of_measure
|
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.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -309,6 +309,9 @@ files:
|
|
309
309
|
- app/models/cats/core/transport_offer.rb
|
310
310
|
- app/models/cats/core/transport_plan.rb
|
311
311
|
- app/models/cats/core/transport_plan_item.rb
|
312
|
+
- app/models/cats/core/transport_requisition.rb
|
313
|
+
- app/models/cats/core/transport_requisition_detail.rb
|
314
|
+
- app/models/cats/core/transport_requisition_item.rb
|
312
315
|
- app/models/cats/core/transporter.rb
|
313
316
|
- app/models/cats/core/unit_conversion.rb
|
314
317
|
- app/models/cats/core/unit_of_measure.rb
|
@@ -404,6 +407,9 @@ files:
|
|
404
407
|
- db/migrate/20220107132433_create_cats_core_monthly_plan_item_details.rb
|
405
408
|
- db/migrate/20220209083928_create_cats_core_hub_authorizations.rb
|
406
409
|
- db/migrate/20220416143416_create_cats_core_unit_conversions.rb
|
410
|
+
- db/migrate/20220417105839_create_cats_core_transport_requisitions.rb
|
411
|
+
- db/migrate/20220417123835_create_cats_core_transport_requisition_items.rb
|
412
|
+
- db/migrate/20220417151821_create_cats_core_transport_requisition_details.rb
|
407
413
|
- lib/cats/core.rb
|
408
414
|
- lib/cats/core/engine.rb
|
409
415
|
- lib/cats/core/version.rb
|
@@ -460,6 +466,9 @@ files:
|
|
460
466
|
- spec/factories/cats/core/transport_offers.rb
|
461
467
|
- spec/factories/cats/core/transport_plan_items.rb
|
462
468
|
- spec/factories/cats/core/transport_plans.rb
|
469
|
+
- spec/factories/cats/core/transport_requisition_details.rb
|
470
|
+
- spec/factories/cats/core/transport_requisition_items.rb
|
471
|
+
- spec/factories/cats/core/transport_requisitions.rb
|
463
472
|
- spec/factories/cats/core/transporters.rb
|
464
473
|
- spec/factories/cats/core/unit_conversions.rb
|
465
474
|
- spec/factories/cats/core/unit_of_measures.rb
|