sgx_jmp.rb 🔗
@@ -193,7 +193,7 @@ def catchup_notify_low_balance(db)
end
end
-def catchup_notify_possible_renewal
+def catchup_notify_possible_renewal(db)
db.query(<<~SQL).each do |c|
SELECT customer_id
FROM customer_plans INNER JOIN balances USING (customer_id)