cats_core 1.0.13 → 1.0.17
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 +2 -3
- data/app/models/cats/core/commodity_allocation.rb +19 -0
- data/app/models/cats/core/currency.rb +8 -0
- data/app/models/cats/core/dispatch.rb +14 -0
- data/app/models/cats/core/dispatch_transaction.rb +8 -0
- data/app/models/cats/core/donation.rb +18 -0
- data/app/models/cats/core/gift_certificate.rb +11 -0
- data/app/models/cats/core/hrp.rb +16 -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/receipt.rb +19 -0
- data/app/models/cats/core/receipt_transaction.rb +8 -0
- data/app/models/cats/core/stack.rb +2 -2
- data/app/models/cats/core/stack_transaction.rb +8 -0
- data/app/models/cats/core/store.rb +18 -0
- data/app/models/cats/core/supplier.rb +8 -0
- data/app/models/cats/core/transaction.rb +32 -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 +20 -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 +29 -0
- data/db/migrate/20210717032855_create_cats_core_purchase_orders.rb +21 -0
- data/db/migrate/20210717033223_create_cats_core_commodities.rb +2 -14
- data/db/migrate/20210718042823_create_cats_core_commodity_allocations.rb +23 -0
- data/db/migrate/20210718045516_create_cats_core_dispatches.rb +27 -0
- data/db/migrate/20210718202957_create_cats_core_dispatch_transactions.rb +19 -0
- data/db/migrate/20210727074646_create_cats_core_receipts.rb +20 -0
- data/db/migrate/20210814160628_create_cats_core_receipt_transactions.rb +19 -0
- data/db/migrate/20210814175406_create_cats_core_stack_transactions.rb +19 -0
- data/lib/cats/core/version.rb +1 -1
- data/spec/factories/cats/core/commodities.rb +2 -5
- data/spec/factories/cats/core/commodity_allocations.rb +10 -0
- data/spec/factories/cats/core/currencies.rb +6 -0
- data/spec/factories/cats/core/dispatch_transactions.rb +9 -0
- data/spec/factories/cats/core/dispatches.rb +13 -0
- data/spec/factories/cats/core/donations.rb +11 -0
- data/spec/factories/cats/core/gift_certificates.rb +17 -0
- data/spec/factories/cats/core/hrp_items.rb +9 -0
- data/spec/factories/cats/core/hrps.rb +10 -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/receipt_transactions.rb +9 -0
- data/spec/factories/cats/core/receipts.rb +10 -0
- data/spec/factories/cats/core/stack_transactions.rb +9 -0
- data/spec/factories/cats/core/suppliers.rb +10 -0
- metadata +49 -15
- data/app/models/cats/core/commodity_transaction.rb +0 -55
- data/app/models/cats/core/receipt_plan.rb +0 -24
- data/app/models/cats/core/way_bill.rb +0 -12
- data/app/models/cats/core/way_bill_item.rb +0 -15
- data/db/migrate/20210718045516_create_cats_core_way_bills.rb +0 -25
- data/db/migrate/20210718050751_create_cats_core_way_bill_items.rb +0 -18
- data/db/migrate/20210718202957_create_cats_core_commodity_transactions.rb +0 -14
- data/db/migrate/20210727074646_create_cats_core_receipt_plans.rb +0 -16
- data/spec/factories/cats/core/commodity_transactions.rb +0 -10
- data/spec/factories/cats/core/receipt_plans.rb +0 -9
- data/spec/factories/cats/core/way_bill_items.rb +0 -8
- data/spec/factories/cats/core/way_bills.rb +0 -12
@@ -0,0 +1,29 @@
|
|
1
|
+
class CreateCatsCoreGiftCertificates < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_gift_certificates do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.date :gift_date, null: false
|
6
|
+
|
7
|
+
t.references :donation,
|
8
|
+
null: false,
|
9
|
+
index: { name: 'gc_on_donation_indx' },
|
10
|
+
foreign_key: { to_table: :cats_core_donations }
|
11
|
+
t.references :commodity_category,
|
12
|
+
null: false,
|
13
|
+
index: { name: 'gc_on_cc_indx' },
|
14
|
+
foreign_key: { to_table: :cats_core_commodity_categories }
|
15
|
+
|
16
|
+
t.string :vessel
|
17
|
+
t.string :port
|
18
|
+
t.string :customs_declaration_no
|
19
|
+
t.integer :purchase_year
|
20
|
+
t.date :expiry_date
|
21
|
+
t.string :bill_of_lading_no
|
22
|
+
t.float :amount, null: false
|
23
|
+
t.float :estimated_price
|
24
|
+
t.float :estimated_tax
|
25
|
+
|
26
|
+
t.timestamps
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -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,26 +1,14 @@
|
|
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' },
|
19
7
|
foreign_key: { to_table: :cats_core_unit_of_measures }
|
8
|
+
t.references :source, polymorphic: true
|
20
9
|
t.float :quantity, null: false
|
21
10
|
t.string :description
|
22
|
-
t.
|
23
|
-
t.date :best_use_before
|
11
|
+
t.date :best_use_before, null: false
|
24
12
|
t.float :volume_per_metric_ton
|
25
13
|
|
26
14
|
t.timestamps
|
@@ -0,0 +1,23 @@
|
|
1
|
+
class CreateCatsCoreCommodityAllocations < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_commodity_allocations do |t|
|
4
|
+
t.references :commodity,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'ca_on_commodity_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_commodities }
|
8
|
+
t.references :source,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'ca_on_source_indx' },
|
11
|
+
foreign_key: { to_table: :cats_core_locations }
|
12
|
+
t.references :destination,
|
13
|
+
null: false,
|
14
|
+
index: { name: 'ca_on_destination_indx' },
|
15
|
+
foreign_key: { to_table: :cats_core_locations }
|
16
|
+
t.float :quantity, null: false
|
17
|
+
t.string :commodity_status, null: false, default: 'Good'
|
18
|
+
t.string :remark
|
19
|
+
|
20
|
+
t.timestamps
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class CreateCatsCoreDispatches < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_dispatches do |t|
|
4
|
+
t.string :reference_no, unique: true
|
5
|
+
t.references :commodity_allocation,
|
6
|
+
null: false,
|
7
|
+
index: { name: 'ca_on_dispatches_indx' },
|
8
|
+
foreign_key: { to_table: :cats_core_commodity_allocations }
|
9
|
+
t.references :transporter,
|
10
|
+
null: false,
|
11
|
+
index: { name: 'transporter_on_dispatches_indx' },
|
12
|
+
foreign_key: { to_table: :cats_core_transporters }
|
13
|
+
t.string :plate_no, null: false
|
14
|
+
t.string :driver_name, null: false
|
15
|
+
t.string :driver_phone, null: false
|
16
|
+
t.float :quantity, null: false
|
17
|
+
t.string :commodity_status, null: false, default: 'Good'
|
18
|
+
t.string :remark
|
19
|
+
t.references :prepared_by,
|
20
|
+
null: false,
|
21
|
+
index: { name: 'pb_on_dispatches_indx' },
|
22
|
+
foreign_key: { to_table: :cats_core_users }
|
23
|
+
|
24
|
+
t.timestamps
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreateCatsCoreDispatchTransactions < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_dispatch_transactions do |t|
|
4
|
+
t.references :source,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'stack_on_dt_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_stacks }
|
8
|
+
t.references :destination,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'dispatch_on_dt_indx' },
|
11
|
+
foreign_key: { to_table: :cats_core_dispatches }
|
12
|
+
t.date :transaction_date, null: false
|
13
|
+
t.float :quantity, null: false
|
14
|
+
t.string :status, null: false, default: 'Draft'
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class CreateCatsCoreReceipts < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_receipts do |t|
|
4
|
+
t.references :dispatch,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'dispatch_on_receipts_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_dispatches }
|
8
|
+
t.float :quantity, null: false
|
9
|
+
t.string :commodity_status, null: false, default: 'Good'
|
10
|
+
t.string :status, null: false, default: 'Draft'
|
11
|
+
t.string :remark
|
12
|
+
t.references :prepared_by,
|
13
|
+
null: false,
|
14
|
+
index: { name: 'pb_on_receipts_indx' },
|
15
|
+
foreign_key: { to_table: :cats_core_users }
|
16
|
+
|
17
|
+
t.timestamps
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreateCatsCoreReceiptTransactions < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_receipt_transactions do |t|
|
4
|
+
t.references :source,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'receipt_on_rt_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_receipts }
|
8
|
+
t.references :destination,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'stack_on_rt_indx' },
|
11
|
+
foreign_key: { to_table: :cats_core_stacks }
|
12
|
+
t.date :transaction_date, null: false
|
13
|
+
t.float :quantity, null: false
|
14
|
+
t.string :status, null: false, default: 'Draft'
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreateCatsCoreStackTransactions < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :cats_core_stack_transactions do |t|
|
4
|
+
t.references :source,
|
5
|
+
null: false,
|
6
|
+
index: { name: 'source_on_st_indx' },
|
7
|
+
foreign_key: { to_table: :cats_core_stacks }
|
8
|
+
t.references :destination,
|
9
|
+
null: false,
|
10
|
+
index: { name: 'destination_on_st_indx' },
|
11
|
+
foreign_key: { to_table: :cats_core_stacks }
|
12
|
+
t.date :transaction_date, null: false
|
13
|
+
t.float :quantity, null: false
|
14
|
+
t.string :status, null: false, default: 'Draft'
|
15
|
+
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/cats/core/version.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
FactoryBot.define do
|
2
2
|
factory :commodity, class: 'Cats::Core::Commodity' do
|
3
|
-
association :commodity_category
|
4
3
|
description { FFaker::Name.name }
|
5
|
-
|
6
|
-
|
7
|
-
association :unit_of_measure
|
4
|
+
unit_of_measure
|
5
|
+
source factory: :gift_certificate
|
8
6
|
quantity { 100 }
|
9
|
-
hazardous { false }
|
10
7
|
best_use_before { Date.today + 2.month }
|
11
8
|
volume_per_metric_ton { 10 }
|
12
9
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :commodity_allocation, class: 'Cats::Core::CommodityAllocation' do
|
3
|
+
commodity
|
4
|
+
source factory: :location
|
5
|
+
destination factory: :location
|
6
|
+
quantity { 50 }
|
7
|
+
commodity_status { Cats::Core::Commodity::GOOD }
|
8
|
+
remark { FFaker::Name.name }
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :dispatch, class: 'Cats::Core::Dispatch' do
|
3
|
+
reference_no { FFaker::Name.name }
|
4
|
+
commodity_allocation
|
5
|
+
transporter
|
6
|
+
plate_no { FFaker::Name.name }
|
7
|
+
driver_name { FFaker::Name.name }
|
8
|
+
driver_phone { FFaker::Name.name }
|
9
|
+
quantity { 50 }
|
10
|
+
remark { FFaker::Name.name }
|
11
|
+
prepared_by factory: :user
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :gift_certificate, class: 'Cats::Core::GiftCertificate' do
|
3
|
+
reference_no { FFaker::Name.name }
|
4
|
+
gift_date { Date.today - 1.month }
|
5
|
+
donation
|
6
|
+
commodity_category
|
7
|
+
vessel { FFaker::Name.name }
|
8
|
+
port { FFaker::Name.name }
|
9
|
+
customs_declaration_no { FFaker::Name.name }
|
10
|
+
purchase_year { 1 }
|
11
|
+
expiry_date { Date.today + 6.month }
|
12
|
+
bill_of_lading_no { FFaker::Name.name }
|
13
|
+
amount { 1.5 }
|
14
|
+
estimated_price { 1.5 }
|
15
|
+
estimated_tax { 1.5 }
|
16
|
+
end
|
17
|
+
end
|
@@ -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 :receipt, class: 'Cats::Core::Receipt' do
|
3
|
+
dispatch
|
4
|
+
quantity { 1.5 }
|
5
|
+
commodity_status { Cats::Core::Commodity::GOOD }
|
6
|
+
status { Cats::Core::Receipt::DRAFT }
|
7
|
+
remark { FFaker::Name.name }
|
8
|
+
prepared_by factory: :user
|
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.17
|
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
|
@@ -226,25 +226,37 @@ files:
|
|
226
226
|
- app/models/cats/core/application_module.rb
|
227
227
|
- app/models/cats/core/application_record.rb
|
228
228
|
- app/models/cats/core/commodity.rb
|
229
|
+
- app/models/cats/core/commodity_allocation.rb
|
229
230
|
- app/models/cats/core/commodity_category.rb
|
230
|
-
- app/models/cats/core/
|
231
|
+
- app/models/cats/core/currency.rb
|
232
|
+
- app/models/cats/core/dispatch.rb
|
233
|
+
- app/models/cats/core/dispatch_transaction.rb
|
234
|
+
- app/models/cats/core/donation.rb
|
231
235
|
- app/models/cats/core/donor.rb
|
236
|
+
- app/models/cats/core/gift_certificate.rb
|
237
|
+
- app/models/cats/core/hrp.rb
|
238
|
+
- app/models/cats/core/hrp_item.rb
|
232
239
|
- app/models/cats/core/location.rb
|
233
240
|
- app/models/cats/core/menu.rb
|
234
241
|
- app/models/cats/core/menu_item.rb
|
235
242
|
- app/models/cats/core/notification.rb
|
243
|
+
- app/models/cats/core/operator.rb
|
236
244
|
- app/models/cats/core/program.rb
|
237
|
-
- app/models/cats/core/
|
245
|
+
- app/models/cats/core/purchase_order.rb
|
246
|
+
- app/models/cats/core/ration.rb
|
247
|
+
- app/models/cats/core/receipt.rb
|
248
|
+
- app/models/cats/core/receipt_transaction.rb
|
238
249
|
- app/models/cats/core/role.rb
|
239
250
|
- app/models/cats/core/role_menu.rb
|
240
251
|
- app/models/cats/core/stack.rb
|
252
|
+
- app/models/cats/core/stack_transaction.rb
|
241
253
|
- app/models/cats/core/stacking_rule.rb
|
242
254
|
- app/models/cats/core/store.rb
|
255
|
+
- app/models/cats/core/supplier.rb
|
256
|
+
- app/models/cats/core/transaction.rb
|
243
257
|
- app/models/cats/core/transporter.rb
|
244
258
|
- app/models/cats/core/unit_of_measure.rb
|
245
259
|
- app/models/cats/core/user.rb
|
246
|
-
- app/models/cats/core/way_bill.rb
|
247
|
-
- app/models/cats/core/way_bill_item.rb
|
248
260
|
- app/notifications/cats/core/simple_notification.rb
|
249
261
|
- app/serializers/cats/core/role_menu_serializer.rb
|
250
262
|
- app/services/cats/core/menu_service.rb
|
@@ -260,18 +272,29 @@ files:
|
|
260
272
|
- db/migrate/20210716124953_create_cats_core_commodity_categories.rb
|
261
273
|
- db/migrate/20210716145125_create_cats_core_unit_of_measures.rb
|
262
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
|
263
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
|
284
|
+
- db/migrate/20210717032602_create_cats_core_gift_certificates.rb
|
285
|
+
- db/migrate/20210717032855_create_cats_core_purchase_orders.rb
|
264
286
|
- db/migrate/20210717033223_create_cats_core_commodities.rb
|
265
|
-
- db/migrate/20210717043620_create_cats_core_locations.rb
|
266
287
|
- db/migrate/20210717140855_create_cats_core_stores.rb
|
267
288
|
- db/migrate/20210717171101_create_cats_core_stacks.rb
|
268
289
|
- db/migrate/20210718042749_create_cats_core_transporters.rb
|
269
|
-
- db/migrate/
|
270
|
-
- db/migrate/
|
271
|
-
- db/migrate/
|
290
|
+
- db/migrate/20210718042823_create_cats_core_commodity_allocations.rb
|
291
|
+
- db/migrate/20210718045516_create_cats_core_dispatches.rb
|
292
|
+
- db/migrate/20210718202957_create_cats_core_dispatch_transactions.rb
|
272
293
|
- db/migrate/20210719133710_create_cats_core_stacking_rules.rb
|
273
294
|
- db/migrate/20210724074657_create_cats_core_notifications.rb
|
274
|
-
- db/migrate/
|
295
|
+
- db/migrate/20210727074646_create_cats_core_receipts.rb
|
296
|
+
- db/migrate/20210814160628_create_cats_core_receipt_transactions.rb
|
297
|
+
- db/migrate/20210814175406_create_cats_core_stack_transactions.rb
|
275
298
|
- lib/cats/core.rb
|
276
299
|
- lib/cats/core/engine.rb
|
277
300
|
- lib/cats/core/version.rb
|
@@ -279,25 +302,36 @@ files:
|
|
279
302
|
- lib/tasks/cats_core_tasks.rake
|
280
303
|
- spec/factories/cats/core/application_modules.rb
|
281
304
|
- spec/factories/cats/core/commodities.rb
|
305
|
+
- spec/factories/cats/core/commodity_allocations.rb
|
282
306
|
- spec/factories/cats/core/commodity_categories.rb
|
283
|
-
- spec/factories/cats/core/
|
307
|
+
- spec/factories/cats/core/currencies.rb
|
308
|
+
- spec/factories/cats/core/dispatch_transactions.rb
|
309
|
+
- spec/factories/cats/core/dispatches.rb
|
310
|
+
- spec/factories/cats/core/donations.rb
|
284
311
|
- spec/factories/cats/core/donors.rb
|
312
|
+
- spec/factories/cats/core/gift_certificates.rb
|
313
|
+
- spec/factories/cats/core/hrp_items.rb
|
314
|
+
- spec/factories/cats/core/hrps.rb
|
285
315
|
- spec/factories/cats/core/locations.rb
|
286
316
|
- spec/factories/cats/core/menu_items.rb
|
287
317
|
- spec/factories/cats/core/menus.rb
|
288
318
|
- spec/factories/cats/core/notifications.rb
|
319
|
+
- spec/factories/cats/core/operators.rb
|
289
320
|
- spec/factories/cats/core/programs.rb
|
290
|
-
- spec/factories/cats/core/
|
321
|
+
- spec/factories/cats/core/purchase_orders.rb
|
322
|
+
- spec/factories/cats/core/rations.rb
|
323
|
+
- spec/factories/cats/core/receipt_transactions.rb
|
324
|
+
- spec/factories/cats/core/receipts.rb
|
291
325
|
- spec/factories/cats/core/role_menus.rb
|
292
326
|
- spec/factories/cats/core/roles.rb
|
327
|
+
- spec/factories/cats/core/stack_transactions.rb
|
293
328
|
- spec/factories/cats/core/stacking_rules.rb
|
294
329
|
- spec/factories/cats/core/stacks.rb
|
295
330
|
- spec/factories/cats/core/stores.rb
|
331
|
+
- spec/factories/cats/core/suppliers.rb
|
296
332
|
- spec/factories/cats/core/transporters.rb
|
297
333
|
- spec/factories/cats/core/unit_of_measures.rb
|
298
334
|
- spec/factories/cats/core/users.rb
|
299
|
-
- spec/factories/cats/core/way_bill_items.rb
|
300
|
-
- spec/factories/cats/core/way_bills.rb
|
301
335
|
homepage: http://cats.ndrmcapps.org
|
302
336
|
licenses:
|
303
337
|
- MIT
|