Project

General

Profile

Edit Copy Actions

Bug #4453

open

I am working on edit mode in Preorder creation

Added by Pavan Kumar Murala about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
10/14/2025
Due date:
10/14/2025 (56 days late)
% Done:

100%

Estimated time:
18:00 h
Spent time:
Tested Date:
Raised by Tester:
Page/ Module (POS):

Description

  • Added “Edit” button in the Preorder List table under the Actions column.
  • Passed the selected preorder’s _id to the edit mode for fetching specific preorder details.
  • Implemented useEffect logic in the Preorder Creation page to:
  • Fetch preorder details based on the passed _id.
  • Automatically populate all related fields in edit mode.
  • Handled Product Details section with two product detail modes:
  • Same details for all products.
  • Different details for each product.
  • Fixed pagination issue — ensured each page displays the correct set of products in Product Details.
  • Stored page-wise product details to maintain state consistency during navigation between pages.
  • Integrated edit mode data binding — all product details now load correctly when editing an existing preorder.
  • Split combined date-time fields into separate inputs:
  • Pickup From Date/Time → expectedAvailabilityStartDate + availabilityFromTime
  • Pickup To Date/Time → expectedAvailabilityEndDate + availabilityToTime
  • Implemented logic for merging and updating split date/time fields in edit mode.
  • Handled missing date/time values in edit mode —
  • When new values are not provided (onChange not triggered),
  • Used previously saved date and time values as fallback.
  • Ensured correct handling when backend doesn’t return split values.
  • Added Active/Inactive toggle buttons for Selected Products in edit mode.
  • Tested full preorder edit flow — verified update and save operations with correct date/time handling.
  • Team discussion with Sreenu Sir (30 mins) about Preorder Edit Mode implementation and logic improvements.
  • Preorder Edit Mode technical meeting (40 mins) with the team — discussed product pagination, date split logic, and field update behavior.

Add

Subtasks


Add

Related issues

Updated by Pavan Kumar Murala about 2 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100
  • Estimated time changed from 8:00 h to 18:00 h
  1. Added “Edit” button in the Preorder List table under the Actions column.
  2. Passed the selected preorder’s _id to the edit mode for fetching specific preorder details.
  3. Implemented useEffect logic in the Preorder Creation page to:
  4. Fetch preorder details based on the passed _id.
  5. Automatically populate all related fields in edit mode.
  6. Handled Product Details section with two product detail modes:
  7. Same details for all products.
  8. Different details for each product.
  9. Fixed pagination issue — ensured each page displays the correct set of products in Product Details.
  10. Stored page-wise product details to maintain state consistency during navigation between pages.
  11. Integrated edit mode data binding — all product details now load correctly when editing an existing preorder.
  12. Split combined date-time fields into separate inputs:
  13. Pickup From Date/Time → expectedAvailabilityStartDate + availabilityFromTime
  14. Pickup To Date/Time → expectedAvailabilityEndDate + availabilityToTime
  15. Implemented logic for merging and updating split date/time fields in edit mode.
  16. Handled missing date/time values in edit mode —
  17. When new values are not provided (onChange not triggered),
  18. Used previously saved date and time values as fallback.
  19. Ensured correct handling when backend doesn’t return split values.
  20. Added Active/Inactive toggle buttons for Selected Products in edit mode.
  21. Tested full preorder edit flow — verified update and save operations with correct date/time handling.
  22. Team discussion with Sreenu Sir (30 mins) about Preorder Edit Mode implementation and logic improvements.
  23. Preorder Edit Mode technical meeting (40 mins) with the team — discussed product pagination, date split logic, and field update behavior.
Actions #2

Updated by Pavan Kumar Murala about 2 months ago

  • Description updated (diff)
  • Status changed from In Progress to Resolved
Edit Copy Actions

Also available in: Atom PDF