shop_setup branch

This commit is contained in:
Min Zeya Phyo
2017-05-30 23:46:22 +08:00
parent 9361e24a8a
commit 516b854fba
17 changed files with 79 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
class SaleItem < ApplicationRecord
#primary key - need to be unique generated for multiple shops
belongs_to :sale
#compute items - discount, tax, price_change