tax profiles

This commit is contained in:
phyusin
2018-03-16 10:57:32 +06:30
parent 8cea60ec02
commit acc5d737fa
9 changed files with 36 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
class TaxProfile < ApplicationRecord
default_scope { order('order_by asc') }
# validations
validates_presence_of :name, :rate
validates_presence_of :name, :rate, :group_type
end