commission report

This commit is contained in:
Zin Lin Phyo
2017-08-29 18:36:46 +06:30
parent 63d97cce26
commit f03d8654e7
15 changed files with 412 additions and 773 deletions

View File

@@ -9,7 +9,6 @@ class Commission < ApplicationRecord
has_many :product_commissions
private
def generate_custom_id
self.commission_id = SeedGenerator.generate_id(self.class.name, 'COM')
end