add alt name to order and sale items and update seeds

This commit is contained in:
Yan
2017-06-30 16:00:03 +06:30
parent fd0ae922eb
commit b0bec2afc4
9 changed files with 24 additions and 16 deletions

View File

@@ -148,6 +148,7 @@ class Sale < ApplicationRecord
#pull
sale_item.product_code = item.item_code
sale_item.product_name = item.item_name
sale_item.product_alt_name = item.alt_name
sale_item.account_id = item.account_id
sale_item.remark = item.remark