mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
2 lines
131 B
Ruby
2 lines
131 B
Ruby
json.extract! @coupon, :id, :code, :type, :percent_off
|
|
json.amount_off (@coupon.amount_off / 100.00) unless @coupon.amount_off.nil? |