modify training ec fee to 500

dev_library
p31729568 6 years ago
parent fbda6b378d
commit a4aa4b4029

@ -38,7 +38,7 @@ class Training < ActiveRecord::Base
# 三人以上 8折 # 三人以上 8折
num >= 3 ? 3000.0 * 0.8 * num : 3000.0 * num num >= 3 ? 3000.0 * 0.8 * num : 3000.0 * num
when 4 then when 4 then
700.0 * num 500.0 * num
else else
raise ArgumentError raise ArgumentError
end end

Loading…
Cancel
Save