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 13, 2019
1 parent 54bc9a8 commit a6d1ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/service_template.rb
Original file line number Diff line number Diff line change
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 a6d1ff6

Please sign in to comment.