bin/billing_monthly_cronjob 🔗
@@ -140,7 +140,7 @@ class ExpiredCustomer
)
stats.add(:renewed, 1)
- stats.add(:revenue, plan.price)
+ stats.add(:revenue, @plan.price)
end
class WithLowBalance < ExpiredCustomer
Stephen Paul Weber created
bin/billing_monthly_cronjob | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -140,7 +140,7 @@ class ExpiredCustomer
)
stats.add(:renewed, 1)
- stats.add(:revenue, plan.price)
+ stats.add(:revenue, @plan.price)
end
class WithLowBalance < ExpiredCustomer