mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
6 lines
172 B
Ruby
6 lines
172 B
Ruby
json.extract! trainings_pricing, :id, :group_id, :training_id
|
|
json.amount trainings_pricing.amount / 100.0
|
|
json.training do
|
|
json.name trainings_pricing.training.name
|
|
end
|