feat(topup): add expiry notification handling and SMS notification task

This commit is contained in:
2025-07-05 14:33:10 +05:00
parent 6fb70e82a3
commit 6ec31023c7
3 changed files with 77 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class Topup(models.Model):
paid_at = models.DateTimeField(null=True, blank=True)
mib_reference = models.CharField(default="", null=True, blank=True)
expires_at = models.DateTimeField(null=True, blank=True)
expiry_notification_sent = models.BooleanField(default=False)
created_at = models.DateTimeField(default=timezone.now)
updated_at = models.DateTimeField(auto_now=True)