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,3 +1,5 @@
#primary key - need to be unique generated for multiple shops
class Sale < ApplicationRecord
#before_create :generate_receipt_no
belongs_to :cashier, :optional => true