add validation for payment method,print_setting,tax_profile
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
class PaymentMethodSetting < ApplicationRecord
|
||||
# validations
|
||||
validates_presence_of :payment_method, :gateway_communication_type, :gateway_url, :auth_token, :merchant_account_id
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user