Project

General

Profile

Edit Copy Actions

Feature #11789

open

working on logs creation in promocode,couponcode,menuitems

Added by Aruna Prasanna 4 days ago. Updated 4 days ago.

Status:
In Progress
Priority:
Normal
Start date:
10/29/2026
Due date:
10/29/2026 (4 days late)
% Done:

100%

Estimated time:
8:00 h
Spent time:

Description

  1. 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.


Add

Subtasks


Add

Related issues

Edit Copy Actions

Also available in: Atom PDF