Feature #11789
openworking on logs creation in promocode,couponcode,menuitems
100%
Description
- Work Completed Today
1. Promo Code Action History
- Implemented action history tracking for promo code creation, updates, activation, deactivation, deletion, restoration, and marketing campaigns.
- Added a backend API to retrieve promo code action history with role-based access control.
- Added an Action History button and dialog in the frontend to display user details, roles, statuses, and timestamps.
2. Coupon Action History
- Implemented action history tracking for coupon creation, updates, deletion, restoration, and bulk email, SMS, and WhatsApp campaigns.
- Added a backend API to retrieve coupon action history with support for existing coupons.
- Added Action History buttons and a dialog in the frontend to display coupon activity details.
3. Menu Item Action History
- Implemented action history tracking for menu item deletion, restoration, and bulk deletion, including deletion reasons and user details.
- Added a backend API to retrieve menu item action history without affecting menu listing performance.
- Added Action History buttons for active and deleted menu items.
- Updated the menu item edit dialog to load action history through the dedicated API.
- Enhanced the action history component to display restoration activities with appropriate icons and status indicators.
4. Bug Fixes and Code Improvements
- Fixed a missing JSX closing tag issue in the menu page that caused a Vite compilation error.
- Fixed TypeScript scope errors related to performer details in menu category and subcategory deletion and restoration methods.
- Ensured audit logs are recorded for the implemented actions while maintaining existing POS and checkout functionality.
Subtasks
Related issues
Updated by Aruna Prasanna 4 days ago
- Subject changed from working on logs reation to working on logs creation in promocode,couponcode,menuitems
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 100