update commission and seed for font
This commit is contained in:
@@ -9,7 +9,7 @@ class Commission < ApplicationRecord
|
||||
has_many :product_commissions
|
||||
|
||||
# validations
|
||||
validates_presence_of :commission_type, :amount
|
||||
validates_presence_of :name, :commission_type, :amount
|
||||
|
||||
private
|
||||
def generate_custom_id
|
||||
|
||||
Reference in New Issue
Block a user