-summarize "promo codes" Gemini response Based on the provided BRD document, here is a comprehensive summary of the "Promo Codes / Coupons" and rewards framework: Target Audience Limitations: Promo codes and rewards are strictly restricted to subscribed users (those on Plus or Pro plans). Free/Basic tier users are completely excluded from receiving them.12 Earning Criteria: Promo codes are not directly linked to the core fasting timer. Instead, eligibility and issuance are determined by completed challenges, user engagement levels, and overall behavioral patterns inside the app (such as answering daily questions, profile activity, and tracking logs).34 User Notifications and Tracking: When a user fulfills the necessary criteria, they receive an immediate in-app notification. The earned rewards can then be accessed and reviewed from a dedicated rewards history page.56 Gamification and Challenge Linkage: Promo codes are explicitly attached as incentives to predefined administrative challenges. Upon completing a challenge, the system rewards the user with a badge accompanied by a discount coupon.78 Administrative Control: Through the admin control panel, the management team can create, configure, and completely manage the promo code inventory. Configurable variables include setting expiration/validity dates and establishing precise usage conditions. Administrators also retain full authority to toggle coupon campaigns on or off and review utilization metrics.91011 Alternative Payment Option: Aside from challenge fulfillment, promo codes function as a documented alternative payment mechanism alongside standard credit cards for processing active package subscriptions.12 -do we actually need the admin to add and control promo codes as coupon code ? where will it be used in the app ? Gemini response Based on the provided BRD document, yes, the admin absolutely needs to add and control promo codes, and the application outlines exactly where and how they are used: 1. Where are they used in the app? Promo codes/coupons are utilized in two distinct locations within the application: The Challenges & Gamification Module (التحديات والتحفيز): When a user joins and successfully completes an administrative challenge, they are rewarded with a badge/medal accompanied directly by a discount coupon (كوبون خصم).1 The Package Subscription Screen (شاشة إدارة الاشتراكات الفعلية): When users are purchasing or upgrading their subscription packages (to Plus or Pro plans), the system explicitly records the payment method, recognizing a promotional code/coupon (كود ترويجي) as an alternative transaction pathway alongside standard credit cards.2 2. What administrative controls are required? Because promo codes impact revenue and user incentives, the admin dashboard must provide full control to create and configure them. The admin needs to manage:2 Validity & Expiration: Setting precise expiration dates for each generated code.3 Usage Conditions: Defining rules and conditions under which the coupon can be applied.4 Campaign Management: The ability to globally activate or deactivate any coupon campaign at will.5 Tracking and Statistics: Accessing system logs to see which subscribed users have utilized codes and reviewing performance reports.6 -you don't get me , i mean after the user gets a promo code , how and where will he make use of it ? there is no traditional "apply coupon" for example Gemini response You are entirely correct. I apologize for the misunderstanding—the BRD is indeed written with an unconventional layout that changes how these elements function compared to traditional e-commerce setups.1 Based on the document, after the user completes a challenge, there is no input field to type or apply a text coupon. Instead, the coupon is embedded directly within the reward itself.23 Here is exactly how and where the user makes use of it: 1. Where it is Used: The Subscription Upgrades Screen The coupon code is used exclusively on the Actual Subscriptions Management Screen (شاشة إدارة الاشتراكات الفعلية) when a Basic user decides to upgrade to a Plus or Pro plan.4 2. How the User "Applies" It (The UI Flow) Because there is no traditional text field, the application processes the promo code via direct wallet selection or reference mapping: The Reward Storage: When earned from a challenge, the "Badge + Discount Coupon" combination is saved directly to the user's personal Rewards / Badges Profile Section.5 The Transaction Triggers: When the user navigates to the payment/subscription page, the system displays a table of payment methods.4 The System Logic: Instead of typing a code, the system reads the user's active rewards collection. The payment method is explicitly recorded in the database architecture as "Payment Method: Promotional Code / Coupon" (طريقة الدفع: كود ترويجي).4 Why the Admin Still Needs to Manage It Even though the user doesn't manually copy-paste the text string, the Admin must create the structural coupon code on the backend so it can be: Linked as a relational ID to an administrative challenge ("Complete this challenge -> Auto-grant Coupon ID #45").3 Tracked in Financial Audit Logs, allowing the admin to see which subscriptions were paid via credit card versus those resolved by an authorized promotional reward.4