1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/models/trainings_pricing.rb

12 lines
239 B
Ruby
Raw Normal View History

2020-03-30 11:33:12 +02:00
# frozen_string_literal: true
# TrainingsPricing configures the price of a Training session, per Group
2020-03-25 10:16:47 +01:00
class TrainingsPricing < ApplicationRecord
2016-03-23 18:39:41 +01:00
belongs_to :training
belongs_to :group
def amount_by_plan(plan)
amount
end
end