inventory

This commit is contained in:
Nweni
2017-08-30 14:19:24 +06:30
parent c9998c0b65
commit cabc78c373
21 changed files with 328 additions and 138 deletions

View File

@@ -1,7 +1,7 @@
class CreateStockCheckItems < ActiveRecord::Migration[5.1]
def change
create_table :stock_check_items do |t|
t.integer :stock_check_id, :null => false
t.integer :stock_check_id
t.string :item_code, :null => false
t.integer :stock_count, :default => 0
t.integer :stock_journal_id