Refactor promo code creation process and remove unnecessary handlers
- Updated the promo code creation flow to a four-step process, enhancing user guidance and validation. - Removed the optional description step from the promo code creation, streamlining the process. - Updated localization files to reflect changes in the promo code creation steps and success messages. - Enhanced error handling and logging for panel statistics retrieval in the admin statistics handler.
This commit is contained in:
@@ -10,9 +10,7 @@ class AdminStates(StatesGroup):
|
||||
waiting_for_promo_bonus_days = State()
|
||||
waiting_for_promo_max_activations = State()
|
||||
waiting_for_promo_validity_days = State()
|
||||
waiting_for_promo_description = State()
|
||||
waiting_for_promo_edit_details = State()
|
||||
waiting_for_bulk_promo_details = State()
|
||||
waiting_for_bulk_promo_quantity = State()
|
||||
waiting_for_bulk_promo_bonus_days = State()
|
||||
waiting_for_bulk_promo_max_activations = State()
|
||||
|
||||
Reference in New Issue
Block a user