diff --git a/app/models/training.rb b/app/models/training.rb index 8bb9c6d3..8a1cc0c9 100644 --- a/app/models/training.rb +++ b/app/models/training.rb @@ -38,7 +38,7 @@ class Training < ActiveRecord::Base # 三人以上 8折 num >= 3 ? 3000.0 * 0.8 * num : 3000.0 * num when 4 then - 700.0 * num + 500.0 * num else raise ArgumentError end