Update promo code success message and enhance subscription service settings

- Revised the success message for promo code creation to include updated variable names for clarity in the response.
- Added a new setting to control notification behavior for Tribute payments, improving customization options for subscription management.
- Updated Russian localization for admin panel buttons to enhance clarity and consistency in user interface elements.
This commit is contained in:
machka-pasla
2025-08-05 14:43:19 +03:00
parent 74719669fb
commit c5f41a261b
4 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ class SubscriptionService:
"status_from_panel": "ACTIVE",
"traffic_limit_bytes": self.settings.user_traffic_limit_bytes,
"provider": provider,
"skip_notifications": provider == "tribute",
"skip_notifications": provider == "tribute" and self.settings.TRIBUTE_SKIP_NOTIFICATIONS,
}
try:
new_or_updated_sub = await subscription_dal.upsert_subscription(