Project

General

Profile

Edit Copy Actions

Bug #7482

open

bugs fix on create request calcualtion for a specific service, download data fixes, to create a downlad api for vendors

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

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

100%

Estimated time:
8:00 h
Spent time:
Tested Date:
02/04/2026
Raised by Tester:

Add

Subtasks


Add

Related issues

Updated by Ajit A about 1 month ago

  • Status changed from New to In Progress

Started

Actions #2

Updated by Ajit A about 1 month ago

  • Subject changed from bugs fix on create request calcualtion for a specific service to bugs fix on create request calcualtion for a specific service, download data fixes, to create a downlad api for vendors
  • % Done changed from 0 to 40

Updated by Ajit A about 1 month ago

  • % Done changed from 40 to 70

Frontend Changes Summary
Created reusable GlobalFilterBar component:
New component at afc_react_fe/src/global/GlobalFilterBar.tsx
Supports search, status, sort, date range, and download filters
Responsive (mobile stacked, desktop horizontal)
Configurable: hide/show filters, custom widths, alignment options
Refactored all list pages to use GlobalFilterBar:
Replaced custom filter implementations on:
Invoices (/invoices)
Services (/services)
Product Categories (/products/categories)
Products (/products)
Users (/users)
Requests (/requests)
Quotes (/quotes)
Jobs (/jobs)
Enquiry (/enquiry)
Customers (/customers)
Standardized filter UI/UX across pages
Added date filter to Users page:
Integrated date range filtering in Users list
Connected to backend API with dateFrom/dateTo parameters
Included in export functionality
Updated Dashboard:
Replaced DateRangeFilter with GlobalFilterBar
Configured to show only date filter, left-aligned
Fixed SelectField component:
Resolved "Allatus" display issue when "All" is selected
Properly handles empty values with displayEmpty prop

Backend Changes Summary
Added date filtering support to Users API:
Updated getAllUsers endpoint in user-controller.js
Added dateFrom and dateTo query parameter support
Filters users by createdAt field within specified date range
Supports both date range and single date filtering
Sets end date to end of day (23:59:59.999) for inclusive filtering
Fixed invoice paid filter:
Updated invoice status filter to include "complete" status when filtering for "paid"
Ensures fully paid invoices (status="complete") are included in paid filter results

Actions #4

Updated by Ajit A about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100
Actions #5

Updated by Ajit A about 1 month ago

  • Parent task deleted (#7146)
Edit Copy Actions

Also available in: Atom PDF