Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Order History Page with Status Tags for Admin #876

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

IkkiOcean
Copy link
Contributor

Description:

This PR introduces an order history page specifically designed for admins. The page will display a list of all orders with status tags such as "Pending," "Complement," "Processing," "Completed," and others. These tags will help admins easily track the progress and status of each order in the system.

The page includes:

  • A table of orders with detailed status.
  • Status tags (e.g., Pending, Processing, Complement, Completed) displayed next to each order.
  • Sorting and filtering options to view orders by specific statuses or other criteria.

Changes:

1. Order History Page:

  • A new page has been created to display a history of all orders placed on the platform. The page is accessible to admins only.
  • Each order is displayed with:
    • Order ID
    • Customer Name
    • Date of Order
    • Status Tag (e.g., Pending, Complement, Processing, Completed)
    • Total Price
    • Actions (e.g., view details, update status)

2. Status Tags:

  • Orders are tagged with various status labels, which help to easily identify the stage of the order (e.g., Pending, Processing, Complement, Completed).
  • The statuses are color-coded for easy identification.

3. Filtering & Sorting:

  • Admins can filter orders by their current status or search for specific orders.
  • Orders can be sorted based on order date, customer name, and order status.

4. Admin Access:

  • The page is designed exclusively for admin users. Access control has been implemented to ensure that only users with admin privileges can view this page.

Related Issues:

Video:

er.mov

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agro-tech-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 4:50pm

Copy link
Contributor

github-actions bot commented Nov 8, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@manikumarreddyu manikumarreddyu merged commit 0ef4d6a into manikumarreddyu:main Nov 8, 2024
4 checks passed
Copy link
Contributor

github-actions bot commented Nov 8, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Order History Page for Admin
2 participants