Browse Source

Set the correct SMS limit when cancelling a paid plan.

pull/342/head
Pēteris Caune 5 years ago
parent
commit
3e25e5c242
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/payments/admin.py

+ 1
- 1
hc/payments/admin.py View File

@ -51,7 +51,7 @@ class SubsAdmin(admin.ModelAdmin):
profile = Profile.objects.for_user(sub.user) profile = Profile.objects.for_user(sub.user)
profile.check_limit = 20 profile.check_limit = 20
profile.team_limit = 2 profile.team_limit = 2
profile.sms_limit = 0
profile.sms_limit = 5
profile.save() profile.save()
self.message_user(request, "%d subscriptions cancelled" % qs.count()) self.message_user(request, "%d subscriptions cancelled" % qs.count())

Loading…
Cancel
Save