Skip to content

Commit

Permalink
Add currency to service template.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfu committed May 20, 2019
1 parent 54bc9a8 commit 43bc02d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/service_template.rb
Expand Up @@ -63,6 +63,7 @@ class ServiceTemplate < ApplicationRecord

belongs_to :service_template_catalog
belongs_to :zone
belongs_to :currency, :class_name => "ChargebackRateDetailCurrency", :inverse_of => false

has_many :dialogs, -> { distinct }, :through => :resource_actions
has_many :miq_schedules, :as => :resource, :dependent => :destroy
Expand Down

0 comments on commit 43bc02d

Please sign in to comment.