Skip to content

Commit

Permalink
fixup! Update Pro Subscription discount calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Nov 11, 2024
1 parent 2329674 commit 04f5ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/alaveteli_pro/subscription/discount.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def discounted_amount
end

def discounted?
discounted_amount < plan.amount
reduction > 0
end

def discount_name
Expand Down

0 comments on commit 04f5ee6

Please sign in to comment.