Project

General

Profile

Edit Copy Actions

Bug #7146

open

To test the entire application to check any bugs and need to fix

Added by Ajit A about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/05/2026
Due date:
% Done:

100%

Estimated time:
16:00 h
Spent time:
Tested Date:
01/28/2026
Raised by Tester:

Add

Subtasks


Add

Related issues

Updated by Ajit A about 2 months ago

started

Updated by Ajit A about 2 months ago

  • Tracker changed from Testing to Bug
  • Status changed from New to In Progress
  • % Done changed from 0 to 30

backend changes :
*feat: add action history tracking for request status updates and site visit operations, request templae api
*feat: enhance request service date/ObjectId validation and site visit processing

frontend changes:
*feat: add formula evaluation utilities and refactor service/request UI components
*feeat: add request template,sitevisit updation flow.

Actions #3

Updated by Ajit A about 2 months ago

  • Estimated time changed from 8:00 h to 16:00 h

Updated by Ajit A about 2 months ago

Frontend:

Fixed site visit details mapping after request creation so visitedBy, preferred date, and instructions display correctly.
Create/Edit Request UX:
Auto-open service dropdown after selecting a customer.
Live validation on blur/change to remove stale error messages.
Performance optimization for sides/side-length inputs (lightweight state updates + debounced heavy calculations).
Edit mode: show loading while updating and auto-open first service accordion.
Templates: apply services only (never customer); allow applying template even without customer selected.
Site visit preferred date: time picker defaults to 9:00 AM without auto-selecting date.
Quotes: fixed Quote List skeleton loading (hook exposes pageLoading/tableLoading; skeleton now shows on initial load and table skeleton on refetch).

Backend:

Request creation: merged incoming siteVisits[] into selectedService[] so scheduled-site-visit API/UI receive correct data.
Scheduled site visit fetch: populate selectedService.visitedBy with user fields (username/firstname/lastname/email/id).
Staff API: /api/v1/afc-user/staff now returns only admin/manager roles (excluding deleted).
Renamed controller export getfeildstaff → getStaff and updated route.

Updated by Ajit A about 1 month ago

resumed

Updated by Ajit A about 1 month ago

  • % Done changed from 30 to 50

Changes Made
1. UI/UX - Green Theme Application
Fixed hover colors: Replaced blue hover states with green theme across all input fields
Radio buttons: Applied green theme (#7FC200) for checked, hover, and focus states
InputNumber components: Applied green hover (#9FD933) and focus (#7FC200) states
Native radio inputs: Applied green theme for consistency
All input fields: Consistent green hover and focus states throughout the form
2. Feature Enhancement - Template Application
Auto-apply customer from template: When applying a request template, if no customer is selected, the customer from the template is automatically applied
Smart notification: Shows appropriate success/info messages based on whether customer and/or services were applied
Fallback handling: Handles cases where template's customer is not found in current client list
3. Files Modified
afc_react_fe/src/features/requests/pages/Request.css
Added CSS rules for Radio buttons (Ant Design and native)
Added CSS rules for InputNumber components
Ensured all hover states use light green (#9FD933)
Ensured all focus states use green (#7FC200) with shadow
afc_react_fe/src/features/requests/pages/CreateorEditRequest.tsx
Updated applyTemplate function to check for selected customer
Added logic to apply customer from template if none selected
Improved notification messages for better user feedback
afc_react_fe/src/features/requests/components/subcomponents/ServiceDetailsCard.tsx
Fixed remaining blue focus colors to green theme
Updated Tailwind classes from focus:border-blue-500 to focus:border-[#7FC200]
afc_react_fe/src/features/requests/components/subcomponents/SiteVisitForm.tsx
Added MutationObserver to override Ant Design's inline blue styles
Applied green theme to DatePicker and Select components
Technical Details
CSS Specificity: Used !important flags and specific selectors to override Ant Design's default blue theme
JavaScript Override: Added MutationObserver in SiteVisitForm to handle inline styles applied by Ant Design
Theme Consistency: All input fields now follow the app's primary green color (#7FC200) for focus states

Backedn changes : fixed create product api,delete customer , quotaion checks ,

Actions #7

Updated by Ajit A about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions #8

Updated by Ajit A about 1 month ago

  • Subtask #7482 added
Actions #9

Updated by Ajit A about 1 month ago

  • Subtask deleted (#7482)
Edit Copy Actions

Also available in: Atom PDF